DataNucleus主页:http://www.datanucleus.org/index.html

简介:

DataNucleus项目为Java运行环境中的应用数据提供了管理,它提供了标准的接口(JDO, JPA)来访问各种类型的数据库资源,如RDBMS, ODBMS, Map-based, Web-based, 
documents, graph-based等等,并且你可以利用同样的API来操作所有你的数据,示图如下:

可见,对于HBase这样的NoSQL数据库也提供了JDO/JPA的接口。

最新版本3.2的信息如下:

January 1st 2013- DataNucleus Access Platform 3.2 ("Copernicus") Milestone 2 is released. DataNucleus Access Platform provides persistence and retrieval of Java objects to/from a wide range of datastores including relational, web-based, map-based, and documents. Version 3.2 Milestone 2 includes the following changes

  • JDO : ability to mark all classes as detachable, overriding metadata
  • JDO : add convenience accessor for "detachedState" of an object
  • JDO : provide access to the native query performed by JDOQL
  • JPA : add convenience accessor for "detachedState" of an object
  • JPA : provide access to the native query performed by JPQL
  • JPA : support surrogate version on a class
  • JPA : fix to exception throwing when using JTA in a JavaEE environment
  • JPA : support for JPA2.1 "Generate Schema" feature
  • JPA : improved logix for finding a persistence-unit with a name, and flag duplicate units with the same name
  • JPA : default to not add classTransformer in JavaEE environment (so user has to enable it)
  • Update to JMX beans definitions for compliance
  • Bundle (repackaged) ASM into datanucleus-core for cleaner usage
  • Fix missing "PreMainClass" for enhancer so runtime enhancement works
  • Moved "mapped datastores" code into RDBMS plugin (from datanucleus-core) since only used there
  • Add pooling for ExecutionContext and ObjectProvider objects for performance.
  • Fix to persist of N-1 relation with detached owner so we don't get multiple element objects
  • Fix to ClassLoaderImpl/MetaDataUtils to preserve ordering whilst removing dups
  • Provide access to native query being invoked by a JDOQL/JPQL query
  • RDBMS : fix to use of named parameters in range clause of query
  • RDBMS : add statement batching to shifting process for elements in a List
  • RDBMS : fix to schema generation when we have "subclass-table" part way down an inheritance tree
  • MongoDB : improvement for polymorphic queries to make use of discriminator column and handle all in single query
  • MongoDB : improvement to deletion process to not reload same fields multiple times
  • HBase : support for Bloom filters, in-memory and various other options (Nicolas Seyvet)
  • Excel : make "poi-ooxml" dependency optional since not needed with XLS
  • Various minor bug fixes and improvements

This release is downloadable under an Apache 2 license from the DataNucleus community site.

DataNucleus(通过jpa和jdo接口访问多中数据源)的更多相关文章

  1. seller【2】Mock数据(接口访问配置)

    Mock数据 在文件[vue.config.js] - devServer 字段 - before(app)函数配置数据接口访问 const appData = require('./data.jso ...

  2. redis 限制接口访问频率

    代码: <?php /** * */ class myRedis { private static $redis = null; /** * @return null|Redis */ publ ...

  3. Vue解决接口访问跨域问题

    随手摘录 Vue解决接口访问跨域问题 1.打开 config -> index.js 2. 找到proxyTable 3.粘贴 如下代码,'https://www.baidu.com'换成要访问 ...

  4. Odoo(OpenERP)开发实践:通过XML-RPC接口访问Odoo数据库

    Odoo(OpenERP)服务器支持通过XML-RPC接口访问.操作数据库,基于此可实现与其他系统的交互与集成. 本文是使用Java通过XMLRPC接口操作Odoo数据库的简单示例.本例引用的jar包 ...

  5. 通过ODBC接口访问人大金仓数据库

      国产化软件和国产化芯片的窘境一样,一方面市场已经存在性能优越的同类软件,成本很低,但小众的国产化软件不仅需要高价买入版权,并且软件开发维护成本高:另一方面,国产软件目前普遍难用,性能不稳定,Bug ...

  6. api接口访问限制

    1.场景描述 在日常开发接口的时候,尤其是restfull接口,肯定会考虑安全或者是做一些自定义的限制,用来界定并维护代码.那么,我们都会采用什么方法那?通常来讲,我们可以通过session的形式,以 ...

  7. nginx访问日志中添加接口返回值

    因为nginx作为web服务器时,会代理后端的一些接口,这时访问日志中只能记录访问接口的status码,也就是说,只能获得200.404 这些的值 那么如何获得接口返回的response值呢? 下面开 ...

  8. Spring Boot从入门到实战:集成AOPLog来记录接口访问日志

    日志是一个Web项目中必不可少的部分,借助它我们可以做许多事情,比如问题排查.访问统计.监控告警等.一般通过引入slf4j的一些实现框架来做日志功能,如log4j,logback,log4j2,其性能 ...

  9. API接口访问频次限制 / 网站恶意爬虫限制 / 网站恶意访问限制 方案

    API接口访问频次限制 / 网站恶意爬虫限制 / 网站恶意访问限制 方案 采用多级拦截,后置拦截的方式体系化解决 1 分层拦截 1.1 第一层 商业web应用防火墙(WAF) 直接用商业服务 传统的F ...

随机推荐

  1. hdu4035 Maze 【期望dp + 数学】

    题目链接 BZOJ4035 题解 神题啊...orz 不过网上题解好难看,数学推导不写\(Latex\)怎么看..[Latex中毒晚期] 我们由题当然能很快写出\(dp\)方程 设\(f[i]\)表示 ...

  2. Divljak

    Divljak Alice 有 $n$ 个字符串 $ S_1,S_2,\cdots,S_n $ ,Bob有一个字符串集合 $T$ ,一开始集合是空的. 接下来会发生 $q$ 个操作,操作有两种形式: ...

  3. jocky1.0.3 (原joc) java混淆器 去除jdk版本限制

    昨晚下班回去,研究了下jocky1.0.3的使用,发现编译时提示引用类库版本不对,捣弄了半个小时后终于理解,原来是我的jdk1.7版本过高,这货是06年的版本,到现在都没更新过,支持(限制)的最高版本 ...

  4. 写一个JavaScript“返回顶部”功能

    在web页面中,如果页面较高,为了方便用户快速地返回顶部,都会添加一个返回顶部按钮. 效果演示可以查看本页.如果页面有滚动高度,右下角就会有一个含有“返回顶部”字样的黑色背景半透明的小条条.点击这里“ ...

  5. HDU 多校对抗赛第二场 1004 Game

    Game Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submis ...

  6. java程序在centos7里面开机自启动

    1.我们先来个简单的start,status,stop程序: [root@localhost ~]# cat /home/tomcat/jarservice.sh #!/bin/bashCU_PID= ...

  7. is

    MyType a = null; if (a is MyType) == False

  8. java封装的使用

    一:前言 其实以前我们来学习java特性的时候,对于封装好想觉得没什么用处,至少我那个时候的感觉(不知道是不是我学的太浅薄了~),现在由于项目从零开始做得,在做得过程中我感觉到原来封装是这样用的. 二 ...

  9. 知问前端——日历UI(三)

    datepicker日期选择选项 属性 默认值/类型 说明 minDate 无/对象.字符串或数值 日历中可以选择的最小日期 maxDate 无/对象.字符串或数值 日历中可以选择的最大日期 defa ...

  10. bzoj 1041 数学推理

    原题传送门http://www.lydsy.com/JudgeOnline/problem.php?id=1041 我们只需要求第一象限内(不包括坐标轴)的点数然后ans=ans*4+4就好了 首先我 ...