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
|