public class PostgresDatabaseDialect extends DefaultDatabaseDialect
Implementation adds mapping for {code oid} database type to Blob
.
Constructor and Description |
---|
PostgresDatabaseDialect() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getJavaTypeForSQL(int sqlTypeNumber,
String sqlTypeName)
Returns java class for specified SQL type.
|
getMostGenericClass
public Class<?> getJavaTypeForSQL(int sqlTypeNumber, String sqlTypeName)
DatabaseDialect
This method is making mapping between java and SQL types.
getJavaTypeForSQL
in interface DatabaseDialect
getJavaTypeForSQL
in class DefaultDatabaseDialect
sqlTypeNumber
- SQL type number according to Types
sqlTypeName
- SQL type name as returned by databaseCopyright © 2014–2015 Vracon s.r.o.. All rights reserved.