<p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/b6d74ec0ea7432d7f0f37d406b22684e.png" /></p> <p>OGM 是 Object Grid Mapping的缩写,意思是对象--数据网格映射,它的目标是试图使用 JPA 来操作 NoSQL数据库。通过使用Hibernate OGM, 我们可以把现有的, 基于JPA/Hibernate ORM的项目不加改动的从RMDBS切换到NO-SQL之上。</p> <h2>更新日志</h2> <h3>Java 8 baseline</h3> <p>5.2 moves to Java 8 as its baseline. This means:</p> <ul> <li>The <code>hibernate-java8</code> module has been removed, and that functionality has been moved into<code>hibernate-core</code>.</li> <li>Native support for Java 8 date/time types as Query parameters.</li> <li>Support for streaming (<code>java.util.stream.Stream</code>) query results.</li> <li>Support for <code>java.util.Optional</code> as return from methods that may return null.</li> <li>Leveraging Java 8 "default methods" when introducing new methods to extension points.</li> </ul> <h3>Consolidating JPA support into <code>hibernate-core</code>.</h3> <p>That effectively means that the <code>hibernate-entitymanager</code> module no longer exists. Its functionality being consumed into <code>hibernate-core</code>.</p> <h3>JCache support</h3> <p>Support for using any JCache-compliant cache impl as a second-level caching provider.</p> <h3>Session-level batch size support</h3> <p>Support has been added for specifying a batch size for write operations per Session.</p> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4958991097466638012" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958991097583214085" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul>