Este contenido no está disponible en el idioma seleccionado.
1.3.3. Use JNDI to Obtain a Connection
To use Hibernate inside an application server, configure Hibernate to obtain connections from an application server (
javax.sql.Datasource) that is registered in JNDI. Set more than one of the following properties to configure JNDI to obtain a connection:
hibernate.connection.datasource(mandatory)hibernate.jndi.urlhibernate.jndi.classhibernate.connection.usernamehibernate.connection.password