Hibernate

Howto use Hibernate as a persistence provider in Glassfish

The Glassfish application server does’t come with Hibernate support by default but installing it is pretty easy.

Just launch the Glassfish Update Tool and select theĀ  Hibernate JPA Plugin.

This command launches the update tool:
<glassfish_home>/bin/updatetool

After installing the plugin copy the database driver to this folder:
<glassfish_home>/glassfish/domains/<domain_name>/lib/ext

Then restart the application server and add your connection pool and the jndi.

0