File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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

hibernate failed to find table or store procedure suddenly

Mihir V Khanwalkar

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(
at com.sybase.jdbc2.tds.Tds.nextResult(
at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(
at com.sybase.jdbc2.jdbc.SybStatement.nextResult(
at com.sybase.jdbc2.jdbc.SybStatement.nextResult(
at com.sybase.jdbc2.jdbc.SybStatement.queryLoop(
at com.sybase.jdbc2.jdbc.SybStatement.executeQuery(
at com.sybase.jdbc2.jdbc.SybStatement.executeQuery(
at jrun.sql.JRunStatement.executeQuery(
at com.citigroup.oafin.common.dao.impl.ShortNameQueryDaoImpl.getSNQueryResult(
at com.citigroup.oafin.common.ejb.CommonBean.getSNQueryResult(
at com.citigroup.oafin.common.ejb.CommonBean.getSNQueryResult(
at sun.reflect.GeneratedMethodAccessor1973.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
I agree. Here's the link:
subject: hibernate failed to find table or store procedure suddenly
Similar Threads
com.sybase.jdbc2.jdbc.SybSQLException: Too many parameters -- symbol table overflow.
Connection is already closed due to Firewall
Deadlock problems with Hibernate/Spring/MS-SQL
Connection is already closed.due to Firewall