Hi All,
i am using hibernate. My problem is that when i am using the methods which gets me the data from the database locally using the User Interface is working fine. But i am calling this method using RMI it is giving exception which is like this.
The DB exception is : could not execute query using iterate
My code is like this :
Session session = HibernateUtil.getSessionFactory().openSession();
String SQL_QUERY = "from RuleTemplateVO where templateName = ?";
Query query = session.createQuery(SQL_QUERY);
query.setString(0,templateName);
Iterator it = query.iterate();
...........
again i included all the jars in my build path.
If anybody gives there thought on this it will be greate.
Thanks in advance.
Mahantesh.
|