public interface ObjToSQL
| Modifier and Type | Method and Description |
|---|---|
<T> String |
toDeleteSQL(T entity)
Convert to delete SQL statement according to entity.
|
<T> String |
toDeleteSQL(T entity,
Condition condition)
Convert to delete SQL statement according to entity and condition
|
<T> String |
toInsertSQL(T entity)
Convert to insert SQL statement according to entity.
|
<T> String |
toSelectSQL(T entity)
Convert to select SQL statement according to entity.
|
<T> String |
toSelectSQL(T entity,
Condition condition)
Convert to select SQL statement according to entity and condition.
|
<T> String |
toUpdateSQL(T entity)
Convert to update SQL statement according to entity.
|
<T> String toSelectSQL(T entity)
entity - table's entity(do not allow null).<T> String toUpdateSQL(T entity)
entity - table's entity(do not allow null).<T> String toInsertSQL(T entity)
entity - table's entity(do not allow null).<T> String toDeleteSQL(T entity)
entity - table's entity(do not allow null).<T> String toSelectSQL(T entity, Condition condition)
entity - table's entity(do not allow null).condition - instance of Condition.Copyright © 2022. All rights reserved.