public class SqlFileInsertQuery extends SqlFileModifyQuery implements InsertQuery
| Modifier and Type | Class and Description |
|---|---|
protected class |
SqlFileInsertQuery.EntityHandler<E> |
protected static class |
SqlFileInsertQuery.SqlFilePostInsertContext<E> |
protected static class |
SqlFileInsertQuery.SqlFilePreInsertContext<E> |
| Modifier and Type | Field and Description |
|---|---|
protected SqlFileInsertQuery.EntityHandler<?> |
entityHandler |
protected boolean |
nullExcluded |
EMPTY_STRINGS, excludedPropertyNames, executable, includedPropertyNames, kind, optimisticLockCheckRequired, parameters, sql, sqlExecutionSkipCause, sqlFilePath, sqlLogTypecallerClassName, callerMethodName, config, message, method, queryTimeout| Constructor and Description |
|---|
SqlFileInsertQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
complete() |
void |
generateId(java.sql.Statement statement) |
<E> E |
getEntity(java.lang.Class<E> entityType) |
protected void |
preInsert() |
void |
prepare() |
protected void |
prepareExecutable() |
<E> void |
setEntityAndEntityType(java.lang.String name,
E entity,
EntityType<E> entityType) |
void |
setNullExcluded(boolean nullExcluded) |
addParameter, addParameterInternal, expandColumns, getSql, getSqlExecutionSkipCause, getSqlLogType, isAutoGeneratedKeysSupported, isExecutable, isOptimisticLockCheckRequired, populateValues, prepareOptions, prepareSql, setExcludedPropertyNames, setIncludedPropertyNames, setSqlFilePath, setSqlLogType, toStringcomment, getClassName, getConfig, getMethod, getMethodName, getQueryTimeout, setCallerClassName, setCallerMethodName, setConfig, setMessage, setMethod, setQueryTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSql, getSqlExecutionSkipCause, getSqlLogType, isAutoGeneratedKeysSupported, isExecutable, isOptimisticLockCheckRequiredcomment, getClassName, getConfig, getMethod, getMethodName, getQueryTimeoutprotected boolean nullExcluded
protected SqlFileInsertQuery.EntityHandler<?> entityHandler
public void prepare()
prepare in interface Queryprepare in class AbstractQueryprotected void preInsert()
protected void prepareExecutable()
public void generateId(java.sql.Statement statement)
generateId in interface InsertQuerypublic <E> E getEntity(java.lang.Class<E> entityType)
public <E> void setEntityAndEntityType(java.lang.String name,
E entity,
EntityType<E> entityType)
setEntityAndEntityType in class SqlFileModifyQuerypublic void setNullExcluded(boolean nullExcluded)