aspose file tools
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
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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)
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: hibernate failed to find table or store procedure suddenly
 
Similar Threads
SybSQLException
com.sybase.jdbc2.jdbc.SybSQLException: Too many parameters -- symbol table overflow.
Connection is already closed due to Firewall
Connection is already closed.due to Firewall
Deadlock problems with Hibernate/Spring/MS-SQL