[jboss-user] [jBPM] New message: "Re: null pointer exception when integrating jbpm4.3, spring2.5.6, hibernate3"

Michael Wohlfart do-not-reply at jboss.com
Mon Mar 8 05:37:28 EST 2010


User development,

A new message was posted in the thread "null pointer exception when integrating jbpm4.3,spring2.5.6,hibernate3":

http://community.jboss.org/message/530484#530484

Author  : Michael Wohlfart
Profile : http://community.jboss.org/people/mwohlf

Message:
--------------------------------------------------------------
this is a hibernate mapping issue:
 
[...]
Caused by: org.hibernate.MappingException: Unknown entity:  org.jbpm.pvm.internal.id.PropertyImpl
     at  org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:580)
[...]
 
the mapping for org.jbpm.pvm.internal.id.PropertyImpl is in jbpm.repository.hbm.xml  there should be a table
JBPM4_PROPERTY in your database schema, maybe it helps to use "create" instead of "update" for hibernate.hbm2ddl.auto
or you could manually create the schema like documented at
http://www.mastertheboss.com/en/jbpm/209-jbpm-4-tutorial-installation.html
 
to me it looks like there is something wrong with your hibernate mapping config

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/530484#530484




More information about the jboss-user mailing list