public class Create extends BaseAction
| 限定符和类型 | 字段和说明 |
|---|---|
static Integer |
INSERT_OK_INT |
static Long |
INSERT_OK_LONG |
static String |
INSERT_OK_STR |
startTime| 限定符和类型 | 方法和说明 |
|---|---|
CreateResult<Serializable> |
execute(boolean isAutoIns) |
<T extends Serializable> |
execute(boolean isAutoIns,
Class<T> idType)
Execute the creation
|
getResultBean, getResultMappublic static final Long INSERT_OK_LONG
public static final Integer INSERT_OK_INT
public Create(Action action)
action - an action object with input Sql, data and config.public <T extends Serializable> CreateResult<T> execute(boolean isAutoIns, Class<T> idType)
T - The type of id. It can be Long, Integer, String, or their type in common: SerializableisAutoIns - Is this auto increment id?idType - The type of newly id. If you provided, it'll avoid a type case.public CreateResult<Serializable> execute(boolean isAutoIns)
Copyright © 2016–2026 AJAXJS. All rights reserved.