Why bind hibernate SessionFactory to a JNDI resource?
Posted
by jschoen
on Stack Overflow
See other posts from Stack Overflow
or by jschoen
Published on 2010-03-24T19:24:40Z
Indexed on
2010/03/30
23:23 UTC
Read the original article
Hit count: 364
In my current adventure of learning hibernate and setting it up to use an appserver's connection pool, most examples and resources out there point you in the direction of binding the SessionFactory to a JNDI resource in your appserver in the process.
I wondering what the benefit of this is? Since the you can access a the connection pool with out doing this.
© Stack Overflow or respective owner