-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Setting Lazy Collections to NULL (Macromedia Flex Gateway)
PostPosted: Wed Jun 08, 2005 8:13 am 
Newbie

Joined: Wed Jun 08, 2005 7:57 am
Posts: 1
I am implementing a project that uses Macromedia Flex and Hibernate.

First, let me start by saying I don't want to disable lazy loading! What I want is to disable Hibernate from putting "Hibernate Collections" in my objects and instead place "null".

I need this because the "Hibernate Collections" will confuse the Flex Gateway. If the collections are placed as "null", then all will work fine (and I will have to be careful about accessing null collections).

Is there any way to configure Hibernate to have this behavior? The only other "generic" alternative I see is to walk the object graph before passing to the Flex gateway, but that could be a very expensive route to take.

Thanks!
Landon


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.