public class ModelBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static ModelBuilder |
me |
| Constructor and Description |
|---|
ModelBuilder() |
| 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) |
void |
buildLabelNamesAndTypes(ResultSetMetaData rsmd,
String[] labelNames,
int[] types) |
Object |
handleArray(Array array) |
byte[] |
handleBlob(Blob blob) |
String |
handleClob(Clob clob) |
public static final ModelBuilder me
public <T> List<T> build(ResultSet rs, Class<? extends Model> modelClass) throws SQLException, ReflectiveOperationException
public <T> List<T> build(ResultSet rs, Class<? extends Model> modelClass, java.util.function.Function<T,Boolean> func) throws SQLException, ReflectiveOperationException
public void buildLabelNamesAndTypes(ResultSetMetaData rsmd, String[] labelNames, int[] types) throws SQLException
SQLExceptionpublic byte[] handleBlob(Blob blob) throws SQLException
SQLExceptionpublic String handleClob(Clob clob) throws SQLException
SQLExceptionCopyright © 2025. All rights reserved.