Hibernate Core

Hibernate Core

Hibernate core is the most popular Java ORM persistence tool. It provides automatic and transparent object/relational mapping allowing java objects to persist in a database after the java program exits.

In essence, the developer first provides mapping between fields in the Java classes and columns in the relational database tables, for those Java classes that need to be persisted in the database. The mapping is saved in a configuration file. If Spring Framework is used, that configuration can be conveniently integrated into the Spring bean XML configuration file.

Then the developer can manipulate those Java objects (which are more easily interpreted in the business domain language )in the program and at the same time inserting, updating, deleting, or not affecting the corresponding database tables, depending on whether or the Java objects are attached to a Hibernate session. Transaction management provided by Spring Framework can also conveniently integrate database transaction managed with Hibernate.

For example in a company administration application, employee may be mapped to a relational database table. In the business domain language, a new employee may be recruited, an existing employee's data may be updated, or an existing employee leaves. Correspondingly a new row in the table may be inserted, an existing row updated, or an existing row deleted automatically by database SQL statement(s) generated by Hibernate.

ee also

*nhybernate


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Hibernate (библиотека) — У этого термина существуют и другие значения, см. Hibernate. Hibernate Тип Object Relational Mapping Разработчик Red Hat Написана на Java …   Википедия

  • Hibernate — Développeur Red Hat Dernière version 3.6.7 Final (17 août …   Wikipédia en Français

  • Hibernate (Java) — Infobox Software name = Hibernate developer = Red Hat latest release version = 3.3.1 GA latest release date = release date|2008|09|11 operating system = Cross platform (JVM) latest preview version = latest preview date = platform = Java Virtual… …   Wikipedia

  • Shard (database architecture) — A Shard is a method of horizontal partitioning in a database. Shard database architecture Horizontal partitioning is a design principle whereby rows of a database table are held separately, rather than splitting by columns (as for normalization) …   Wikipedia

  • Java Persistence API — Die Java Persistence API (auch JPA) ist eine Schnittstelle für Java Anwendungen, die die Zuordnung und die Übertragung von Objekten zu Datenbankeinträgen vereinfacht. Sie vereinfacht die Lösung des Problems der objekt relationalen Abbildung, das… …   Deutsch Wikipedia

  • NHibernate — Hibernate Hibernate est un framework open source gérant la persistance des objets en base de données relationnelle. Hibernate est adaptable en termes d architecture, il peut donc être utilisé aussi bien dans un développement client lourd, que… …   Wikipédia en Français

  • Comparison of web application frameworks — This is a comparison of notable web application frameworks. Contents 1 General 1.1 Perl 1.2 PHP 1.3 Java 1.4 Python …   Wikipedia

  • Spring Framework — Infobox Software name = Spring Framework caption = developer = [http://www.springsource.com SpringSource] latest release version = 2.5.5 latest release date = release date|2008|06|23 latest preview version = latest preview date = operating system …   Wikipedia

  • Power management — is a feature of some electrical appliances, especially copiers, computers and computer peripherals such as monitors and printers, that turns off the power or switches the system to a low power state when inactive. One power management standard… …   Wikipedia

  • Сравнение каркасов веб-приложений — Это сравнительная таблица фреймворков веб приложений. Содержание 1 Фреймворки 1.1 ASP.NET 1.2 C++ 1.3 ColdFusion Markup Language (CFML) …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”