PDA

View Full Version : Lazy Loading



marceloverdijk
Mar 11th, 2009, 04:34 PM
Does this Spring submodule tends to help out with Lazy Loading exceptions?

If I use Hibernate as DAO's and send them to flex how is does this module take care of lazy loading?

dirk.eismann
Mar 12th, 2009, 11:23 AM
no. You'll have to roll your own solution or try one of the available frameworks/tools like Gilead or dpHibernate.

Unfortunately, they both do not play well with Spring BlazeDS Integration as they require custom JavaAdapter configuration which is not supported n M2.

Dirk.

ysbelman
Mar 22nd, 2009, 04:05 PM
Dirk,

what's the status of your own project using Gilead? I am really stuck with transaction support. It appears that the way gilead adapterer calls the service methods, causes it to disregard @Transactional annotations.

Also, did you get away from using Jeff Vroom's class?

dirk.eismann
Mar 25th, 2009, 02:34 AM
Hi,

actually, I got it working but it's a rather whacky approach so I don't consider making it public anymore.

Jeremy yesterday fixed the corresponsing issue (see: http://jira.springframework.org/browse/FLEX-26) so with the latest trunk version you should be able to configure Gileads custom adapter from within Springs config directly.

Dirk.