Hibernate是一種JAVA語言下的物件關係映射解決方案。 它是使用GNU寬通用公共許可證發行的自由、開源的軟體。 它為物件導向的領域模型到傳統的關聯式資料庫的映射,提供了一個使用方便的框架。 Hibernate也是目前JAVA開發中最為流行的資料庫持久層框架,現已歸JBOSS所有。
它的設計目標是將軟體HTTP://www.aliyun.com/zixun/aggregation/7155.html">開發人員從大量相同的資料持久層相關程式設計工作中解放出來。 無論是從設計草案還是從一個遺留資料庫開始,開發人員都可以採用Hibernate。
Hibernate不僅負責從JAVA類到資料庫表的映射(還包括從JAVA資料類型到SQL資料類型的映射),還提供了物件導向的資料查詢檢索機制,從而極大地縮短的手動處理SQL和JDBC上的開發時間。
Hibernate Core 4.0.0.Alpha1更新如下:
· The major focus for this first Alpha release was to put the concept of ServiceRegistry into place as well as to start migr ating various stuff to be services within the registry.
· Completely reworked the JDBC and transaction interaction internally, leveraging JdbcCoordinator and TransactionCoordinato r internally.
· Move to use proxies for JDBC objects internally. This is one of the things vetted and tested for a long, long time. Obviously performance is a hug concern here and my findings were that the proxies added very little speed overhead. Why do it? Essentially this allows us to apply consistent behavior in terms of logging, resource tracking and cleanup across the acro ss the various objects and various usage scenarios. It also allows centralization of lots of previously duplicated code.
· Migration to notion of a JtaPlatform providing more complete and consistent set of services over legacy TransactionManager Lookup
· Developed initial support for managing internals of running Hibernate SessionFactory (its services) via JMX. See JmxService for details.
· Removed non-maintained second level cache integrations, hibernate-oscache and hibernate-swarmcache.
· Began removal of deprecated methods scheduled for removal in 4.0