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

Coderanch | sameer sood | 5 years ago
  1. 0

    java.sql.SQLException: Parameter #1 has not been set. with hibernate/sybase/jtds executing StoreP

    Coderanch | 5 years ago | sameer sood
    org.hibernate.exception.SQLGrammarException: could not execute query
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    How to use the named parameters with CONTAINS

    Stack Overflow | 4 years ago | user1940268
    org.hibernate.exception.GenericJDBCException: could not execute query
  4. 0

    RE: Deadlock victim with MS SQL Server 2005 - Forums | Liferay

    liferay.com | 1 year ago
    om.liferay.portal.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.LockAcquisitionException: could not execute query

  1. ruifung 1 times, last 3 months ago
12 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

    Parameter #1 has not been set.

    at net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareSQL()
  2. jTDS
    JtdsPreparedStatement.executeQuery
    1. net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareSQL(ConnectionJDBC2.java:649)
    2. net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuery(JtdsPreparedStatement.java:777)
    2 frames
  3. c3p0:JDBC DataSources/Resource Pools
    NewProxyPreparedStatement.executeQuery
    1. com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
    1 frame
  4. Hibernate
    CustomLoader.list
    1. org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
    2. org.hibernate.loader.Loader.getResultSet(Loader.java:1787)
    3. org.hibernate.loader.Loader.doQuery(Loader.java:674)
    4. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
    5. org.hibernate.loader.Loader.doList(Loader.java:2220)
    6. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
    7. org.hibernate.loader.Loader.list(Loader.java:2099)
    8. org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)
    8 frames
  5. Hibernate
    SQLQueryImpl.list
    1. org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)
    2. org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
    3. org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:152)
    3 frames
  6. com.rbs.ird
    DefaultStaticDataLoaderStrategy.main
    1. com.rbs.ird.cachemgr.dao.DefaultStaticDataLoaderStrategy.loadClassDataFromDatabase(DefaultStaticDataLoaderStrategy.java:44)
    2. com.rbs.ird.cachemgr.dao.DefaultStaticDataLoaderStrategy.main(DefaultStaticDataLoaderStrategy.java:66)
    2 frames