• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can we combine hibernate with swing based application?

 
Tapan Maru
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It will read it in the same way a Java application reads any dependent resource: by looking for it on the classpath. Hibernate and Swing can be used in conjunction easily enough.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!