-->
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.  [ 6 posts ] 
Author Message
 Post subject: Hibernate3.jar classes are built with target setting 1.4
PostPosted: Thu Dec 22, 2005 8:18 am 
Newbie

Joined: Thu Dec 15, 2005 7:46 am
Posts: 12
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.1

I'm trying to port a webapp from h2 to h3 having jre 1.3.1.

After two days of madness... I've found that hibernate3.jar (both extracted from sourceforge hibernate-3.1.zip and hibernate-3.1.tar.gz) contain at least a class compiled with target setting 1.4 (major: 48 minor: 0). The class I've checked is HibernateException, but I think that for all other classes it's the same.
Maybe I was in error... but minimum requirements for hibernate 3 are JDK 1.3.1, so I supposed that the distributed package is also build against that version. :(

Luckily Hibernate is an OS tool so I can rebuild myself all the package with jdk1.3 ...

Janniz


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 22, 2005 8:51 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
If you read our download documentation at http://www.hibernate.org/6.html you wouldn't need to have two days of madness ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 22, 2005 9:14 am 
Newbie

Joined: Thu Dec 15, 2005 7:46 am
Posts: 12
Yes, certainly it is my fault :( But I've never had the nedd to recompile hibernate, the minimum requirements are for 1.3.1 so I've assumed that it was built with this version and I skipped reading CVS and Compiling Hibernate.
Can I at least suggest to put a note into Hibernate 3 migration guide, so, everyone is going to migrate form hibernate2 (where precompiled class are working) can rebuild all the package.

Thank you for your support :)

Janniz


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 22, 2005 9:15 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
I've added it to the FAQ (not live yet).


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2005 6:13 am 
Newbie

Joined: Thu Dec 15, 2005 7:46 am
Posts: 12
Thank you.
But, I think that it's not possible build "production hibernate 3.1" with jdk1.3 because there are some "AssertionError" thrown (for example in AbstractEntityPersister.java). I also think that Max has replaced them from source code releases dated after Dec 14, but I've not had time to check current CVS sources (I've read this in "Hibernate 3.1 and jdk1.3" post).
Is this is the real case maybe it can be better to specify in the FAQ that hib3.1 cannot be built against jdk 1.3 from stable sources but only form CVS.

I want to say thank you to all hibernate team for their invaluable support and I wish all you happy holidays.

Janniz


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2005 6:42 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
This is not going to go the FAQ, because JDK 1.3.1 incompatibilities are considered as bug are treated as such.

_________________
Emmanuel


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