Hi All,
I have a class/entity 'Department'.
It don't have any references to any other class or entities.
When I fetch it using hibernate like below
Code: [Select all] [Show/ hide] Query query = session.createQuery( "from Department" ); List<EObject> listObj= query.list();
It's taking time in resolving associations as I am seeing below in log
Code: [Select all] [Show/ hide] DEBUG org.hibernate.engine.TwoPhaseLoad - resolving associations for [Department#Dept-1]
Why is this happening even though I don't have associations.
Is there anyway I can tell hibernate to avoid this so that I get quicker turnaround time.
Thanks, Appasamy
|