public class DefaultStatementTransform extends StatementTransformAdapter
beanDbNameConverter, configuration, schema
Constructor and Description |
---|
DefaultStatementTransform() |
DefaultStatementTransform(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
String |
toDelete(Bean bean) |
String |
toInsert(Bean bean) |
SqlAndValues |
toSelect(Bean bean) |
String |
toUpdate(Bean bean) |
checkBeanPropertyNull, getColumnNames, getConditionParams, getConditionSql, getDeleteSql, getFullTableName, getInsertSql, getSchema, getTableName, getTableNameWithSchame, getUpdateSql, setConfiguration, setSchema
public DefaultStatementTransform()
public DefaultStatementTransform(Configuration configuration)
public SqlAndValues toSelect(Bean bean) throws TinyDbException
toSelect
in interface StatementTransform
toSelect
in class StatementTransformAdapter
TinyDbException
public String toInsert(Bean bean) throws TinyDbException
toInsert
in interface StatementTransform
toInsert
in class StatementTransformAdapter
TinyDbException
public String toDelete(Bean bean) throws TinyDbException
toDelete
in interface StatementTransform
toDelete
in class StatementTransformAdapter
TinyDbException
public String toUpdate(Bean bean) throws TinyDbException
toUpdate
in interface StatementTransform
toUpdate
in class StatementTransformAdapter
TinyDbException
Copyright © 2006–2018 TinyGroup. All rights reserved.