java.lang.UnsupportedOperationException: org.hibernate.dialect.Oracle10gDialect does not support resultsets via stored procedures

Stack Overflow | fjkjava | 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

    Call stored procedure using JPA 2.1 and do Sql Result SetMapping to Pojo

    Stack Overflow | 6 months ago | fjkjava
    java.lang.UnsupportedOperationException: org.hibernate.dialect.Oracle10gDialect does not support resultsets via stored procedures

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      org.hibernate.dialect.Oracle10gDialect does not support resultsets via stored procedures

      at org.hibernate.dialect.Dialect.getResultSet()
    2. Hibernate
      Dialect.getResultSet
      1. org.hibernate.dialect.Dialect.getResultSet(Dialect.java:1645)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
      1 frame
    3. org.hibernate.engine
      StandardRefCursorSupport.getResultSet
      1. org.hibernate.engine.jdbc.cursor.internal.StandardRefCursorSupport.getResultSet(StandardRefCursorSupport.java:125)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
      1 frame
    4. org.hibernate.procedure
      ProcedureOutputsImpl$ProcedureCurrentReturnState.buildExtendedReturn
      1. org.hibernate.procedure.internal.ProcedureOutputsImpl$ProcedureCurrentReturnState.buildExtendedReturn(ProcedureOutputsImpl.java:106)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
      1 frame
    5. org.hibernate.result
      OutputsImpl.getCurrent
      1. org.hibernate.result.internal.OutputsImpl$CurrentReturnState.buildOutput(OutputsImpl.java:209)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
      2. org.hibernate.result.internal.OutputsImpl$CurrentReturnState.getOutput(OutputsImpl.java:187)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
      3. org.hibernate.result.internal.OutputsImpl.getCurrent(OutputsImpl.java:108)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
      3 frames
    6. org.hibernate.jpa
      StoredProcedureQueryImpl.execute
      1. org.hibernate.jpa.internal.StoredProcedureQueryImpl.execute(StoredProcedureQueryImpl.java:234)[hibernate-entitymanager-4.3.11.Final.jar:4.3.11.Final]
      1 frame