-->
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.  [ 11 posts ] 
Author Message
 Post subject: hibernate-jboss version compatibility
PostPosted: Fri Feb 04, 2005 4:00 pm 
Newbie

Joined: Wed Jan 26, 2005 1:28 pm
Posts: 5
hello all,

my env is jboss 3.2.3. my data access layer is implemented using dao wrapped within stateless ejbs. the dao classes use straight jdbc and i'd like to switch to hibernate.

will hibernate 3.0 beta 3 work with jboss 3.2.3 or should i stick with hibernate 2.1.8?

thanks
james


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 08, 2005 12:44 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Either will work fine.


Top
 Profile  
 
 Post subject: ClassCastExceptions
PostPosted: Wed Feb 09, 2005 10:55 am 
Beginner
Beginner

Joined: Wed Feb 09, 2005 10:52 am
Posts: 21
I actually had issues with JBoss 4.0.1 and Hibernate3. When JBoss loaded the hibernate-service.xml file, I got ClassCastExceptions between org.hibernate classes and net.sf.hibernate classes. Is there a way around this? Does JBoss have the old hibernate in its classpath somewhere? I would prefer to use the latest versions of both.

If you need more details, I can recreate the environment.

Thanks!

Justin


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 09, 2005 11:26 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
You cannot use Hibernate3 with the deployer/session-management stuff; that is all Hibernate2-specific. The original question was "can I use Hibernate3 with JBoss"; to which the answer is yes.

There will be similiar support for Hibernate3 at some point. It'll be integrated with the EJB3 functionality which uses Hibernate3 under-the-covers.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 1:36 pm 
Newbie

Joined: Mon Feb 28, 2005 1:30 pm
Posts: 2
Is there a ETA available for the 'deployer/session-management stuff' suport for JBoss.

Hibernate 3 RC is out there and I'm looking forward to start using it.

TIA


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 3:09 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
No ETA, wanna help?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 3:47 pm 
Beginner
Beginner

Joined: Wed Feb 09, 2005 10:52 am
Posts: 21
steve wrote:
No ETA, wanna help?


Does this require a JBoss change, a Hibernate change, or both?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 3:57 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
The code needed is all on the JBoss side.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 5:01 pm 
Beginner
Beginner

Joined: Wed Feb 09, 2005 10:52 am
Posts: 21
steve wrote:
The code needed is all on the JBoss side.


Not to trivialize things, but is it more than just refactoring net.sf packages to org.hibernate?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 9:10 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Depends on the scope.

In terms of the existing functionality offered by the deployer, etc, no.

But we also plan some new features.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 01, 2005 4:04 am 
Newbie

Joined: Mon Jan 31, 2005 1:33 pm
Posts: 11
steve wrote:
No ETA, wanna help?


I will be needing to do this for my project so I would love to help.

steve wrote:
But we also plan some new features.


What are the requested features?

Regards,
Ryan


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