Exemple #1
0
 @Override
 public <E extends Enum<E>> String visitEnumWrapper(
     EnumWrapper<E> wrapper, SqlLogFormattingFunction p, Void q) throws RuntimeException {
   return p.apply(wrapper, new EnumType<E>(wrapper.getBasicClass()));
 }
Exemple #2
0
 @Override
 public <E extends Enum<E>> Void visitEnumWrapper(
     EnumWrapper<E> wrapper, JdbcMappingFunction p, JdbcMappingHint q) throws SQLException {
   return p.apply(wrapper, new EnumType<E>(wrapper.getBasicClass()));
 }