org.nutz.dao.impl
类 EntityOperator
java.lang.Object
org.nutz.dao.impl.EntityOperator
public class EntityOperator
- extends java.lang.Object
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityOperator
public EntityOperator()
exec
public EntityOperator exec()
- 批量执行准备好的 Dao 语句
- 返回:
- 自身
addUpdate
public Pojo addUpdate()
addUpdate
public Pojo addUpdate(Chain chain,
Condition cnd)
addUpdate
public Pojo addUpdate(Entity<?> en,
java.lang.Object obj)
addUpdateForIgnoreNull
public java.util.List<Pojo> addUpdateForIgnoreNull(Entity<?> en,
java.lang.Object obj,
FieldMatcher fm)
addUpdate
public Pojo addUpdate(Condition cnd)
addDeleteSelfOnly
public Pojo addDeleteSelfOnly(long id)
addDeleteSelfOnly
public Pojo addDeleteSelfOnly(java.lang.String name)
addDeleteSelfOnly
public Pojo addDeleteSelfOnly()
addInsert
public java.util.List<Pojo> addInsert()
addInsert
public java.util.List<Pojo> addInsert(Entity<?> en,
java.lang.Object obj)
addInsertSelfOnly
public Pojo addInsertSelfOnly()
addInsertSelfOnly
public Pojo addInsertSelfOnly(Entity<?> en,
java.lang.Object obj)
add
public EntityOperator add(Pojo pojo)
getUpdateCount
public int getUpdateCount()
maker
public PojoMaker maker()
getEntityBy
public Entity<?> getEntityBy(java.lang.Object obj)
getEntity
public Entity<?> getEntity(java.lang.Class<?> type)
makeEntity
public Entity<?> makeEntity(java.lang.String tableName,
java.util.Map<java.lang.String,java.lang.Object> map)