摘要 | 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
关注下方微信公众号“Java精选”(w_z90110),回复关键词领取资料:如Mysql、Hadoop、Dubbo、Spring Boot等,免费领取视频教程、资料文档和项目源码。