Re: [hibernate-dev] large hql queries holding classloader lock for too long in weblogic

2008-12-30 Thread Steve Ebersole
The way this constant check occurs is much different in the new code on which I am working right now. The code you are looking at (the visitation) was a band-aid. The better way to do it is as part of the tree building which is what happens now. The recursive descent here is known to be problema

Re: [hibernate-dev] large hql queries holding classloader lock for too long in weblogic

2008-12-30 Thread Chris Bredesen
Umesh, This is good information but it should be raised on the user forum or perhaps filed as a JIRA with a test case. This list is for discussion of the development of Hibernate (not *using* Hibernate). Cheers, Chris Unmesh joshi wrote: Hi, We had an issue in our project where large hql

[hibernate-dev] large hql queries holding classloader lock for too long in weblogic

2008-12-29 Thread Unmesh joshi
Hi, We had an issue in our project where large hql expressions holding on lock to ChangeAwareClassloader in weblogic. We had an hql query which was like select * from ClassA a where a.identifier = 'id1' or a.identifier='id2' or . a.identifier='id1000'. This was certain