Quote:
Session session = HibernateUtil.getSessionFactory().getCurrentSession();
session.beginTransaction();
String query = " from Obj ";
List appResult = session.createQuery(query).list();
return appResult;
From your previuos post, I get that the quoted text is used for querying. I see a session.beginTransaction() but we do not have a matching counterpart to end the transaction. Could that be an issue??? Do we need a transaction at all in this case?
Quote:
By the way, Sukirtha-by any chance r u a Bong-Sylheti.
No I am not :)