• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate failed to find table or store procedure suddenly

 
Mihir V Khanwalkar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Hibernate with EJB and sybase ASE database. In the application i suddenly get exception like below. The exception may last for few minutes and after that application starts working smoothly.

Can somebody please help and let me know why suddenly hibernate session could not find the table

com.sybase.jdbc2.jdbc.SybSQLException: FirmActTb not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).
at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2834)
at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:2156)
at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:220)
at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:203)
at com.sybase.jdbc2.jdbc.SybStatement.queryLoop(SybStatement.java:1596)
at com.sybase.jdbc2.jdbc.SybStatement.executeQuery(SybStatement.java:1581)
at com.sybase.jdbc2.jdbc.SybStatement.executeQuery(SybStatement.java:419)
at jrun.sql.JRunStatement.executeQuery(JRunStatement.java:167)
at com.citigroup.oafin.common.dao.impl.ShortNameQueryDaoImpl.getSNQueryResult(ShortNameQueryDaoImpl.java:104)
at com.citigroup.oafin.common.ejb.CommonBean.getSNQueryResult(CommonBean.java:302)
at com.citigroup.oafin.common.ejb.CommonBean.getSNQueryResult(CommonBean.java:295)
at sun.reflect.GeneratedMethodAccessor1973.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic