Hibernate 5.2.2 发布了,Hibernate是一种Java语言下的对象关系映射解决方案。 它是使用GNU宽通用公共许可证发行的自由、开源的软件。它为面向对象的领域模型到传统的关系型数据库的映射,提供了一个使用方便的框架。
一些新特性:
* [HHH-10965] – Add new Query Hint to avoid passing DISTINCT from entity queries to SQL statements
* [HHH-10966] – Document @DiscriminatorValue NULL and NOT_NULL options
* [HHH-10971] – Document flush operation order
一些提升:
* [HHH-8687] – Better exception message for PostgreSQL81Dialect and named REF_CURSOR parameter binding
* [HHH-10531] – JaxbHbmTuplizerType marshalling does not conform hibernate-mapping-4.0.xsd
* [HHH-10532] – Cannot marshall JaxbHbmBasicAttributeType to xml if the “generated” attribute is not specified
* [HHH-10800] – InformixDialect: add support for coalesce(), current_timestamp(), current_date()
* [HHH-10905] – NullPointerException when StatelessSession.get(Class, Serializable, LockMode) called with null LockMode, instead of defaulting to LockMode.NONE
* [HHH-10923] – Upgrade CDI 1.1 and related dependencies to Final
* [HHH-10924] – Replace ConcurrentServiceBinding by ConcurrentHashMap
* [HHH-10943] – Driver Manager Connection Pool should close leaked connections upon shutting down
* [HHH-10945] – Move TransactionUtil from documentation to hibernate-testing
* [HHH-10946] – Add utility to detect connection leaks during testing
* [HHH-10947] – Add @Repeatable to Hibernate-owned annotations
* [HHH-10949] – Upgrade Infinispan to 8.2.3.Final
* [HHH-10984] – Have multiLoad not return (unflushed) DELETED entities
* [HHH-10996] – The cleanupTestData utility has issues with link tables
* [HHH-11000] – Fix the port stealing issue between Arquillian and NVidia Windows driver
* [HHH-11002] – Add documentation section about Filter and FilterDef
* [HHH-11017] – Migrate Integration Guide to AsciiDoctor
更多改进信息,可查看完整改进日志。
下载地址:http://hibernate.org/orm/downloads/