HHH-6242 no Types.BINARY type mapping in PostgresqlDialect
This commit is contained in:
parent
c1415b4b8f
commit
3b8678864a
|
@ -70,6 +70,7 @@ public class PostgreSQLDialect extends Dialect {
|
|||
registerColumnType( Types.TIME, "time" );
|
||||
registerColumnType( Types.TIMESTAMP, "timestamp" );
|
||||
registerColumnType( Types.VARBINARY, "bytea" );
|
||||
registerColumnType( Types.BINARY, "bytea" );
|
||||
registerColumnType( Types.LONGVARCHAR, "text" );
|
||||
registerColumnType( Types.LONGVARBINARY, "bytea" );
|
||||
registerColumnType( Types.CLOB, "text" );
|
||||
|
|
|
@ -200,14 +200,14 @@ public final class Nullability {
|
|||
|
||||
/**
|
||||
* Return a well formed property path.
|
||||
* Basicaly, it will return parent.child
|
||||
* Basically, it will return parent.child
|
||||
*
|
||||
* @param parent parent in path
|
||||
* @param child child in path
|
||||
* @return parent-child path
|
||||
*/
|
||||
private static String buildPropertyPath(String parent, String child) {
|
||||
return new StringBuffer( parent.length() + child.length() + 1 )
|
||||
return new StringBuilder( parent.length() + child.length() + 1 )
|
||||
.append(parent).append('.').append(child).toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue