KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > lutris > appserver > server > sql > standard > DriverSpecificConstants


1 package com.lutris.appserver.server.sql.standard;
2
3 /**
4  *
5  * Constants for use in driver cpecific configuration.
6  *
7  */

8 public interface DriverSpecificConstants {
9     
10     public final String JavaDoc PARAMNAME_USE_CURSOR_NAME = "UseCursorName";
11     public final boolean DEFAULT_USE_CURSOR_NAME = true ;
12     
13     public final String JavaDoc PARAMNAME_DISABLE_FETCH_SIZE_WITH_MAX_ROWS = "DisableFetchSizeWithMaxRows" ;
14     public final boolean DEFAULT_DISABLE_FETCH_SIZE_WITH_MAX_ROWS = false ;
15     
16     public final String JavaDoc PARAMNAME_RESULT_SET_TYPE = "ResultSetType";
17     public final int DEFAULT_RESULT_SET_TYPE = -1;
18     
19     public final String JavaDoc PARAMNAME_RESULT_SET_CONCURRENCY = "ResultSetConcurrency";
20     public final int DEFAULT_RESULT_SET_CONCURRENCY = -1;
21     
22     public final String JavaDoc PARAMNAME_USE_BINARY_STREAM_FOR_LONGVARCHAR = "UseBinaryStreamForLongvarchar";
23     public final boolean DEFAULT_USE_BINARY_STREAM_FOR_LONGVARCHAR = false;
24     
25     public final String JavaDoc PARAMNAME_SET_NULL_AS_VARCHAR = "SetNullAsVarchar";
26     public final boolean DEFAULT_SET_NULL_AS_VARCHAR = false;
27     
28     public final String JavaDoc PARAMNAME_SET_BYTES_AS_LONGVARBINARY = "SetBytesAsLongvarbinary";
29     public final boolean DEFAULT_SET_BYTES_AS_LONGVARBINARY = false;
30     
31     public final String JavaDoc PARAMNAME_CUSTOM_NOT_EQUAL_SQL_OPERATOR = "CustomNotEqualSqlOperator";
32     public final String JavaDoc DEFAULT_CUSTOM_NOT_EQUAL_SQL_OPERATOR = "!=";
33
34     public final String JavaDoc DEFAULT_SET_BYTES_AS_BINARY_STREAM = "false";
35     public final String JavaDoc PARAMNAME_SET_BYTES_AS_BINARY_STREAM = "SetBytesAsBinaryStream";
36     
37     public final String JavaDoc DEFAULT_SET_BOOLEAN_AS_STRING = "true";
38     public final String JavaDoc PARAMNAME_SET_BOOLEAN_AS_STRING = "SetBooleanAsString";
39     
40 }
41
Popular Tags