Re: Hibernate vs. reload-scripts

2004-04-24 Thread Christopher Oliver
I just committed a change that sets up the Java thread context class loader to be the compiling class loader for Java code called from a flowscript if reload-scripts is on. I don't use Hibernate so I haven't tested it, but if Hibernate uses the thread context class loader to load your

Re: Hibernate vs. reload-scripts

2004-04-21 Thread Reinhard Poetz
Christopher Oliver wrote: What error do you get? AFAIK it should work. Why exactly does hibernate need to see all your persistent classes in the classpath? I guess that Hibernate comes with its own classloader. Maybe it is possible to set the compiling classloader dynamically. Mark

Hibernate vs. reload-scripts

2004-04-20 Thread Mark Lundquist
I used to enjoy the automatic recompilation of my Java classes with cocoon/flow-interpreters/component-instance/reload-scripts... ...until I started using Hibernate w/ Cocoon. Hibernate needs to see all your persistent classes in the classpath, so now my WEB-INF/lib/ has links to my class

Re: Hibernate vs. reload-scripts

2004-04-20 Thread Mark Lundquist
On Apr 20, 2004, at 4:12 PM, I wrote: I used to enjoy the automatic recompilation of my Java classes with cocoon/flow-interpreters/component-instance/reload-scripts... ...until I started using Hibernate w/ Cocoon. Hibernate needs to see all your persistent classes in the classpath, so now my

Re: Hibernate vs. reload-scripts

2004-04-20 Thread Christopher Oliver
What error do you get? AFAIK it should work. Why exactly does hibernate need to see all your persistent classes in the classpath? Mark Lundquist wrote: I used to enjoy the automatic recompilation of my Java classes with cocoon/flow-interpreters/component-instance/reload-scripts... ...until I