cancel
Showing results for 
Search instead for 
Did you mean: 

Hibernate version

michael_voss2
Participant
0 Kudos

Hi everyone!

Sorry for crossposting, already posted this in WebDynpro Java...

We're currently trying to get Hibernate to work on NW J2EE 6.40. We deployed the jars mentioned in [Hibernate on SAP NetWeaver (1st version)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/14f55178-0801-0010-0bac-974ed17e51d3] successfully. While it seems to be somewhat working - at least we're seeing hibernate error messages - we run across a NPE in

AbstractEntityTuplizer.createProxy()

when calling

session.load()

In [Hibernate Issues HHH-1365|http://opensource.atlassian.com/projects/hibernate/browse/HHH-1365] this is said to happen when running Hibernate 3.1.3 against a signed JAR. Since I did not see any posting related to this error under NetWeaver, I think that the problem is caused by me using a wrong Hibernate version (we try to use Hibernate 3.1.3) with J2EE 6.40.

I did not find any version hint fpr Hibernate 3 in the document version linked above, so I used the version mentioned in [Hibernate on SAP NetWeaver (2nd version)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bf0d57db-0c01-0010-6fa3-83503981eed4], but this version deals with NW 2004s / J2EE 7.0. The other jar's versions are identical.

Can anyone confirm that I may be using the wrong Hibernate version and/or tell me which version of Hibernate3.jar I'd have to deploy to avoid this ?

Accepted Solutions (0)

Answers (1)

Answers (1)

michael_voss2
Participant
0 Kudos

O.k., for everyone who might be interested in this topic: We resolved the problem by putting the jars for

hibernate 3.2.6.ga

antlr 2.7.6

asm

cglib 2.1.3

commons-collections 2.1.1

commons-logging 1.0.4

dom4j 1.6.1

ehcache 1.2.3

jta

into a DC and exposing all jars in both assembly and compilation public part.