KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > sql > RowIdLifetime


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

7
8 package java.sql;
9
10 import java.util.*;
11
12 /**
13  * Enumeration for RowId life-time values.
14  *
15  * @since 1.6
16  */

17
18 public enum RowIdLifetime {
19     
20     /**
21      * Indicates that this data source does not support the ROWID type.
22      */

23     ROWID_UNSUPPORTED,
24   
25     /**
26      * Indicates that the lifetime of a RowId from this data source is indeterminate;
27      * but not one of ROWID_VALID_TRANSACTION, ROWID_VALID_SESSION, or,
28      * ROWID_VALID_FOREVER.
29      */

30     ROWID_VALID_OTHER,
31     
32     /**
33      * Indicates that the lifetime of a RowId from this data source is at least the
34      * containing session.
35      */

36     ROWID_VALID_SESSION,
37     
38     /**
39      * Indicates that the lifetime of a RowId from this data source is at least the
40      * containing transaction.
41      */

42     ROWID_VALID_TRANSACTION,
43     
44     /**
45      * Indicates that the lifetime of a RowId from this data source is, effectively,
46      * unlimited.
47      */

48     ROWID_VALID_FOREVER
49 }
50
Popular Tags