-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate 4 and JBPM 3
PostPosted: Sun Apr 10, 2016 7:32 pm 
Newbie

Joined: Mon Oct 19, 2015 2:38 pm
Posts: 4
Hi All,

I'm in the process of migrating a web app from hibernate 3.6 to 4.2 and I'm running into some issues with jbpm. It seems that jbpm3 depends on hibernate 3, so now that I'm running with hibernate 4, I'm getting errors such as:

java.lang.AbstractMethodError: org.jbpm.db.hibernate.ConverterEnumType.nullSafeSet(Ljava/sql/PreparedStatement;Ljava/lang/Object;ILorg/hibernate/engine/spi/SessionImplementor;)V

Based on some googling, I have come to the conclusion that I have three options:

1. Upgrade jbpm
2. Bundle hibernate 3 with the application
3. Rebuild jbpm 3 to depend on hibernate 4

None of these options are ideal. Does anyone have any advice on the best way to handle this issue? Am I missing something?

Thank you

Hibernate 4.2.18
jbpm 3.2.12


Top
 Profile  
 
 Post subject: Re: Hibernate 4 and JBPM 3
PostPosted: Mon Apr 11, 2016 1:03 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
I think the first option is the best since you decided to update Hibernate. Usually, you should use dependencies that were aimed to work together.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.