Object-relational Mapping (orm) Library For Java - Hibernate

Object-relational Mapping (orm) Library For Java - Hibernate

By:


For java development you can find many open source frameworks including hibernate, Struts, Spring, Lucerne, Quartz, Ant, , Cruise Control, jUnit, DbUnit etc. But if you want to object relation mapping tools with you java applications to your database and easy to develop any web application then hibernate is one of the best option.

As I said earlier that Hibernate is Open source frameworks means you can free download it from internet coz it is under the GNU Lesser General Public License.

Generally Hibernate is used for mapping java classed to database tables. So if you want dynamic website and you want fetch or store your website data in your own database then you can use hibernate for making this type of web applications. You can also generate you SQL query to get preferred result as well as hibernate supports data query and retrieval facilities. Java developers can relive data persistence related programming tasks with the help of hibernate frameworks. Many outsourcing java software development firm in India used hibernate for open source as well as commercial project development. Also you can use this framework for standalone java application or J2EE applications which use servlets or EJB session beans.

Hibernate Framework Components

Hibernate software contains following Components

  • Hibernate Core for object-relational mapping solution

  • Hibernate Annotations for transformation of data between object oriented models to relational database

  • Hibernate EntityManager used with Hibernate Annotations

  • Hibernate Envers for auditing and versioning of persistent classes

  • Hibernate Shards for multiple relational databases partitioning

  • Hibernate Search to find search library of Apache Lucene

  • Hibernate Tools

  • Hibernate Validator

  • Hibernate Metamodel Generator

  • NHibernate object-relational mapping solution for the .NET based projects


Main features of Java Hibernate

  • Transparent persistence

  • Automatic Dirty Checking

  • Detached object support

  • Collection instance management

  • Object-oriented query language with native SQL query

  • Also support polymorphic queries

  • Object - Relational mappings

  • Indexed collections

  • Bidirectional associations

  • Multiple objects to single row mapping

  • Automatic primary key generation for secure database management

  • Also Support for composite keys

  • XML mapping documents

  • XDoclet support

  • Hibernate Dual-Layer Cache Architecture for Non-blocking data access and Session level cache

  • It Support for optimistic locking with versioning and time stamping

  • SQL generated at system initialization time

  • J2EE integration with JMX support and also JCA support


Hibernate Advantages

  1. Most of developers preferred hibernate because it supports both object oriented and relational database

  2. It provides transparent persistence so developers not need to write custom code to map database tables

  3. Its support SQL query language as well as polymorphic queries.

  4. Hibernate support mapping itself and mapping between tables and application object is done in xml file so if you want to change in database file then you need to change in this xml file property

  5. In hibernate relational values automatic moved in cache as result of query


Due to its effective features for mapping to database and benefits Hibernate is first choice to java developers to making any dynamic web applications as well software applicatoins.


About the Author:
He has been working as Sr. Java Developers in India based Java Software Development firms. He would like to share knowledge java web development with J2EE application development with the help of Struts, spring frameworks.



Article Originally Published On: http://www.articlesnatch.com


|

Loading...
Related....
Videos...

Recent Software Articles

Comments

Still can't find what you are looking for? Search for it!

Loading

Copyright 2005-2011 ArticleSnatch, LLC - All Rights Reserved.
Privacy Policy | Terms of Service.