"The transaction-type attribute is used to specify whether the entity managers provided by the entity manager factory for the persistence unit must be JTA entity managers or resource-local entity managers. The value of this element is JTA or RESOURCE_LOCAL. A transaction-type of JTA assumes that a JTA data source will be provided—either as specified by the jta-data-source element or provided by the container. In general, in Java EE environments, a transaction-type of RESOURCE_LOCAL assumes that a non-JTA datasource will be provided. In a Java EE environment, if this element is not specified, the default is JTA. In a Java SE environment, if this element is not specified, the default is RESOURCE_LOCAL." see Section 8.2.1.2, Page 312 from JSR-317
ref:http://www.adam-bien.com/roller/abien/entry/don_t_use_jpa_s
sample java app use RESOURCE_LOCAL
javaee better us: JTA, JTA either as specified by the jta-data-source element or provided by the container
相关推荐
在使用Hibernate连接数据库时可能会报错 缺失的包persistence-api-2.2.1.jar
jakarta.persistence-api-2.2.3.jar,适合做一些服务器、java映射等的开发,请注意版本!
javax.persistence-api-2.2.jar框架包,仅供大家学习使用,谢谢!
persistence,persistence-api-1.0.2.jar,java,hibernate-jpa
persistence-2_0-final-jar_and_schema.zip
akka-persistence-sql-async, 一个用于akka持久性的日志和快照存储 akka-persistence-sql-async 的日志和快照存储插件( akka持久化插件。 Akka-persistence-sql-async执行由 scalikejdbc异步查询,它提供非阻塞api来...
python库,解压后可用。 资源全名:Persistence-3.0b3-cp36-cp36m-win32.whl
资源来自pypi官网。 资源全名:Persistence-3.0b3-cp36-cp36m-win32.whl
资源分类:Python库 所属语言:Python 资源全名:Persistence-3.0b4-cp35-cp35m-win32.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
drools-persistence-jpa-5.2.0.Final.jar drools
给大家分享一下,需要的朋友可以来下载。自己找了好久
Java Persistence API 2.0-final-spec 免费下载
glassfish-persistence-api-b32g.jar
jbpm-persistence-jpa-5.1.0.Final.jar jbpm5
ejb3-persistence-1.0.2.GA-sources.jar ejb3 jbpm5 源码
ejb3-persistence.jar 1.0&1.0.2 的源代码
jar包,官方版本,自测可用
jar包,官方版本,自测可用
jar包,官方版本,自测可用
jar包,官方版本,自测可用