DataNucleus 4.1.0 发布,持久层框架

来源: OSCHINA
编辑: oschina
2015-05-20 00:00:00

DataNucleus 4.1.0 发布,此版本修复了一些Bug,并新增了一些功能。

Bug 修复

  • [NUCCORE-1311] - JPQL "[NOT] IN" not compiled correctly when we have parameter yet value type not yet known

  • [NUCJPA-308] - CriteriaBuilder.in always tries to create "(val == collVal1 || val == collVal2 || ...) but should use IN if single value specified to allow for Collection parameter

  • [NUCRDBMS-893] - FROM joins should process first part of the join expression and take the table for that as one side of the join

新增功能

  • [NUCCORE-1308] - Support Java generic TypeVariable in 1-1/N-1 relations

  • [NUCCORE-1309] - Support Java generic TypeVariable in 1-N/M-N relations

  • [NUCCORE-1312] - Support JPQL with RIGHT OUTER JOIN

  • [NUCRDBMS-892] - Support JPQL with RIGHT OUTER JOIN

性能提升

  • [NUCCORE-1313] - Support JPQL FROM "ON" clauses that are other than DyadicExpression

  • [NUCCORE-1314] - If annotation specified on field and method then take as field and use method annotations as if on field

  • [NUCJPA-307] - Criteria API usage currently requires something to be selected (using select/multiSelect) whereas could default to candidate

  • [NUCRDBMS-894] - Query of Collection.contains where the element is of an invalid type should create query with 1=0 rather than throw exception

  • [NUCRDBMS-895] - Support JPQL "COALESCE"/"NULLIF" with non-numeric arguments

任务

  • [NUCAPIJDO-91] -Support typesafe query StringExpression.add(...)

  • [NUCJPA-306] - Change "datanucleus.rdbms.allowColumnReuse" default to "true" for JPA usage

  • [NUCRDBMS-890] - JPQL : Support use of MEMBER OF on Map (and interpret as "Map.containsValue")

  • [NUCRDBMS-891] - Support query joins that join to EmbeddedId to provide access to the fields

  • [NUCRDBMS-896] - JDOQL : support CharacterLiteral.toUpperCase/toLowerCase methods

此版本现已提供下载:download page

更多内容请查看发行页面


DataNucleus Access Platform 是一个兼容各种标准的 Java 数据持久化框架,兼容 JDO1, JDO2, JDO2.1, JDO2.2, JDO2.3, JPA1, JPA2 等 Java 标准。提供一个基于 REST 的API。通过它可以访问所有常见的数据库服务器,还包括 LDAP, NeoDatis, JSON, Excel/ODF spreadsheets, XML, BigTable, 和 HADOOP 数据库等.

展开阅读全文
点击加入讨论🔥(1) 发布并加入讨论🔥
1 评论
10 收藏
分享
返回顶部
顶部