org.dellroad.stuff.dao
Class UpdateCallback

java.lang.Object
  extended by org.dellroad.stuff.dao.QueryCallback<Integer>
      extended by org.dellroad.stuff.dao.UpdateCallback
All Implemented Interfaces:
JpaCallback<Integer>

public abstract class UpdateCallback
extends QueryCallback<Integer>

Helper class for JPA bulk updates.


Constructor Summary
UpdateCallback()
           
 
Method Summary
protected  Integer executeQuery(Query query)
          Execute the query.
 
Methods inherited from class org.dellroad.stuff.dao.QueryCallback
buildQuery, doInJpa
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateCallback

public UpdateCallback()
Method Detail

executeQuery

protected final Integer executeQuery(Query query)
Description copied from class: QueryCallback
Execute the query.

Specified by:
executeQuery in class QueryCallback<Integer>