Re: [T5] Got the ioc working in a test with tapestry-hibernate

2007-12-03 Thread Davor Hrg
you shold also call registry.performRegistryStartup(); after Registry registry = builder.build(); in the end just call : registry.shutdown(); Davor Hrg On Jun 14, 2007 4:01 PM, Dan Adams <[EMAIL PROTECTED]> wrote: > So I have some test cases in which I actually need a working hibernate

Re: [T5] Got the ioc working in a test with tapestry-hibernate

2007-12-03 Thread 西村 俊夫
Hi, Dan. I want to same thing which you did. Could you let me know the details? So I have some test cases in which I actually need a working hibernate session so I'm having my tests start up an ioc registry. This took a bit of digging to figure out but I got it working. Here's a minimal test

[T5] Got the ioc working in a test with tapestry-hibernate

2007-06-14 Thread Dan Adams
So I have some test cases in which I actually need a working hibernate session so I'm having my tests start up an ioc registry. This took a bit of digging to figure out but I got it working. Here's a minimal test case that I used to prove that it worked: public void testTest() throws Exception {