T - the type of object this runner supportspublic class SqlRunner<T> extends Object
Statements,
 executing SQL, and parsing ResultSets.
 Most users of hrorm will have no need to directly use this.
| Constructor and Description | 
|---|
| SqlRunner(Connection connection,
         List<TypedColumn<T>> dataColumns,
         List<JoinColumn<T,?>> joinColumns) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | insert(String sql,
      T item) | 
| List<T> | select(String sql,
      Supplier<T> supplier,
      List<ChildrenDescriptor<T,?>> childrenDescriptors) | 
| List<T> | selectByColumns(String sql,
               Supplier<T> supplier,
               List<String> columnNames,
               Map<String,TypedColumn<T>> columnNameMap,
               List<ChildrenDescriptor<T,?>> childrenDescriptors,
               T item) | 
| void | update(String sql,
      T item) | 
public SqlRunner(Connection connection, List<TypedColumn<T>> dataColumns, List<JoinColumn<T,?>> joinColumns)
public List<T> select(String sql, Supplier<T> supplier, List<ChildrenDescriptor<T,?>> childrenDescriptors)
public List<T> selectByColumns(String sql, Supplier<T> supplier, List<String> columnNames, Map<String,TypedColumn<T>> columnNameMap, List<ChildrenDescriptor<T,?>> childrenDescriptors, T item)
Copyright © 2018. All rights reserved.