Hi Gavin, hi everybody else, while I'm at it, I would like to ask you some hints about a problem: the app I'm developing now uses hibernate as a jmx service... there are some problems here: - each time I deploy my application I have to redeploy also the jmx service because maybe some class has been changed and the persister wont' work anymore (or the mapping has changed, and so on); - can't set the properties in the xml file - the xml file contains a full path to hibernate and my ejb jar file... I have to change them every time a deploy to a different platform...
I'd really prefer to use the standard xml configuration file and to bind the session factory into jndi during application startup ( using the static initializer of a resource factory that is being used to access to Hibernate services), but this doesn't work during redeploy since Hibernate is kept into memory and so it doesn't reconfigure! I would like to have a way to force reconfiguration of hibernate on redeploy... otherwise I have to restart the app server, which takes 20 seconds on my pc... How do you work around these problems? Best regards Andrea Aime
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel