T
- The type of the entity being persisted.public class SqlBuilder<T> extends Object
PreparedStatement
s.
Most users of hrorm will have no need to directly use this.
Constructor and Description |
---|
SqlBuilder(String table,
List<TypedColumn<T>> dataColumns,
List<JoinColumn<T,?>> joinColumns,
PrimaryKey<T> primaryKey) |
Modifier and Type | Method and Description |
---|---|
String |
insert() |
String |
select() |
String |
selectByColumns(String... columnNames) |
String |
update(T item) |
public SqlBuilder(String table, List<TypedColumn<T>> dataColumns, List<JoinColumn<T,?>> joinColumns, PrimaryKey<T> primaryKey)
Copyright © 2018. All rights reserved.