-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: elements query in many-to-many relation
PostPosted: Fri Apr 09, 2004 9:09 am 
Hello!
I have Data Type Unknown exception when trying to query elements of the collection:

query is
List news = session.find(" from NewsDocument doc where ? in elements(doc.players)", player.getId(), Hibernate.LONG);

class is:

public class NewsDocument {

private Long id;
private String header;
private Set players;

/**
* @return
* @hibernate.set
* lazy = "true"
* inverse = "false"
* table = "NEWSDOCUMENTS_PLAYERS"
* @hibernate.collection-key
* column = "NEWSDOCUMENTS"
* @hibernate.collection-many-to-many
* class = "Player"
* column = "PLAYERS"
*/
public Set getPlayers() {
return players;
}
}

When I tried to query database that way, I got correct SQL Query:

select newsdocume0_.NEWSDOCUMENTID as NEWSDOCU1_,
newsdocume0_.BODY as BODY,
newsdocume0_.NEWSDATE as NEWSDATE,
newsdocume0_.HEADER as HEADER,
newsdocume0_.ISINJURY as ISINJURY,
newsdocume0_.ISTRANSACTION as ISTRANSA6_,
newsdocume0_.STATE as STATE
from NEWSDOCUMENTS newsdocume0_
where (? in
(select players1_.PLAYERS
from NEWSDOCUMENTS_PLAYERS
players1_ where newsdocume0_.NEWSDOCUMENTID=players1_.NEWSDOCUMENTS))

and, as mentioned above Data Type Unknown Exception.
Query " from NewsDocument doc where 1000 in elements(doc.players)"
works fine without any exceptions. Right now I got some workaround changing my query to
"select doc from NewsDocument doc join doc.players as player where player.id = ? ", but that result in inefficient query - we got an extra join:

select
newsdocume0_.NEWSDOCUMENTID as NEWSDOCU1_,
newsdocume0_.BODY as BODY,
newsdocume0_.NEWSDATE as NEWSDATE,
newsdocume0_.HEADER as HEADER,
newsdocume0_.ISINJURY as ISINJURY,
newsdocume0_.ISTRANSACTION as ISTRANSA6_,
newsdocume0_.STATE as STATE
from NEWSDOCUMENTS newsdocume0_
inner join NEWSDOCUMENTS_PLAYERS players1_
on newsdocume0_.NEWSDOCUMENTID=players1_.NEWSDOCUMENTS
inner join PLAYERS player2_ on players1_.PLAYERS=player2_.PLAYERID
where (player2_.PLAYERID=? )


Top
  
 
 Post subject:
PostPosted: Fri Apr 09, 2004 9:15 am 
P.S.: changing query to
List playerNews = session.find(NewsDocument.QUERY_BY_PLAYER, player, Hibernate.CLASS); leads to the same result (Data Type Unknown exception)


Top
  
 
 Post subject:
PostPosted: Fri Apr 09, 2004 9:41 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Exception stacktrace?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 11, 2004 11:37 pm 
Here they are

