Hi,
I'm trying to call the query.list() method, which I do throughout my application, and it seems to work fine. However, in this one bit of code, it works fine for 2 or 3 times, and then seems to lock up for some reason. I can't tell where it's actually locking in the Hibernate code b/c I'm not sure what class is actually being used.
Code:
Session sess = hibernateTemplate.getSessionFactory().openSession();
Query q = sess.createSQLQuery("Select my.
* from ....")
.addEntity("my", MyClass.class);
;
List<Object> objectArray = (List<Object>)q.list();
.....
This bit of code works fine, like I said, for a few times, but then it just hangs. Any suggestions? Also, which class should I be trying to step through in the debugger?