tpMgr.runServiceNoHandler("ServiceName", "Name", params );
if (tpMgr.getServiceResult() instanceof ArrayList) {
arBeanName = ((ArrayList) tpMgr.getServiceResult());
tpMgr.clearServiceResult();
}
I am developing appliction with Hibernate technology.
This code i have written in jsp and works fine. , but if i use F5 key to refresh this jsp page it throws an error.
it throws an error like this
Caused by: org.hibernate.exception.GenericJDBCException: could not execute query
at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:1596)
at org.hibernate.loader.Loader.list(Loader.java:1577)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
Thanks in advance
|