程序包 org.hibernate.jdbc
Essentially defines Work, ReturningWork and
Expectation as well as some exceptions
-
接口概要 接口 说明 Expectation Defines an expected DML operation outcome.ReturningWork<T> A discrete piece of work following the lines ofWorkbut returning a result.Work Contract for performing a discrete piece of JDBC work.WorkExecutorVisitable<T> This interface provides a way to execute unrelated "work" objects using polymorphism. -
类概要 类 说明 AbstractReturningWork<T> An abstract implementation ofReturningWorkthat accepts aWorkExecutorvisitor for executing a discrete piece of work and returning a result.AbstractWork An abstract implementation ofWorkthat accepts aWorkExecutorvisitor for executing a discrete piece of work.Expectations Holds various often usedExpectationdefinitions.Expectations.BasicExpectation Expectations.BasicParamExpectation WorkExecutor<T> A visitor used for executing a discrete piece of work encapsulated in aWorkorReturningWorkinstance.. -
异常错误概要 异常错误 说明 BatchedTooManyRowsAffectedException Much likeTooManyRowsAffectedException, indicates that more rows than what we were expecting were affected.BatchFailedException Indicates a failed batch entry (-3 return).TooManyRowsAffectedException Indicates that more rows were affected then we were expecting to be.