Hibernate: select newsdocume0_.NEWSDOCUMENTID as NEWSDOCU1_, newsdocume0_.BODY as BODY, newsdocume0_.NEWSDATE as NEWSDATE, newsdocume0_.HEADER as HEADER, newsdocume0_.ISINJURY as ISINJURY, newsdocume0_.ISTRANSACTION as ISTRANSA6_, newsdocume0_.STATE as STATE from NEWSDOCUMENTS newsdocume0_ where (? in(select players1_.PLAYERS from NEWSDOCUMENTS_PLAYERS players1_ where newsdocume0_.NEWSDOCUMENTID=players1_.NEWSDOCUMENTS))
2004-04-12 10:35:02,903 WARN net.sf.hibernate.util.JDBCExceptionReporter - SQL Error: 335544569, SQLState: null
2004-04-12 10:35:02,903 ERROR net.sf.hibernate.util.JDBCExceptionReporter - GDS Exception 335544569. Dynamic SQL Error
SQL error code = -804
Data type unknown
2004-04-12 10:35:02,903 WARN net.sf.hibernate.util.JDBCExceptionReporter - SQL Error: 335544569, SQLState: null
2004-04-12 10:35:02,903 ERROR net.sf.hibernate.util.JDBCExceptionReporter - GDS Exception 335544569. Dynamic SQL Error
SQL error code = -804
Data type unknown
2004-04-12 10:35:02,923 ERROR net.sf.hibernate.util.JDBCExceptionReporter - Could not execute query
org.firebirdsql.jdbc.FBSQLException: GDS Exception 335544569. Dynamic SQL Error
SQL error code = -804
Data type unknown
at org.firebirdsql.jdbc.FBPreparedStatement.<init>(FBPreparedStatement.java:71)
at org.firebirdsql.jdbc.FBConnection.prepareStatement(FBConnection.java:227)
at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:249)
at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:223)
at net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java:65)
at net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:708)
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:185)
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
at net.sf.hibernate.loader.Loader.doList(Loader.java:954)
at net.sf.hibernate.loader.Loader.list(Loader.java:945)
at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:834)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1507)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1486)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1482)
at com.gepcom.fs.actions.player.ViewPlayerAction.execute(ViewPlayerAction.java:36)
at com.gepcom.fs.actions.user.AbstractUserAction.execute(AbstractUserAction.java:28)
at com.olmisoft.web.framework.FrameworkServlet$ActionExecutor.execute(FrameworkServlet.java:500)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.gepcom.fs.framework.RegistrationInterceptor.execute(RegistrationInterceptor.java:62)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.gepcom.fs.framework.SeasonInterceptor.execute(SeasonInterceptor.java:26)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.olmisoft.hibernate.HibernateInterceptor.execute(HibernateInterceptor.java:39)
at com.olmisoft.web.framework.FrameworkServlet.doAction(FrameworkServlet.java:398)
at com.olmisoft.web.framework.FrameworkServlet.service(FrameworkServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Unknown Source)
at
org.firebirdsql.gds.GDSException: Dynamic SQL Error
SQL error code = -804
Data type unknown
at org.firebirdsql.jgds.GDS_Impl.readStatusVector(GDS_Impl.java:1756)
at org.firebirdsql.jgds.GDS_Impl.receiveResponse(GDS_Impl.java:1709)
at org.firebirdsql.jgds.GDS_Impl.isc_dsql_prepare(GDS_Impl.java:1220)
at org.firebirdsql.jca.FBManagedConnection.prepareSQL(FBManagedConnection.java:768)
at org.firebirdsql.jdbc.FBConnection.prepareSQL(FBConnection.java:1091)
at org.firebirdsql.jdbc.FBStatement.prepareFixedStatement(FBStatement.java:964)
at org.firebirdsql.jdbc.FBPreparedStatement.prepareFixedStatement(FBPreparedStatement.java:694)
at org.firebirdsql.jdbc.FBPreparedStatement.<init>(FBPreparedStatement.java:66)
at org.firebirdsql.jdbc.FBConnection.prepareStatement(FBConnection.java:227)
at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:249)
at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:223)
at net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java:65)
at net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:708)
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:185)
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
at net.sf.hibernate.loader.Loader.doList(Loader.java:954)
at net.sf.hibernate.loader.Loader.list(Loader.java:945)
at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:834)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1507)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1486)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1482)
at com.gepcom.fs.actions.player.ViewPlayerAction.execute(ViewPlayerAction.java:36)
at com.gepcom.fs.actions.user.AbstractUserAction.execute(AbstractUserAction.java:28)
at com.olmisoft.web.framework.FrameworkServlet$ActionExecutor.execute(FrameworkServlet.java:500)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.gepcom.fs.framework.RegistrationInterceptor.execute(RegistrationInterceptor.java:62)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.gepcom.fs.framework.SeasonInterceptor.execute(SeasonInterceptor.java:26)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.olmisoft.hibernate.HibernateInterceptor.execute(HibernateInterceptor.java:39)
at com.olmisoft.web.framework.FrameworkServlet.doAction(FrameworkServlet.java:398)
at com.olmisoft.web.framework.FrameworkServlet.service(FrameworkServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Unknown Source)
2004-04-12 10:35:03,153 WARN com.gepcom.fs.framework.FantasySportsHibernateInterceptor - Error in com.gepcom.fs.framework.SeasonInterceptor.execute()
net.sf.hibernate.JDBCException: Could not execute query
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1510)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1486)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1482)
at com.gepcom.fs.actions.player.ViewPlayerAction.execute(ViewPlayerAction.java:36)
at com.gepcom.fs.actions.user.AbstractUserAction.execute(AbstractUserAction.java:28)
at com.olmisoft.web.framework.FrameworkServlet$ActionExecutor.execute(FrameworkServlet.java:500)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.gepcom.fs.framework.RegistrationInterceptor.execute(RegistrationInterceptor.java:62)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.gepcom.fs.framework.SeasonInterceptor.execute(SeasonInterceptor.java:26)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.olmisoft.hibernate.HibernateInterceptor.execute(HibernateInterceptor.java:39)
at com.olmisoft.web.framework.FrameworkServlet.doAction(FrameworkServlet.java:398)
at com.olmisoft.web.framework.FrameworkServlet.service(FrameworkServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Unknown Source)
Caused by: org.firebirdsql.jdbc.FBSQLException: GDS Exception 335544569. Dynamic SQL Error
SQL error code = -804
Data type unknown
at org.firebirdsql.jdbc.FBPreparedStatement.<init>(FBPreparedStatement.java:71)
at org.firebirdsql.jdbc.FBConnection.prepareStatement(FBConnection.java:227)
at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:249)
at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:223)
at net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java:65)
at net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:708)
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:185)
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
at net.sf.hibernate.loader.Loader.doList(Loader.java:954)
at net.sf.hibernate.loader.Loader.list(Loader.java:945)
at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:834)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1507)
... 43 more
2004-04-12 10:35:03,354 DEBUG com.gepcom.fs.framework.FantasySportsHibernateInterceptor - rollback
2004-04-12 10:35:03,354 DEBUG com.gepcom.fs.framework.FantasySportsHibernateInterceptor - closeSession
2004-04-12 10:35:03,354 ERROR com.gepcom.fs.framework.FantasyServlet - Error in doAction()
net.sf.hibernate.JDBCException: Could not execute query
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1510)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1486)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1482)
at com.gepcom.fs.actions.player.ViewPlayerAction.execute(ViewPlayerAction.java:36)
at com.gepcom.fs.actions.user.AbstractUserAction.execute(AbstractUserAction.java:28)
at com.olmisoft.web.framework.FrameworkServlet$ActionExecutor.execute(FrameworkServlet.java:500)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.gepcom.fs.framework.RegistrationInterceptor.execute(RegistrationInterceptor.java:62)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.gepcom.fs.framework.SeasonInterceptor.execute(SeasonInterceptor.java:26)
at com.olmisoft.web.framework.Interceptor.execute(Interceptor.java:24)
at com.olmisoft.hibernate.HibernateInterceptor.execute(HibernateInterceptor.java:39)
at com.olmisoft.web.framework.FrameworkServlet.doAction(FrameworkServlet.java:398)
at com.olmisoft.web.framework.FrameworkServlet.service(FrameworkServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Unknown Source)
Caused by: org.firebirdsql.jdbc.FBSQLException: GDS Exception 335544569. Dynamic SQL Error
SQL error code = -804
Data type unknown
at org.firebirdsql.jdbc.FBPreparedStatement.<init>(FBPreparedStatement.java:71)
at org.firebirdsql.jdbc.FBConnection.prepareStatement(FBConnection.java:227)
at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:249)
at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:223)
at net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java:65)
at net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:708)
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:185)
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
at net.sf.hibernate.loader.Loader.doList(Loader.java:954)
at net.sf.hibernate.loader.Loader.list(Loader.java:945)
at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:834)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1507)
... 43 more


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.