org.hibernate.exception.GenericJDBCException

could not advance using next()

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1369

  • could not advance using next()
  • via spring.io by Unknown author, 1 year ago
    could not advance using next()
  • could not advance using next()
  • Stack trace

    • org.hibernate.exception.GenericJDBCException: could not advance using next() at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:95) at org.hibernate.internal.ScrollableResultsImpl.convert(ScrollableResultsImpl.java:69) at org.hibernate.internal.ScrollableResultsImpl.next(ScrollableResultsImpl.java:104) at org.hibernate.search.jsr352.internal.BatchItemReader.readItem(BatchItemReader.java:137) at org.jberet.runtime.runner.ChunkRunner.readItem(ChunkRunner.java:353) at org.jberet.runtime.runner.ChunkRunner.readProcessWriteItems(ChunkRunner.java:305) at org.jberet.runtime.runner.ChunkRunner.run(ChunkRunner.java:201) at org.wildfly.extension.batch.jberet.impl.BatchEnvironmentService$WildFlyBatchEnvironment$1.run(BatchEnvironmentService.java:243) at org.wildfly.extension.requestcontroller.RequestController$QueuedTask$1.run(RequestController.java:497) at org.jberet.spi.JobExecutor$3.run(JobExecutor.java:161) at org.jberet.spi.JobExecutor$1.run(JobExecutor.java:99) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.sql.SQLException: IJ031040: Connection is not associated with a managed connection: org.jboss.jca.adapters.jdbc.jdk7.WrappedConnectionJDK7@472de7db at org.jboss.jca.adapters.jdbc.WrappedConnection.lock(WrappedConnection.java:164) at org.jboss.jca.adapters.jdbc.WrappedStatement.lock(WrappedStatement.java:138) at org.jboss.jca.adapters.jdbc.WrappedResultSet.lock(WrappedResultSet.java:6022) at org.jboss.jca.adapters.jdbc.WrappedResultSet.next(WrappedResultSet.java:2679) at org.hibernate.internal.ScrollableResultsImpl.next(ScrollableResultsImpl.java:99) ... 12 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 6 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago