Hibernate Core 4.0.0.Alpha1發佈 JAVA語言物件關係映射解決方案

來源:互聯網
上載者:User
關鍵字 解決方案 Hibernate JAVA語言 物件關係映射

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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.