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

Stack Overflow | Humoyun | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hibernate Search: GenericJDBCException: could not extract ResultSet

    Stack Overflow | 8 months ago | Humoyun
    org.hibernate.exception.GenericJDBCException: could not extract ResultSet
  2. 0

    GitHub comment 506#253572452

    GitHub | 6 months ago | patrickzurek
    com.mysql.jdbc.PacketTooBigException: Packet for query is too large (59179710 > 16776192). You can change this value on the server by setting th e max_allowed_packet' variable.

    1 unregistered visitors

    Root Cause Analysis

    1. com.mysql.jdbc.PacketTooBigException

      Packet for query is too large (7501 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.

      at com.mysql.jdbc.MysqlIO.send()
    2. MySQL jdbc
      PreparedStatement.executeQuery
      1. com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3671)
      2. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2508)
      3. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2673)
      4. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2549)
      5. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
      6. com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1962)
      6 frames
    3. Hibernate
      CriteriaImpl.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.criteria.CriteriaLoader.list(CriteriaLoader.java:126)
      12. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1718)
      13. org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:380)
      13 frames
    4. Hibernate Search ORM
      FullTextQueryImpl.list
      1. org.hibernate.search.query.hibernate.impl.CriteriaObjectsInitializer.initializeObjects(CriteriaObjectsInitializer.java:110)
      2. org.hibernate.search.query.hibernate.impl.QueryLoader.executeLoad(QueryLoader.java:93)
      3. org.hibernate.search.query.hibernate.impl.AbstractLoader.load(AbstractLoader.java:75)
      4. org.hibernate.search.query.hibernate.impl.FullTextQueryImpl.list(FullTextQueryImpl.java:217)
      4 frames
    5. full_text_search_modul
      SearchApp.main
      1. full_text_search_modul.FullTextSearchClass.search(FullTextSearchClass.java:87)
      2. full_text_search_modul.FullTextSearchClass.printTweets(FullTextSearchClass.java:120)
      3. full_text_search_modul.SearchApp.main(SearchApp.java:38)
      3 frames