HHH-3579 - Support for PostgreSQL UUID data type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19726 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
55de9e8e5f
commit
06f9e60a0a
|
@ -68,7 +68,7 @@ public class PostgresUUIDType extends AbstractSingleColumnStandardBasicType<UUID
|
|||
return new BasicBinder<X>( javaTypeDescriptor, this ) {
|
||||
@Override
|
||||
protected void doBind(PreparedStatement st, X value, int index, WrapperOptions options) throws SQLException {
|
||||
st.setObject( index, javaTypeDescriptor.unwrap( value, UUID.class, options ) );
|
||||
st.setObject( index, javaTypeDescriptor.unwrap( value, UUID.class, options ), getSqlType() );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue