FileDocCategorySizeDatePackage
RowIdLifetime.javaAPI DocJava SE 6 API1140Tue Jun 10 00:25:50 BST 2008java.sql

RowIdLifetime.java

/*
 * @(#)RowIdLifetime.java	1.4 05/11/17
 *
 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package java.sql;

import java.util.*;

/**
 * Enumeration for RowId life-time values.
 *
 * @since 1.6
 */

public enum RowIdLifetime { 
    
    /**
     * Indicates that this data source does not support the ROWID type.
     */
    ROWID_UNSUPPORTED,
  
    /**
     * Indicates that the lifetime of a RowId from this data source is indeterminate;
     * but not one of ROWID_VALID_TRANSACTION, ROWID_VALID_SESSION, or,  
     * ROWID_VALID_FOREVER.
     */
    ROWID_VALID_OTHER,
    
    /**
     * Indicates that the lifetime of a RowId from this data source is at least the 
     * containing session. 
     */
    ROWID_VALID_SESSION,
    
    /**
     * Indicates that the lifetime of a RowId from this data source is at least the 
     * containing transaction. 
     */
    ROWID_VALID_TRANSACTION,
    
    /**
     * Indicates that the lifetime of a RowId from this data source is, effectively, 
     * unlimited. 
     */
    ROWID_VALID_FOREVER
}