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:
Steve Ebersole 2010-06-14 18:59:10 +00:00
parent 55de9e8e5f
commit 06f9e60a0a
1 changed files with 1 additions and 1 deletions

View File

@ -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() );
}
};
}