Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Hibernate What are different environments to configure hibernate?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
What are different environments to configure hibernate?
1 Answer(s)      a year and 6 months ago
Posted in : Hibernate


Hi,

What are different environments to configure hibernate?

Thanks,


Advertisement
View Answers

April 22, 2013 at 4:09 PM


Hi,

In Hibernate to configure we uses a file i.e. hibernate.cfg.xml. The hibernate configure file Hibernate uses a file by name hibernate.cfg.xml. This file makes the link between the pool and establishes the required environment. In hibernate, you can configured manage and non-managed hibernate environments. Mostly there are two types of hibernate environment i.e. Managed Environments and Non-managed Environments.

The managed environment offers application servers such as JBoss, Weblogic and WebSphere. Where as the Non-enviornment hibernate offers a basic configuration template. Tomcat is one of the best examples of Non-managed environment.

For more details about Hibernate configure visit this: http://www.roseindia.net/hibernate/HibernateConfig.shtml

Thanks,



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com