首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

Could not open JPA EntityManager for transaction,该如何解决

2013-03-21 
Could not open JPA EntityManager for transaction Could not open JPA EntityManager for transaction

Could not open JPA EntityManager for transaction
 Could not open JPA EntityManager for transaction; nested exception is <openjpa-1.2.2-r422266:898935 fatal user error> org.apache.openjpa.persistence.ArgumentException: A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName property.
这个问题  搞了好半天 啊  没有解决啊 transaction exception nested
[解决办法]
检查一下 数据源 配置, 看你的异常应该是 使用 JTA 事物 ,容器没有实例化 EntityManager  

热点排行