Hibernate ORM 5.0.7,第七個 bug 修復版

jopen 8年前發布 | 14K 次閱讀


Hibernate是一種Java語言下的對象關系映射解決方案。 它是使用GNU寬通用公共許可證發行的自由、開源的軟件。它為面向對象的領域模型到傳統的關系型數據庫的映射,提供了一個使用方便的框架。Hibernate也是目前Java開發中最為流行的數據庫持久層框架,現已歸JBOSS所有。

它的設計目標是將軟件開發人員從大量相同的數據持久層相關編程工作中解放出來。無論是從設計草案還是從一個遺留數據庫開始,開發人員都可以采用Hibernate。

Hibernate不僅負責從Java類到數據庫表的映射(還包括從Java數據類型到SQL數據類型的映射),還提供了面向對象的數據查詢檢索機制,從而極大地縮短的手動處理SQL和JDBC上的開發時間。

Hibernate ORM 5.0.7,更新內容如下:

** Bug
    * [HHH-4161] - persistence.xml <jar-file> not following JSR220 spec
    * [HHH-9342] - HQL "x member of treat(y as Type).collections" fails to parse
    * [HHH-9356] - jpa converter only applied to high value of cb.between
    * [HHH-9357] - Incorrect SQL generated for Polymorpic Queries involving TYPE() with @Inheritance(strategy=InheritanceType.JOINED)
    * [HHH-9371] - Exception ''Invalid filter-parameter name format" from LoadQueryInfluencers when hql contains colon and filter is enabled.
    * [HHH-10191] - InformationExtractorJdbcDatabaseMetaDataImpl can't handle Oracle function indexes
    * [HHH-10307] - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA
    * [HHH-10383] - IN parameter is not enclosed in parentheses
    * [HHH-10384] - PooledThreadLocalLoOptimizer fails to give uniqe id's for different threads
    * [HHH-10385] - In a @OneToMany association the @JoinColumn foreignKey is not taken into consideration when generating the association database schema
    * [HHH-10386] - In a @ManyToMany assoctiation the @JoinColumn foreignKey is not taken into considertion when generating the association database schema
    * [HHH-10395] - ServiceBootstrappingTest fails if tests are run with hibernate.show_sql=true
    * [HHH-10396] - In a @OneToMany association with @JoinColum the @ForeignKey is not taken into consideration when generating the association database schema
    * [HHH-10405] - <return> elements of <sql-query> are not handled properly when building metadata
    * [HHH-10420] - SchemaExport creates foreign keys too early if across schema
    * [HHH-10421] - Change "native" ID generator for Oracle12cDialect to SequenceStyleGenerator
    * [HHH-10422] - Backport HHH-9983 to fix identity IDs using Oracle12cDialect in 5.0
    * [HHH-10425] - SchemaMigration creates foreign keys too early if across schema
    * [HHH-10432] - hibernate 5.0.6 does not work with Aries JPA 2.3.0
    * [HHH-10437] - NPE in PrimaryKey#addColumn(Column column) when getTable().getNameIdentifier() is null
    * [HHH-10443] - SchemaUpdate and SchemaMigration do not release jdbc connection

** Improvement
    * [HHH-9474] - Perfomance issue with ElementCollection
    * [HHH-10317] - Allow to bind custom types that implement the Collection interface through JPA APIs
    * [HHH-10415] - org.hibernate.cache.infinispan.InfinispanRegionFactory should default the "immutable-entity" to the "entity" cache settings
    * [HHH-10416] - Drop superfluous immutable-entity cache configuration
    * [HHH-10439] - Log  a message which prints the name of the import script being imported

更多內容請看:changelog.txt

下載地址:

http://hibernate.org/orm/downloads/

來自: http://www.oschina.net//news/69859/hibernate-5-0-7

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!