If you are using jboss server for deployment and find the error as below in console
java.lang.NullPointerException org.hibernate.engine.transaction.internal.jta.JtaStatusHelper.getStatus(JtaStatusHelper.java:73).............................
then try to add the below property in persistence.xml
<property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" />
java.lang.NullPointerException org.hibernate.engine.transaction.internal.jta.JtaStatusHelper.getStatus(JtaStatusHelper.java:73).............................
then try to add the below property in persistence.xml
<property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" />
No comments:
Post a Comment