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
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
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 {