We're updating the issue view to help you get more done. 

SQLFeatureNotSupportedException with Postgres dialect

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:

1 2 3 4 5 6 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.

Environment

None

Status

Assignee

Unassigned

Reporter

Giovanni Lovato

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.2.12

Priority

Major