Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * See the file LICENSE for redistribution information.
  * Copyright (c) 2002, 2013 Oracle and/or its affiliates.  All rights reserved.

Status values from database operations.
public enum OperationStatus {

The operation was successful.

The operation to insert data was configured to not allow overwrite and the key already exists in the database.

The cursor operation was unsuccessful because the current record was deleted. This can only occur if a Cursor is positioned to an existing record, then the record is deleted, and then the getCurrent, putCurrent, or delete methods is called.

The requested key/data pair was not found.

    public String toString() {
        return "OperationStatus." + name();
New to GrepCode? Check out our FAQ X