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 |
selectByParentSubSelect(String subSelect) |
String |
selectChildIds() |
String |
selectDistinct(Where where,
String... columnNames) |
String |
selectFunction(SqlFunction function,
String columnName,
Where where) |
String |
selectPrimaryKey(String subselect) |
String |
selectPrimaryKey(Where where) |
String |
selectPrimaryKeyOfJoinedColumn(StatementPopulator statementPopulator,
String joinedColumnName) |
String |
update() |
public SqlBuilder(DaoDescriptor<ENTITY,?> daoDescriptor)
public SqlBuilder(KeylessDaoDescriptor<ENTITY,?> daoDescriptor)
public String selectPrimaryKeyOfJoinedColumn(StatementPopulator statementPopulator, String joinedColumnName)
public String selectFunction(SqlFunction function, String columnName, Where where)
public String selectByColumns(ColumnSelection selectColumnList)
public String selectByColumns(ColumnSelection columnSelection, Order order)
public String selectChildIds()
public String nextSequence()
Copyright © 2019. All rights reserved.