Beginner |
|
Joined: Mon Jan 24, 2005 6:42 pm Posts: 26
|
Hello,
I have a configuration question. In my dev environment I use hibernate as a standalone directly used framework. When I test however hibernate is configured as an app server service and a SessionFactory has to be looked up via jndi. I end up changing HibernateUtil between appserver and dev to either read the configuration file or lookup via jndi.
What is a more efficient way to configure this if there is one? perhaps I am missing something ?
Thanks
|
|