Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Unexpected Behaviour of Teneo while committing a transaction (Unexpected Behaviour of Teneo while committing a transaction )
Unexpected Behaviour of Teneo while committing a transaction [message #496441] Tue, 10 November 2009 01:34
Anubhav  is currently offline Anubhav
Messages: 4
Registered: November 2009
Junior Member
Hi,

Before I jump into problem its important I show you Domain class structure.
ClassA has list of ClassB (i.e. ClassA has EList getBList() method) and in HBM file loading of ClassB is defined as lazily.
Here is sample of getBList
Elist getBList()
{
if(null != b){
for(ClassB ref : bList){
.....
}
return bList;
}
Problem Statement:
Now when I load object of ClassA using HQL/Criteria and commiting the transcation (without making any object dirty),TENEO calls getBList() method of ClassA,which force to load bList as eagerly.

B Regards,
Anubhav
Previous Topic:removed
Next Topic:Connections from Connection Pool closed by database -> EL hangs
Goto Forum:
  


Current Time: Thu Apr 24 11:39:27 EDT 2014

Powered by FUDForum. Page generated in 0.04540 seconds