Tuesday, August 30, 2011

J2EE Hibernate

Hibernate is the open source persistence technology.


Why we go for Hibernate Technology.

It makes your application independent from databases.
For example . Right now you are using some database engine and you started developing your application with the specified database queries and application is running up.Later on if your customer or client is asking you to migrate your database because of some reason.What you will do as a developer, whether you will start writing up queries for the newly require database engine queries?


In order to prevent this kind of scenario we are going for Hibernate.Hibernate uses java classes that maps with database tables and also it performs create, update, delete and select queries.

So start writing query with Hibernate technology and if you started writing query then your application will become independent.Once if your customer or client is asking you to migrate the database engine then you can simply change the classpath which is about to one to two line of code then the rest for the query, Hibernate will take care of it.
  • Its used to generate the database tables into java class that reduces the development timing
  • It maps the generate java classes with relational database table by configuring the classpath.


For Further Reading,
Hibernate, J2EE

0 comments:

Post a Comment