pgjdbc/pgjdbc — pull request #68 by tomdcc (2013-07-07 03:56:28+00:00)
Title: Make PreparedStatement.setObject(pos, value, Types.VARCHAR) respect stringtype=unspecified

Since Hibernate (and maybe other ORMs) calls PreparedStatement.setObject(pos, value, Types.VARCHAR) when mapping java enum types as strings, and we need to use stringtype=unspecified when using typesafe enums at the database level, we need that call to respect stringtype=unspecified.