标签:ejb
Persistence provider caller does not implement the EJB3 spec correctly. 实体bean发布出现的问题,将persistence.xml改为
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
<persistence-unit name="ejbjpa2" transaction-type="JTA">
<jta-data-source>java:/MySqlDS</jta-data-source>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
</properties>
</persistence-unit>
</persistence>即可
Persistence provider caller does not implement the EJB3 spec correctly. Pers
标签:ejb
原文地址:http://blog.csdn.net/u013998070/article/details/44241019