Re: Monitoring lazy loading

2010-02-04 Thread Daryl Stultz
On Thu, Feb 4, 2010 at 8:10 PM, Daryl Stultz wrote: > Hello, > > Getting a feeling for things, consider this code: > Well, after monkey'ing with the xml files, the print statements now appear where expected. Unless there is something obvious here, please disregard. -- Daryl Stultz

Monitoring lazy loading

2010-02-04 Thread Daryl Stultz
Hello, Getting a feeling for things, consider this code: System.out.println("A"); um = session.getMapper(UserMapper.class); user = um.findById(user.getId()); System.out.println("B"); session.close(); System.out.println("C"); assertEquals("Fred", user.getName()); System.out.println("D"); assertNot