Package com.avaje.ebeaninternal.server.core

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


  /**
   * Execute the updateSql.
   */
  public int executeSqlUpdate(SqlUpdate updSql, Transaction t) {

    PersistRequestUpdateSql request = new PersistRequestUpdateSql(server, updSql, (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.PersistRequestUpdateSql

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.