org.hibernate.exception.GenericJDBCException: could not execute query full stacktrace: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query

  1. 0

    org.hibernate.exception.GenericJDBCException: could not execute query

    Stack Overflow | 4 months ago | Jordan Aspinall
    org.hibernate.exception.GenericJDBCException: could not execute query full stacktrace: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query
  2. 0

    JPA/Hibernate with InheritanceType.JOINED doing select on subclass

    Stack Overflow | 5 years ago | Ren
    org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access: SQLException for SQL [select coach0_.UserId as id0_, coach0_1_.firstName as firstName0_, coach0_1_.surname as surname0_, coach0_1_.email as email0_, coach0_1_.organization as organiza5_0_, coach0_1_.hashedPassword as hashedPa6_0_, coach0_1_.confirmedRegistration as confirme7_0_ from Coach coach0_ inner join User coach0_1_ on coach0_.UserId=coach0_1_.id]; SQL state [3D000]; error code [1046]; could not execute query; nested exception is org.hibernate.exception.GenericJDBCException: could not execute query
  3. 0

    Hibernate / Mailing Lists

    sourceforge.net | 8 months ago
    org.hibernate.exception.GenericJDBCException: could not execute query
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    No database selected GAE

    Stack Overflow | 2 years ago | code578841441
    java.sql.SQLException: No database selected

  1. Kialandei 1 times, last 1 week ago
  2. poroszd 1 times, last 1 year ago
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    No database selected

    at com.mysql.jdbc.SQLError.createSQLException()
  2. MySQL jdbc
    PreparedStatement.executeQuery
    1. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1086)
    2. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
    3. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
    4. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
    5. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
    6. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2834)
    7. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2156)
    8. com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2313)
    8 frames
  3. Hibernate
    QueryLoader.list
    1. org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
    2. org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
    3. org.hibernate.loader.Loader.doQuery(Loader.java:802)
    4. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
    5. org.hibernate.loader.Loader.doList(Loader.java:2542)
    6. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
    7. org.hibernate.loader.Loader.list(Loader.java:2271)
    8. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:459)
    8 frames
  4. Hibernate HQL/JP-QL Parser
    QueryTranslatorImpl.list
    1. org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:365)
    1 frame
  5. Hibernate
    QueryImpl.list
    1. org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
    2. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)
    3. org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
    3 frames
  6. Hibernate EJB
    QueryImpl.getResultList
    1. org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:246)
    1 frame
  7. com.callsystem.business
    callFinder.findCustom
    1. com.callsystem.business.callFinder.findCustom(callFinder.java:215)
    1 frame
  8. com.callsystem.UI
    searchCustomerCallsView$2.buttonClick
    1. com.callsystem.UI.searchCustomerCallsView$2.buttonClick(searchCustomerCallsView.java:99)
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  10. Vaadin
    EventRouter.fireEvent
    1. com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)
    2. com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198)
    3. com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161)
    3 frames
  11. com.vaadin.server
    AbstractClientConnector.fireEvent
    1. com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1008)
    1 frame
  12. Vaadin
    Button$1.click
    1. com.vaadin.ui.Button.fireClick(Button.java:377)
    2. com.vaadin.ui.Button$1.click(Button.java:54)
    2 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  14. com.vaadin.server
    PushAtmosphereHandler.onRequest
    1. com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:158)
    2. com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:118)
    3. com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:408)
    4. com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273)
    5. com.vaadin.server.communication.PushHandler$2.run(PushHandler.java:149)
    6. com.vaadin.server.communication.PushHandler.callWithUi(PushHandler.java:243)
    7. com.vaadin.server.communication.PushHandler.onMessage(PushHandler.java:503)
    8. com.vaadin.server.communication.PushAtmosphereHandler.onMessage(PushAtmosphereHandler.java:88)
    9. com.vaadin.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:78)
    9 frames
  15. atmosphere-runtime
    TomcatWebSocketHandler.onTextData
    1. org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:199)
    2. org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:107)
    3. org.atmosphere.container.TomcatWebSocketUtil.doService(TomcatWebSocketUtil.java:154)
    4. org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket.service(Tomcat7Servlet30SupportWithWebSocket.java:62)
    5. org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2075)
    6. org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:571)
    7. org.atmosphere.websocket.DefaultWebSocketProcessor$3.run(DefaultWebSocketProcessor.java:333)
    8. org.atmosphere.util.VoidExecutorService.execute(VoidExecutorService.java:101)
    9. org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:328)
    10. org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:425)
    11. org.atmosphere.websocket.DefaultWebSocketProcessor.dispatchReader(DefaultWebSocketProcessor.java:795)
    12. org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:527)
    13. org.atmosphere.container.TomcatWebSocketHandler.onTextData(TomcatWebSocketHandler.java:104)
    13 frames
  16. org.apache.catalina
    StreamInbound.onData
    1. org.apache.catalina.websocket.StreamInbound.doOnTextData(StreamInbound.java:190)
    2. org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:138)
    2 frames
  17. org.apache.coyote
    UpgradeProcessor.upgradeDispatch
    1. org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
    1 frame
  18. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:599)
    2. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    2 frames
  19. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    3. java.lang.Thread.run(Thread.java:662)
    3 frames