DataNucleus 4.1.0 发布,持久层框架

5月23日 西安 OSC 源创会开始报名啦,存储、虚拟机、Docker 等干货分享

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  4.1.0 发布,持久层框架

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 数据库等.

本站部分文章源于互联网,本着传播知识、有益学习和研究的目的进行的转载,为网友免费提供。如有著作权人或出版方提出异议,本站将立即删除。如果您对文章转载有任何疑问请告之我们,以便我们及时纠正。

PS:推荐一个微信公众号: askHarries 或者qq群:474807195,里面会分享一些资深架构师录制的视频录像:有Spring,MyBatis,Netty源码分析,高并发、高性能、分布式、微服务架构的原理,JVM性能优化这些成为架构师必备的知识体系。还能领取免费的学习资源,目前受益良多

转载请注明原文出处:Harries Blog™ » DataNucleus 4.1.0 发布,持久层框架

赞 (0)
分享到:更多 ()

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址