DataNucleus 4.1.0 发布,持久层框架

2015年05月21日 00:04 159 次阅读 来源: 开源中国 作者: 路人甲
摘要 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 ...

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

还可以输入136 讨论区:
评 论