Package com.avaje.ebeaninternal.server.core

Examples of com.avaje.ebeaninternal.server.core.PersistRequestCallableSql


  /**
   * Execute the CallableSql.
   */
  public int executeCallable(CallableSql callSql, Transaction t) {

    PersistRequestCallableSql request = new PersistRequestCallableSql(server, callSql, (SpiTransaction) t, persistExecute);
    try {
      request.initTransIfRequired();
      int rc = request.executeOrQueue();
      request.commitTransIfRequired();
      return rc;

    } catch (RuntimeException e) {
      request.rollbackTransIfRequired();
      throw e;
    }
  }
View Full Code Here

TOP

Related Classes of com.avaje.ebeaninternal.server.core.PersistRequestCallableSql

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.