java.lang.Object
io.ebeaninternal.server.core.BeanRequest
io.ebeaninternal.server.core.PersistRequest
io.ebeaninternal.server.core.PersistRequestOrmUpdate
- All Implemented Interfaces:
TxnProfileEventCodes,BatchPostExecute
Persist request specifically for CallableSql.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.ebeaninternal.server.core.PersistRequest
PersistRequest.Type -
Field Summary
Fields inherited from class io.ebeaninternal.server.core.PersistRequest
label, startNanos, typeFields inherited from class io.ebeaninternal.server.core.BeanRequest
createdTransaction, server, transactionFields inherited from interface io.ebeaninternal.api.TxnProfileEventCodes
EVT_CALLABLESQL, EVT_COMMIT, EVT_DELETE, EVT_DELETE_PERMANENT, EVT_DELETE_SOFT, EVT_INSERT, EVT_ORMUPDATE, EVT_ROLLBACK, EVT_UPDATE, EVT_UPDATESQL, FIND_ATTRIBUTE, FIND_ATTRIBUTE_SET, FIND_COUNT, FIND_DELETE, FIND_EXISTS, FIND_ID_LIST, FIND_ITERATE, FIND_MANY, FIND_MANY_LAZY, FIND_ONE, FIND_ONE_LAZY, FIND_SUBQUERY, FIND_UPDATE -
Constructor Summary
ConstructorsConstructorDescriptionPersistRequestOrmUpdate(SpiEbeanServer server, BeanManager<?> mgr, SpiUpdate<?> ormUpdate, SpiTransaction t, PersistExecute persistExecute) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckRowCount(int count) No concurrency checking so just note the rowCount.intExecute the request right now.intExecute a the request or queue/batch it for later execution.SpiUpdate<?> Return the UpdateSql.voidPerform post execute processing.voidprofile(long offset, int flushCount) Add as event to the profiling.voidsetBindLog(String bindLog) Set the bound values.voidsetGeneratedKey(Object idValue) Not called for this type of request.Methods inherited from class io.ebeaninternal.server.core.PersistRequest
addTimingBatch, addTimingNoBatch, initTransIfRequired, isBatchThisRequest, isFlushQueue, isPersistCascade, logSql, logSummary, resetDepth, startBind, translateSqlException, typeMethods inherited from class io.ebeaninternal.server.core.BeanRequest
clearTransIfRequired, commitTransIfRequired, createImplicitTransIfRequired, database, dataTimeZone, rollbackTransIfRequired, server, transaction, transaction
-
Constructor Details
-
PersistRequestOrmUpdate
public PersistRequestOrmUpdate(SpiEbeanServer server, BeanManager<?> mgr, SpiUpdate<?> ormUpdate, SpiTransaction t, PersistExecute persistExecute)
-
-
Method Details
-
profile
public void profile(long offset, int flushCount) Description copied from interface:BatchPostExecuteAdd as event to the profiling. -
descriptor
-
executeNow
public int executeNow()Description copied from class:PersistRequestExecute the request right now.- Specified by:
executeNowin classPersistRequest
-
executeOrQueue
public int executeOrQueue()Description copied from class:PersistRequestExecute a the request or queue/batch it for later execution.- Specified by:
executeOrQueuein classPersistRequest
-
ormUpdate
Return the UpdateSql. -
checkRowCount
public void checkRowCount(int count) No concurrency checking so just note the rowCount. -
setGeneratedKey
Not called for this type of request. -
setBindLog
Set the bound values. -
postExecute
public void postExecute()Perform post execute processing.
-