org.hibernate.exception.SQLGrammarException: could not extract ResultSet

GitHub | marcodelucia | 3 months ago
  1. 0

    GitHub comment 26#244043610

    GitHub | 3 months ago | marcodelucia
    org.hibernate.exception.SQLGrammarException: could not extract ResultSet
  2. 0

    GitHub comment 26#244895977

    GitHub | 3 months ago | marcodelucia
    org.hibernate.exception.SQLGrammarException: could not extract ResultSet
  3. 0

    Failed to execute hibernate query

    Stack Overflow | 2 years ago
    org.hibernate.exception.SQLGrammarException: could not extract ResultSet
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception in Hibernate Query- java.lang.IllegalArgumentException

    Stack Overflow | 10 months ago | arch
    org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
  6. 0

    I want to perform stored procedure call using Hibernate query language and tried doing this as pe

    Stack Overflow | 3 months ago | shekar
    org.hibernate.exception.SQLGrammarException: could not extract ResultSet

  1. Kialandei 1 times, last 2 weeks ago
  2. davidvanlaatum 8 times, last 2 months ago
  3. AndrewProg 2 times, last 3 months ago
  4. kuldeep 2 times, last 3 months ago
  5. tvrmsmith 1 times, last 4 months ago
27 more registered users
64 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. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '2 a.raw_data as raw_data150_ FROM 127_0_0_1_2102_0_0_101 a' at line 1

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:408)
    4 frames
  3. MySQL jdbc
    PreparedStatement.executeQuery
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
    2. com.mysql.jdbc.Util.getInstance(Util.java:386)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2825)
    9. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2156)
    10. com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2323)
    10 frames
  4. Hibernate
    SQLQueryImpl.list
    1. org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:82)
    2. org.hibernate.loader.Loader.getResultSet(Loader.java:2066)
    3. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1863)
    4. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1839)
    5. org.hibernate.loader.Loader.doQuery(Loader.java:910)
    6. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:355)
    7. org.hibernate.loader.Loader.doList(Loader.java:2554)
    8. org.hibernate.loader.Loader.doList(Loader.java:2540)
    9. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2370)
    10. org.hibernate.loader.Loader.list(Loader.java:2365)
    11. org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:353)
    12. org.hibernate.internal.SessionImpl.listCustomQuery(SessionImpl.java:1873)
    13. org.hibernate.internal.AbstractSessionImpl.list(AbstractSessionImpl.java:311)
    14. org.hibernate.internal.SQLQueryImpl.list(SQLQueryImpl.java:141)
    14 frames
  5. com.github.pnowy
    NativeCriteria.criteriaResult
    1. com.github.pnowy.nc.core.hibernate.HibernateNativeQuery.list(HibernateNativeQuery.java:24)
    2. com.github.pnowy.nc.core.NativeCriteria.list(NativeCriteria.java:408)
    3. com.github.pnowy.nc.core.NativeCriteria.criteriaResult(NativeCriteria.java:317)
    3 frames
  6. com.mii.mcs32
    Test.main
    1. com.mii.mcs32.databaselayer.hibernate.QueryUtil.getDataRawWithCriteria(QueryUtil.java:138)
    2. com.mii.mcs32.databaselayer.hibernate.Test.main(Test.java:90)
    2 frames