public class KeepByteAndShortModelBuilder extends ModelBuilder
使用示例: MySqlDialect dialect = new MySqlDialect(); dialect.keepByteAndCharType(true); activeRecordPlugin.setDialect(dialect);
| Modifier and Type | Field and Description |
|---|---|
static KeepByteAndShortModelBuilder |
me |
| Constructor and Description |
|---|
KeepByteAndShortModelBuilder() |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
build(ResultSet rs,
Class<? extends Model> modelClass) |
<T> List<T> |
build(ResultSet rs,
Class<? extends Model> modelClass,
java.util.function.Function<T,Boolean> func) |
buildLabelNamesAndTypes, handleArray, handleBlob, handleClobpublic static final KeepByteAndShortModelBuilder me
public <T> List<T> build(ResultSet rs, Class<? extends Model> modelClass) throws SQLException, ReflectiveOperationException
build in class ModelBuilderSQLExceptionReflectiveOperationExceptionpublic <T> List<T> build(ResultSet rs, Class<? extends Model> modelClass, java.util.function.Function<T,Boolean> func) throws SQLException, ReflectiveOperationException
build in class ModelBuilderSQLExceptionReflectiveOperationExceptionCopyright © 2025. All rights reserved.