java.lang.UnsupportedOperationException: The application must supply JDBC connections

Stack Overflow | javatechnology | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.UnsupportedOperationException: The application must supply JDBC connections in Spring JPA JNDI example

    Stack Overflow | 6 months ago | javatechnology
    java.lang.UnsupportedOperationException: The application must supply JDBC connections
  2. 0

    HikariCP as Hibernate's ConnectionProvider

    Google Groups | 3 years ago | Luca Burgazzoli
    java.lang.UnsupportedOperationException: org.hibernate.dialect.HSQLDialect does not support resultsets via stored procedures
  3. 0

    jpa UnsupportedOperationException: query result offset is not supported

    Stack Overflow | 2 months ago | BeeNoisy
    java.lang.UnsupportedOperationException: query result offset is not supported
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      The application must supply JDBC connections

      at org.hibernate.service.jdbc.connections.internal.UserSuppliedConnectionProviderImpl.getConnection()
    2. Hibernate
      QueryImpl.list
      1. org.hibernate.service.jdbc.connections.internal.UserSuppliedConnectionProviderImpl.getConnection(UserSuppliedConnectionProviderImpl.java:62)
      2. org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:292)
      3. org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:214)
      4. org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:157)
      5. org.hibernate.engine.jdbc.internal.StatementPreparerImpl.connection(StatementPreparerImpl.java:56)
      6. org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:161)
      7. org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:182)
      8. org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:159)
      9. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1858)
      10. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1835)
      11. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1815)
      12. org.hibernate.loader.Loader.doQuery(Loader.java:899)
      13. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:341)
      14. org.hibernate.loader.Loader.doList(Loader.java:2522)
      15. org.hibernate.loader.Loader.doList(Loader.java:2508)
      16. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2338)
      17. org.hibernate.loader.Loader.list(Loader.java:2333)
      18. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:490)
      19. org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355)
      20. org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:195)
      21. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1269)
      22. org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)
      22 frames
    3. Hibernate EJB
      QueryImpl.getResultList
      1. org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:264)
      1 frame
    4. com.transcelerate.common
      DemoTest.testgetStudyUserRolesBySite
      1. com.transcelerate.common.jpa.repository.DemoTest.testgetStudyUserRolesBySite(JPATest.java:40)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    6. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
      13. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      14. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
      15. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      15 frames
    7. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      1 frame
    8. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames