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

SQLFeatureNotSupportedException with Postgres dialect

    Details

    • Type: Bug
    • Status: Awaiting Test Case
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: 5.2.12
    • Fix versions: None
    • Components: hibernate-core
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      Using PostgreSQL95Dialect with use_nationalized_character_data: true , when saving an entity with a Set<String> element collection, if the collection has changes the query fails with:

      java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc.PgPreparedStatement.setNString(int, String) is not yet implemented.
      at org.postgresql.Driver.notImplemented(Driver.java:669)
      at org.postgresql.jdbc.PgPreparedStatement.setNString(PgPreparedStatement.java:1427)
      at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.setNString(WrappedPreparedStatement.java:1745)
      at org.hibernate.type.descriptor.sql.NVarcharTypeDescriptor$1.doBind(NVarcharTypeDescriptor.java:46)
      at org.hibernate.type.descriptor.sql.BasicBinder.bind(BasicBinder.java:74)
      

      May be related to HHH-10693 Closed .

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: