ENTITY
- The type of the entity being persisted.public class SqlBuilder<ENTITY> extends Object implements Queries
PreparedStatement
s.
Most users of hrorm will have no need to directly use this.
Constructor and Description |
---|
SqlBuilder(DaoDescriptor<ENTITY,?> daoDescriptor) |
SqlBuilder(KeylessDaoDescriptor<ENTITY,?> daoDescriptor) |
Modifier and Type | Method and Description |
---|---|
String |
delete() |
String |
insert() |
String |
nextSequence() |
String |
select() |
String |
select(Order order) |
String |
select(Where where) |
String |
select(Where where,
Order order) |
String |
selectByColumns(ColumnSelection selectColumnList) |
String |
selectByColumns(ColumnSelection columnSelection,
Order order) |
String |
selectChildIds(String parentColumn) |
String |
selectDistinct(Where where,
String... columnNames) |
String |
selectFunction(SqlFunction function,
String columnName,
Where where) |
String |
update() |
public SqlBuilder(DaoDescriptor<ENTITY,?> daoDescriptor)
public SqlBuilder(KeylessDaoDescriptor<ENTITY,?> daoDescriptor)
public String selectFunction(SqlFunction function, String columnName, Where where)
public String selectByColumns(ColumnSelection selectColumnList)
public String selectByColumns(ColumnSelection columnSelection, Order order)
public String nextSequence()
Copyright © 2019. All rights reserved.