Uploaded image for project: 'Hibernate ORM'
  1. HHH-8687

Better exception message for PostgreSQL81Dialect and named REF_CURSOR parameter binding

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.3.0.Beta5
    • Fix Version/s: 5.2.2, 5.1.1
    • Component/s: None
    • Labels:
      None
    • Last commented by a user?:
      true
    • Sprint:

      Description

      This exception message in PostgreSQL81Dialect should be changed to "supports only REF_CURSOR parameters by position":

      	@Override
      	public ResultSet getResultSet(CallableStatement statement, String name) throws SQLException {
      		throw new UnsupportedOperationException( "PostgreSQL only supports accessing REF_CURSOR parameters by name" );
      	}
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: