-->
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: using jboss for session and transaction handling
PostPosted: Wed Feb 18, 2009 8:52 pm 
Beginner
Beginner

Joined: Wed May 10, 2006 9:43 pm
Posts: 30
Location: Australia
Hi everyone,

I'm trying to use jboss for session and transaction handling instead of the default hibernate session factory. Are there any references you could point me towards? I'm also using a mysql database.

I just wanted to clarify the only change i will need to make to use another database, (i.e. mysql instead of HQL) is the database connection details. The HQL queries can be used to access the data in mysql.

Look forward to your response

Alyssa


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 20, 2009 10:35 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Using JTA as provided by JBoss is a good approach. This is very standard and there is lots of information around to show you what to do. As far as session management, it will be done by Hibernate.

Hibernate does isolate you from the underlying database so only minimal changes are necessary to apply alternate database back ends.

I suggest you use the 'user' forum for more questions and also read the online docs or purchase a book as both will help guide you.


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.