java.lang.UnsupportedOperationException: The user must supply a JDBC connection

java2s.com | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Help « Exception « JPA Q&A

    java2s.com | 4 months ago
    java.lang.UnsupportedOperationException: The user must supply a JDBC connection

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      The user must supply a JDBC connection

      at net.sf.hibernate.connection.UserSuppliedConnectionProvider.getConnection()
    2. net.sf.hibernate
      SessionImpl.save
      1. net.sf.hibernate.connection.UserSuppliedConnectionProvider.getConnection(UserSuppliedConnectionProvider.java:32)
      2. net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:278)
      3. net.sf.hibernate.id.TableGenerator.generate(TableGenerator.java:81)
      4. net.sf.hibernate.id.TableHiLoGenerator.generate(TableHiLoGenerator.java:59)
      5. net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:765)
      6. net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:738)
      6 frames
    3. com.k_buy.accor
      CrearUsuarioPrueba.main
      1. com.k_buy.accor.servlet.CrearUsuarioPrueba.processRequest(CrearUsuarioPrueba.java:87)
      2. com.k_buy.accor.servlet.CrearUsuarioPrueba.main(CrearUsuarioPrueba.java:32)
      2 frames