[jboss-user] [jBPM] - Re: Cannot insert null into table error while starting a process
jess singh
do-not-reply at jboss.com
Thu Jul 5 10:58:25 EDT 2012
jess singh [https://community.jboss.org/people/singhjess] created the discussion
"Re: Cannot insert null into table error while starting a process"
To view the discussion, visit: https://community.jboss.org/message/746404#746404
--------------------------------------------------------------
Sorry, the persitence.xml did not paste properly in the previous post
<
persistence xmlns=++" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence"+
+
xmlns:xsi=++" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"+
+
xsi:schemaLocation=++" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"+
+
version=++"2.0"++>
<persistence-unit name=++"main"++ transaction-type=++"JTA"++>
<description>Forge Persistence Unit</description>
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source>
<mapping-file>META-INF/JBPMOrm-JPA2.xml</mapping-file>
<class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>
<class>org.drools.persistence.info.SessionInfo</class>
<class>org.drools.persistence.info.WorkItemInfo</class>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<!--<class>org.jbpm.process.audit.ProcessInstanceLog</class>
<class>org.jbpm.process.audit.NodeInstanceLog</class>
<class>org.jbpm.process.audit.VariableInstanceLog</class>
-->
<properties>
<property name=++"hibernate.hbm2ddl.auto"++ value=++"create-drop"++ />
<property name=++"hibernate.show_sql"++ value=++"true"++ />
<property name=++"hibernate.format_sql"++ value=++"true"++ />
<property name=++"hibernate.transaction.flush_before_completion"+
+
value=++"true"++ />
<property name=++"hibernate.transaction.manager_lookup_class"++ value=++"org.hibernate.transaction.JBossTransactionManagerLookup"++ />
</properties>
</persistence-unit></
persistence>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/746404#746404]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120705/bf3bb3c7/attachment.html
More information about the jboss-user
mailing list