Пример #1
0
  @Override
  public void registerSqlTypeToClassMappings(Map<Integer, Class<?>> mappings) {
    super.registerSqlTypeToClassMappings(mappings);

    // clear BLOB, we handle them custom
    mappings.remove(Types.BLOB);
  }
Пример #2
0
 @Override
 public void registerClassToSqlMappings(Map<Class<?>, Integer> mappings) {
   super.registerClassToSqlMappings(mappings);
   mappings.put(Geometry.class, Types.BLOB);
 }