|Handling files using lob in entity [message #638290]
||Wed, 10 November 2010 17:29
| Arun Joy
Registered: July 2010
This is my situation.|
I want to store @lob in another entity class so that they wont get loaded when i load my entity class ( I know about lazy loading option but cannot use that option). Then maybe i can link a lob in this way without eagerly loading it.
public class myClass
public class FileClass
byte[ ] mylob;
But the problem with this approach is no foreign key relationship is established between 'fileClassId' and 'id' .
Is there any way to establish it, without causing mylob to load eagerly ? ( and..Lazy loading is not an option for me)
Thanks in advance
Powered by FUDForum
. Page generated in 0.01988 seconds