Skip to main content


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 06:34
Anubhav  is currently offline Anubhav Friend
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: Fri Apr 26 15:47:48 GMT 2024

Powered by FUDForum. Page generated in 0.03675 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top