Package org.openrdf.http.server.helpers

Examples of org.openrdf.http.server.helpers.ServerConnection.rollback()


      }
      finally {
        if (autoCommit && !connection.isAutoCommit()) {
          // restore auto-commit by rolling back
          logger.error("Rolling back transaction");
          connection.rollback();
        }
      }
    }
    catch (SAXParseException e) {
      throw new ErrorInfoException(MALFORMED_DATA, e.getMessage());
View Full Code Here


        connection.getCacheInfo().processUpdate();
      }
      finally {
        if (autoCommit && !connection.isAutoCommit()) {
          // restore auto-commit by rolling back'
          connection.rollback();
        }
      }
    }
    catch (UnsupportedRDFormatException e) {
      throw new ResourceException(CLIENT_ERROR_UNSUPPORTED_MEDIA_TYPE,
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.