This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes hibernate failed to find table or store procedure suddenly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate failed to find table or store procedure suddenly" Watch "hibernate failed to find table or store procedure suddenly" New topic
Author

hibernate failed to find table or store procedure suddenly

Mihir V Khanwalkar
Greenhorn

Joined: Jun 14, 2010
Posts: 1
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)
 
GeeCON Prague 2014
 
subject: hibernate failed to find table or store procedure suddenly