-->
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.  [ 2 posts ] 
Author Message
 Post subject: hibernate could not execute query?
PostPosted: Sat Oct 06, 2007 3:21 pm 
Newbie

Joined: Thu Aug 30, 2007 10:03 am
Posts: 8
Hi,

i want to develop a simple WEb Application.

I use Hibernate + JSF + Firebird DB + JBOSS Server.

Now i have deployed my project in the deploy directory of the application server and became the following failure message:



Code:
exception

javax.servlet.ServletException: #{loginAction.login}: javax.faces.el.EvaluationException: org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access; nested exception is org.hibernate.exception.GenericJDBCException: could not execute query
   javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
   org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
   org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
   org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

javax.faces.FacesException: #{loginAction.login}: javax.faces.el.EvaluationException: org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access; nested exception is org.hibernate.exception.GenericJDBCException: could not execute query
   com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78)
   javax.faces.component.UICommand.broadcast(UICommand.java:312)
   javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
   javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
   com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
   com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
   com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
   javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
   org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
   org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
   org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)




Does anybody knows how to fix this problem?

Thanx

Tony


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 06, 2007 6:43 pm 
Regular
Regular

Joined: Sun Sep 30, 2007 7:51 pm
Posts: 93
try enable hibernate's property show_sql=true and see what query fails.

Regards,
Pavol


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.