-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate 3.0.4 with J2EE 1.3 on J2SE 1.3.1
PostPosted: Tue May 31, 2005 1:08 pm 
Newbie

Joined: Tue May 31, 2005 12:54 pm
Posts: 5
Location: New Jersey, USA
Hi all,

I am trying to use hibernate 3.0.4 with J2EE1.3 (Websphere 5.0) on IBM 1.3.1, and get a NoSuchMethodError for the method getDatabaseMajorVersion (See stack trace below)

I saw that this http://opensource.atlassian.com/projects/hibernate/browse/HHH-514 bug closed by Gavin King, but the method getDatabaseMajorVersion is NOT present in J2SE 1.3, it was introduced in J2SE1.4.

Has anyone run hibernate 3 on J2SE 1.3 ? Hibernate 3 documentation says it should run but I am puzzled.

Hibernate version: 3.0.4

Full stack trace of any exception that occurs:
[5/31/05 12:18:20:135 EDT] 7d9b7d9b ExceptionUtil E CNTR0020E: Exception data: java.lang.NoSuchMethodError: java/sql/DatabaseMetaData.getDatabaseMajorVersion()I
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.NoSuchMethodError.<init>(NoSuchMethodError.java:56)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:75)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)


Name and version of the database you are using: IBM DB2 v7.0 for OS/390


Top
 Profile  
 
 Post subject: Hibernate 3.0.0 with J2EE 1.3 on J2SE 1.3.1
PostPosted: Tue May 31, 2005 1:29 pm 
Newbie

Joined: Tue May 31, 2005 12:54 pm
Posts: 5
Location: New Jersey, USA
I just found out that the problem does not seem to occur with Hibernate 3.0.beta4


Top
 Profile  
 
 Post subject: Anyone on this one?
PostPosted: Wed Jun 01, 2005 3:35 pm 
Newbie

Joined: Tue May 31, 2005 12:54 pm
Posts: 5
Location: New Jersey, USA
Hmnnn... Still waiting for a reply :-)


Top
 Profile  
 
 Post subject: Solved in 3.0.5
PostPosted: Tue Jul 05, 2005 10:47 am 
Newbie

Joined: Tue May 31, 2005 12:54 pm
Posts: 5
Location: New Jersey, USA
For those of you who are interested, it is solved in 3.0.5


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