Number Of Page View:100,000+/Months
LOGIN |New User


What is JNDI-bound SessionFactory in Hibernate?
A JNDI bound Hibernate SessionFactory can simplify the lookup of the factory and the creation of new Sessions. If you wish to have the SessionFactory bound to a JNDI namespace, specify a name (eg. java:comp/env/hibernate/SessionFactory) using the property hibernate.session_factory_name. If this property is omitted, the SessionFactory will not be bound to JNDI. When binding the SessionFactory to JNDI, Hibernate will use the values of hibernate.jndi.url, hibernate.jndi.class to instantiate an initial context. If they are not specified, the default InitialContext  will be used. 
Posted By: Name:Rajesh Kr URL: What is JNDI-bound SessionFactory in Hibernate?