Hibernate 5.2.0 发布了。 更新如下: Java 8 baseline 5.2 moves to Java 8 as its baseline. This means: The hibernate-java8 module has been removed, and that functionality has been moved intohibernate-core. Native support for Java 8 date/time types as Query parameters. Support for streaming (java.util.stream.Stream) query results. Support for java.util.Optional as return from methods that may return null. Leveraging Java 8 "default methods" when introducing new methods to extension points. Consolidating JPA support into hibernate-core. That effectively means that the hibernate-entitymanager module no longer exists. Its functionality being consumed into hibernate-core. JCache support Support for using any JCache-compliant cache impl as a second-level caching provider. Session-level batch size support Support has been added for specifying a batch size for write operations per Session. 详细更新列表请查看此处 下载地址: Source code (zip) Source code (tar.gz) Hibernate 5.2.0 发布下载地址