Examples of DBTransaction


Examples of marauroa.server.db.DBTransaction

   * @param character name of character
   * @return date of character creation or null if no character with that name exists
   * @throws SQLException in case of an database error
   */
  public Date getCreationDate(String character) throws SQLException {
    DBTransaction transaction = TransactionPool.get().beginWork();
    try {
      Date res = getCreationDate(transaction, character);
      return res;
    } finally {
      TransactionPool.get().commit(transaction);
View Full Code Here

Examples of marauroa.server.db.DBTransaction

   * @param zone IRPZone
   * @throws IOException in case of an input/output error
   * @throws SQLException in case of an database error
   */
  public void loadRPZone(IRPZone zone) throws SQLException, IOException {
    DBTransaction transaction = TransactionPool.get().beginWork();
    try {
      loadRPZone(transaction, zone);
    } finally {
      TransactionPool.get().commit(transaction);
    }
View Full Code Here

Examples of marauroa.server.db.DBTransaction

   * @param zone IRPZone
   * @throws IOException in case of an input/output error
   * @throws SQLException in case of an database error
   */
  public void storeRPZone(IRPZone zone) throws IOException, SQLException {
    DBTransaction transaction = TransactionPool.get().beginWork();
    try {
      storeRPZone(transaction, zone);
    } finally {
      TransactionPool.get().commit(transaction);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.