code: @Override
     public DatabaseDataType toDatabaseDataType(final Database database) {
        final DatabaseDataType databaseDataType;
        if (database instanceof DerbyDatabase) {
           databaseDataType = new DatabaseDataType("VARCHAR(32672) FOR BIT DATA");
        } else if (database instanceof H2Database) {
           // User's wanting to use a BLOB can use modifySql.
           databaseDataType = new DatabaseDataType("BINARY");
        } else if (database instanceof OracleDatabase) {
           databaseDataType = new DatabaseDataType("SDO_GEOMETRY");
        } else if (database instanceof PostgresDatabase) {
           databaseDataType = new DatabaseDataType(getName(), getParameters());
        } else {
           databaseDataType = new DatabaseDataType("GEOMETRY");
        }
        return databaseDataType;
     }
docs: Creates the appropriate Geometry <code>DatabaseDataType</code>.