-->
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.  [ 2 posts ] 
Author Message
 Post subject: Help with Hibernate anf JBoss
PostPosted: Fri Sep 29, 2006 6:39 am 
Beginner
Beginner

Joined: Mon Jan 09, 2006 8:02 am
Posts: 22
Hi Everybody,
I am new to Java and application Servers so please pardon me if this question sounds too foolish.

I have worked with the .Net version of Hibernate ie: NHibernate..

I am currently using Hibernate Version 3.2.

I would like to know the basic steps to create a simple Test application of Hibernate so that it runs in the JBoss application Server. I have created a Test application that works perfectly when i run it as a StandAloneServer.

Basically i would like to know the following Questions:-

1) What Jars need to be copied to the Server's Bin Folder. If a copy all the JARs from the Hibernates Bin folder the server fails to start and if i copy None then the application gives me ClassDefNotFound error.

2)How can the SeesionFactory act a JNDI Service.

3) How can i enable Connection Pooling with Hibernate.


Thanks for your Help.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 29, 2006 7:28 am 
Beginner
Beginner

Joined: Tue Oct 18, 2005 3:44 am
Posts: 27
Attention that JBoss has already hibernate files... and especially cglib.jar can cause conflict with your deployed application... (in JBoss 3.2.7 I had to take away the hibernate files of JBoss, by with JBoss 4.0.3 I didn't have to do it)
Greetz
Cathy


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