-->
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: Hibernate Extensions 2.1.2 and Hibernate Version
PostPosted: Fri Aug 06, 2004 12:51 pm 
Beginner
Beginner

Joined: Thu Jul 22, 2004 2:15 pm
Posts: 35
Which hibernate version does Hibernate Extensions 2.1.2 work with?

setenv.bat looks something like:
set CORELIB=%HIBERNATE_HOME%\lib
set LIB=..\lib
set PROPS=%HIBERNATE_HOME%\src
set CP=%JDBC_DRIVER%;%PROPS%;%HIBERNATE_HOME%\hibernate2.jar;%CORELIB%\commons-logging.jar;%CORELIB%\commons-collections.jar;%CORELIB%\commons-lang.jar;%CORELIB%\cglib.jar;%CORELIB%\dom4j.jar;%CORELIB%\odmg.jar;%CORELIB%\xml-apis.jar;%CORELIB%\xerces.jar;%CORELIB%\xalan.jar;%LIB%\jdom.jar;%LIB%\..\hibernate-tools.jar


I Know a while back hibernate had made that switch to be shipped with version number of jar files, like commons-logging.jar would be commons-logging-1.0.4.jar for hibernate 2.1.5 release.

so should we consider setenv.sh broken? I went ahead and fixed it so it works for me with hibernate 2.1.4. I know tools are not maintained with each version of hibernate, but I was just wondering what version they support.

TIA,

_________________
--------------------------------------------------
To code or not to code... Is that a question?
--------------------------------------------------
Pritpal Dhaliwal


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 06, 2004 12:52 pm 
Beginner
Beginner

Joined: Thu Jul 22, 2004 2:15 pm
Posts: 35
apologies for the long line.. I didn't know it would come out like that..

I don't think i can edit my post either.

:(

_________________
--------------------------------------------------
To code or not to code... Is that a question?
--------------------------------------------------
Pritpal Dhaliwal


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 06, 2004 12:54 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
The tools work fine with Hibernate 2.1.x, it's just the batch scripts that are not up-do-date. Actually, most people use the tools with Ant, so a good strategy for batch scripts is not top priority. I'd even say that we should remove them at some point.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 06, 2004 1:00 pm 
Beginner
Beginner

Joined: Thu Jul 22, 2004 2:15 pm
Posts: 35
Yeah... it was just the batch script that had to be modified for it all to work..

I will make the switch to ant also.. I just followed the documentation :(

If you guys don't decide to pull out the batch script stuff, let me know if you guys need help maintaing it.

I think I prefer the ant way also though. Just need to try it.

_________________
--------------------------------------------------
To code or not to code... Is that a question?
--------------------------------------------------
Pritpal Dhaliwal


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 08, 2004 2:04 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
I have had problems with hibernate-ext 2.1.2 (hbm2java) with hibernate 2.1.2 but the issues where sorted when I had tried it with 2.1.4 so I would suggest you select a version that is close the the same release date or after.


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.