-->
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.  [ 3 posts ] 
Author Message
 Post subject: Can we combine hibernate with swing based application?
PostPosted: Fri Mar 14, 2008 9:16 am 
Newbie

Joined: Mon Mar 10, 2008 6:53 am
Posts: 3
Location: India
Hello,

I am currently working on web based application and used hibernate and found its criteria queries feature very much useful.

Now I want to use hibernate with Swing based application also.

My question is: How a swing based application will read hibernate.cfg.xml file?

Waiting for the help from you all.

_________________
Tapan Maru


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 14, 2008 12:16 pm 
Beginner
Beginner

Joined: Fri Aug 24, 2007 4:46 am
Posts: 36
Location: Bielefeld / Germany
Please have a look at the following thread:

http://forum.hibernate.org/viewtopic.ph ... ight=swing

Just read hibernate.cfg.xml when your application starts (main-method), very similar as in a web-application.

Cheers, Maik


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 15, 2008 12:59 am 
Newbie

Joined: Mon Mar 10, 2008 6:53 am
Posts: 3
Location: India
Thanks. I will try this and will post reply. Many Thanks again..

_________________
Tapan Maru


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