ganesan
Need for hibernate
1 Answer(s)      6 years and 9 months ago
Posted in : Hibernate
Advertisement
View Answers

September 30, 2008 at 12:16 PM


Hi friend,


Advantages of hibernate :

It is based on object oriented concept like java.
It has better compatibility with java than sql.
In Jdbc we have to mannualy handle exception
We need to open/cose the connection,create/close the statement ,resultset every time.
It uses ORM which is a better solution.
In Jdbc we use .properties file and in hibernate we use .xml file ,which is a better approach.
We use collection,mapping.

Some advanced features of Hibernate are :

It uses Object-oriented query language.
Transparent persistence without byte code processing
Automatic primary key generation
Object/Relational mapping definition
High performance then JDBC


Caching objects : The session is a transaction-level cache of persistent objects.
Executing SQL statements later : The session never issues an INSERT or UPDATE until it is actually needed.
Never updating unmodified objects : Hibernate always knows if an object?s state actually changed, as long as you are inside the same.
Efficient Collection Handling : Hibernate only ever inserts/updates/deletes collection rows that actually changed.
Updating only the modified columns.
Outer join fetching
Lazy collection initialization.

For read hibernate Tutorial and examples in details to visit...

http://www.roseindia.net/hibernate/index.shtml

Thanks











Related Tutorials/Questions & Answers:
Need for hibernate - Hibernate
Need for hibernate  Can anyone say why should we go for hibernate?   Hi friend, Advantages of hibernate : It is based on object.... In Jdbc we have to mannualy handle exception We need to open/cose the connection
Hibernate: need of ORM tools like hibernate
Hibernate: need of ORM tools like hibernate  Why do you need ORM tools like hibernate?   ORM stands for Object/Relational Mapping. Hibernate is open source ORM tool. ORM is technology to access the data from
Advertisements
I need hibernate session factory example.
I need hibernate session factory example.  Hi, I want a simple hibernate session factory example..   hello, Here is a simple Hibernate SessionFactory Example Also go through the Hibernate 4 Thanks
I want to build sessionfactory in hibernate 4. Need help.
I want to build sessionfactory in hibernate 4. Need help.  Hello, I want to build sessionfactory in hibernate 4. Need help
need
need  i need a jsp coding based project plz help me
hibernate
hibernate  hi what are the necessary jar files that we need to set in the classpath to execute a hibernate application
Hibernate
Hibernate  hi sir i need hibernate complete tutorial for download   Hi Friend, Please visit the following link: Hibernate Tutorials Thanks
Need of ORM
Need of ORM  Why do you need ORM tools like hibernate
HIBERNATE
HIBERNATE   What is difference between Jdbc and Hibernate
hibernate
hibernate  what is hibernate flow
hibernate
hibernate  what is hibernate listeners
Hibernate
Hibernate  how to use pagination concept in Hibernate
hibernate
hibernate  what is hibernate why we use
Hibernate
Hibernate  hibernate delete query execution
hibernate
hibernate  please give me the link where i can freely download hibernate software(with dependencies)   Learn hibernate, if you want to learn hibernate, please visit the following link: Hibernate Tutorials
hibernate
hibernate  how to uses optional column in hibernate
hibernate
hibernate   I want to learn how to use hibernate framework in web application . for storing database in our application
hibernate
hibernate   I want to learn how to use hibernate framework in web application . for storing database in our application
hibernate
why hibernate?  why hibernate?   Hibernate: -Hibernate... library. It solves object-relational impedance mismatch problems. Hibernate makes the application development process easy Hibernate saves the development
Hibernate
Hibernate  Please tell me the difference between hibernate and jdbc
hibernate
hibernate  why we should use hibernate projection
hibernate
hibernate  pls give one simple example program for hibernate
Hibernate
Hibernate  How do you handle parent - child tables relationships in hibernate? How do you handle Detach state in hibernate
hibernate
hibernate  how to execute a sequence(in database) from Hibernate program or java program   Please visit the following link: Hibernate Tutorials
hibernate
hibernate  can any one one explain what is hibernate ?   Please visit the following link: Hibernate Tutorials
Hibernate
Hibernate  hello, how to run hibernate program in netbeans?please send me step by step instructions to run hibernate in netbeans
hibernate - Hibernate
hibernate  what is hibernate and how to make a pc hibernating?  Hi friend, Hibernate is based on object oriented concept like java... handle exception We need to open/cose the connection,create/close the statement
Hibernate - Hibernate
Hibernate Features  Hibernate features in eclipse
hibernate
hibernate  how to impot mysql database client jar file into eclipse for hibernate configuration   Hi Friend, Please visit the following link: http://www.roseindia.net/hibernate/runninge-xample.shtml Thanks
HIBERNATE
HIBERNATE  How u connects database using hibernate 3.0? Where you have written the database configuration details
hibernate
hibernate  How to know how many columns changed in a table when we are using hibernate