DataNucleus 4.1.0 发布,持久层框架
#深圳# 6月10日 亚马逊AWSome Day云计算免费培训报名中DataNucleus 4.1.0 发布,此版本修复了一些Bug,并新增了一些功能。
Bug 修复
[*] - JPQL " IN" not compiled correctly when we have parameter yet value type not yet known
[*] - CriteriaBuilder.in always tries to create "(val == collVal1 || val == collVal2 || ...) but should use IN if single value specified to allow for Collection parameter
[*] - FROM joins should process first part of the join expression and take the table for that as one side of the join
新增功能
[*]
- Support Java generic TypeVariable in 1-1/N-1>
[*]
- Support Java generic TypeVariable in 1-N/M-N>
[*] - Support JPQL with RIGHT OUTER JOIN
[*] - Support JPQL with RIGHT OUTER JOIN
性能提升
[*] - Support JPQL FROM "ON" clauses that are other than DyadicExpression
[*] - If annotation specified on field and method then take as field and use method annotations as if on field
[*] - Criteria API usage currently requires something to be selected (using select/multiSelect) whereas could default to candidate
[*] - Query of Collection.contains where the element is of an invalid type should create query with 1=0 rather than throw exception
[*] - Support JPQL "COALESCE"/"NULLIF" with non-numeric arguments
任务
[*] -Support typesafe query StringExpression.add(...)
[*] - Change "datanucleus.rdbms.allowColumnReuse" default to "true" for JPA usage
[*] - JPQL : Support use of MEMBER OF on Map (and interpret as "Map.containsValue")
[*] - Support query joins that join to EmbeddedId to provide access to the fields
[*] - 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]