-->
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.  [ 5 posts ] 
Author Message
 Post subject: Which version of Hibernate is compatible with WebSphere 5.0?
PostPosted: Thu Sep 01, 2005 12:34 pm 
Beginner
Beginner

Joined: Tue Jun 21, 2005 1:45 pm
Posts: 38
Could someone plz tell me which version of Hibernate is compatible with WebSphere 5.0 (IBM JDK 1.3) ?

I tried with Hibernate 3.0.5 and 3.1 beta 2... both has version compatibility issues with IBM JDK 1.3

Please help..


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 12:45 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Perhaps if you tell us exactly what the problem is, we can help you.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 1:03 pm 
Beginner
Beginner

Joined: Tue Jun 21, 2005 1:45 pm
Posts: 38
gavin wrote:
Perhaps if you tell us exactly what the problem is, we can help you.



Plz see the errors corresponding to each version of Hibernate. Initially I tried with version 3.0.5 and since it didnt work, I only replaced hibernate3.jar from version 3.1 beta 2. As per JIRA issue #HHH-571, http://opensource2.atlassian.com/projec ... se/HHH-571, hibernate 3.1 beta version is compatible with JDK 1.3... But looks like it didnt work for me... could you tell me what am I doing wrong?


Hibernate 3.0.5
Code:
[9/1/05 11:35:34:688 EDT]  1d26352 WebGroup      E SRVE0020E: [Servlet Error]-[action]: Failed to load servlet: java.lang.NoSuchMethodError: java.lang.Boolean: method valueOf(Z)Ljava/lang/Boolean; not found
   at org.hibernate.loader.custom.SQLQueryReturnProcessor.addPersister(SQLQueryReturnProcessor.java:133)
   at org.hibernate.loader.custom.SQLQueryReturnProcessor.processRootReturn(SQLQueryReturnProcessor.java:121)
   at org.hibernate.loader.custom.SQLQueryReturnProcessor.processReturn(SQLQueryReturnProcessor.java:98)
   at org.hibernate.loader.custom.SQLQueryReturnProcessor.process(SQLQueryReturnProcessor.java:87)
   at org.hibernate.loader.custom.SQLCustomQuery.<init>(SQLCustomQuery.java:105)
   at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:144)


Hibernate 3.1 beta 2

Code:
[9/1/05 12:23:31:500 EDT] 5caee343 WebGroup      E SRVE0020E: [Servlet Error]-[action]: Failed to load servlet: java.lang.UnsupportedClassVersionError: org/hibernate/NonUniqueObjectException (Unsupported major.minor version 48.0)
   at java.lang.ClassLoader.defineClass0(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
   at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java(Compiled Code))
   at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
   at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
   at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
   at com.outline.ormapping.hibernate.HibernateResources.load(HibernateResources.java:22)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 2:31 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Recompile 3.1 using JDK 1.3.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 2:43 pm 
Beginner
Beginner

Joined: Tue Jun 21, 2005 1:45 pm
Posts: 38
gavin wrote:
Recompile 3.1 using JDK 1.3.


Thanks gavin... Thats a good option.. but I wouldnt keep hibernate source in my workspace. I'd rather keep the released jar file.

Well.. for now, I imported 2 hibernate java files - SQLQueryReturn.java and SQLQueryReturnProcessor.java in my workspace.. Removed the compilation errors caused by IBM JDK 1.3 and put those classes back in hibernate3.jar which was originally a production release 3.0.5 version...

That resolved the problem... I hope my client would move on to the next version of WebSphere pretty soon....


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.