Hi,
I have been using hibernate3 for my present project and application server used is weblogic 8.1.
Now I have a complex query which runs fine and retrieves data using jdbc connection in hibernate.cfg.xml.
But whenever I deploy using datasource connection to the weblogic it stops the weblogic server and halting all applications running on it.
I had tried to investigate what is wrong and found out that <property name="query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
when set even in jdbc connection I'm not able to fetch data.When I remove this I do not get error and retrieves data.
But when I try to use this in weblogic with the datasource I get a HibernateException and when I remove it or try to use "org.hibernate.hql.ast.ASTQueryTranslatorFactory"
in the property hibernate.cfg.xml , it restarts the weblogic.
Now this is becoming a great problem in development. can anyone please can help me out of this situation as soon as possible.
|