1 21 22 package org.apache.derby.iapi.reference; 23 24 import java.sql.ResultSet ; 25 import javax.transaction.xa.XAResource ; 26 import java.sql.Types ; 27 28 43 44 public interface JDBC20Translation { 45 48 49 52 public static final int CONCUR_READ_ONLY = ResultSet.CONCUR_READ_ONLY; 53 54 public static final int CONCUR_UPDATABLE = ResultSet.CONCUR_UPDATABLE; 55 56 59 public static final int TYPE_FORWARD_ONLY = ResultSet.TYPE_FORWARD_ONLY; 60 public static final int TYPE_SCROLL_INSENSITIVE = ResultSet.TYPE_SCROLL_INSENSITIVE; 61 public static final int TYPE_SCROLL_SENSITIVE = ResultSet.TYPE_SCROLL_SENSITIVE; 62 63 66 public static final int FETCH_FORWARD = ResultSet.FETCH_FORWARD; 67 public static final int FETCH_REVERSE = ResultSet.FETCH_REVERSE; 68 public static final int FETCH_UNKNOWN = ResultSet.FETCH_UNKNOWN; 69 70 73 public static final int XA_ENDRSCAN = XAResource.TMENDRSCAN; 74 public static final int XA_FAIL = XAResource.TMFAIL; 75 public static final int XA_JOIN = XAResource.TMJOIN; 76 public static final int XA_NOFLAGS = XAResource.TMNOFLAGS; 77 public static final int XA_RESUME = XAResource.TMRESUME; 78 public static final int XA_STARTRSCAN = XAResource.TMSTARTRSCAN; 79 public static final int XA_SUCCESS = XAResource.TMSUCCESS; 80 public static final int XA_SUSPEND = XAResource.TMSUSPEND; 81 82 83 86 public static final int SQL_TYPES_JAVA_OBJECT = Types.JAVA_OBJECT; 87 public static final int SQL_TYPES_BLOB = Types.BLOB; 88 public static final int SQL_TYPES_CLOB = Types.CLOB; 89 } 90 | Popular Tags |