[jboss-user] [jBPM] - Exceptions with hibernate session mappings in 4.5.SNAPSHOT

Stefano Cancedda do-not-reply at jboss.com
Tue Sep 21 03:53:49 EDT 2010


Stefano Cancedda [http://community.jboss.org/people/festano1] created the discussion

"Exceptions with hibernate session mappings in 4.5.SNAPSHOT"

To view the discussion, visit: http://community.jboss.org/message/562829#562829

--------------------------------------------------------------
hi,
yesterday I've updated the JBPM snapshot of my pom  to 4.5-SNAPSHOT. now all my tests are falling always during hibernate session startup! The exception occurs during the mapping validation:

09:19:40,204 FIN |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT eagerly initializing org.jbpm.pvm.internal.id.DatabaseIdComposer
09:19:40,225 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT Hibernate 3.3.1.GA
09:19:40,228 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT hibernate.properties not found
09:19:40,261 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT Bytecode provider name : javassist
09:19:40,266 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT using JDK 1.4 java.sql.Timestamp handling
09:19:40,324 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT configuring from resource: jbpm.hibernate.cfg.xml
09:19:40,325 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT Configuration resource: jbpm.hibernate.cfg.xml
09:19:40,417 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT Reading mappings from resource : jbpm.repository.hbm.xml
09:19:40,583 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT Reading mappings from resource : jbpm.execution.hbm.xml
09:19:40,715 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT Reading mappings from resource : jbpm.history.hbm.xml
09:19:40,763 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT Reading mappings from resource : jbpm.task.hbm.xml
09:19:40,794 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT Reading mappings from resource : jbpm.identity.hbm.xml
09:19:40,841 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT Configured SessionFactory: null
0.0.1. EXCEPTION ###########################################
09:19:40,849 INF |  http://community.jboss.org/message/562829#562829 Exceptions with hibernate session mappings in 4.5.SNAPSHOT exception while executing command org.jbpm.pvm.internal.cmd.CheckDbCmd at b4cbc5
Caused by: org.hibernate.MappingException: property mapping has wrong number of columns: org.jbpm.pvm.internal.history.model.HistoryVariableUpdateImpl.oldValue type: object
     at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:459)
     at org.hibernate.mapping.SingleTableSubclass.validate(SingleTableSubclass.java:66)
     at org.hibernate.cfg.Configuration.validate(Configuration.java:1135)
     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1320)
     at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
... 57 more




I've executed test with hsqldb in-memory  and table generation (using JbpmTestCase as base-class), and also with the full test architecture of my project (Spring-test-framework classes with SpringJUnit4ClassRunner, EntityManager as SessionFactory passed to SpringProcessEngine, and local datasource connection with remote Oracle10g database containing jBPM schema -running on xubuntu os).

It's nothing wrong with classes, as far i can see, and the error happens also with fresh generated tables.

Any hints?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/562829#562829]

Start a new discussion in jBPM at Community
[http://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/20100921/06718feb/attachment.html 


More information about the jboss-user mailing list