1 7 package org.enhydra.dods; 8 9 15 16 public interface CommonConstants { 17 18 22 public static final String TRANSACTION_FACTORY = "TransactionFactory"; 23 24 25 29 public static final String CONNECTION_ALLOCATOR = "ConnectionAllocator"; 30 31 32 36 public static final String CONNECTION_FACTORY = "ConnectionFactory"; 37 38 39 43 public static final String QUERY_CACAHE_IMPL_CLASS = "QueryCacheImplClass"; 44 45 49 public static final String INIT_CACHES_RESULT_SET_TYPE = "InitCachesResultSetType"; 50 51 55 public static final String INIT_CACHES_RESULT_SET_CONCURRENCY = "InitCachesResultSetConcurrency"; 56 57 61 public static final String SQL_BATCH = "SQLBatch"; 62 63 67 public static boolean DEFAULT_SQL_BATCH = false; 68 69 70 public static String CASE_INSENSITIVE_DATABASE = "CaseInsensitiveDatabase"; 71 72 73 public static boolean DEFAULT_CASE_INSENSITIVE_DATABASE = false; 74 75 76 80 public static String QUERY_TIME_LIMIT = "QueryTimeLimit"; 81 82 86 public static Integer DEFAULT_QUERY_TIME_LIMIT = null; 87 88 90 91 public static final String XA_DEFAULT_TIMEOUT = "XADefaultTimeout"; 92 public static final int DEFAULT_XA_DEFAULT_TIMEOUT = 120; 93 94 public static final String XA_TM_LOOKUP_NAME = "XATransactonManagerLookupName"; 95 public static final String DEFAULT_XA_TM_LOOKUP_NAME = "java:comp/UserTransaction"; 96 97 public static final String XA_USAGE_CASE = "XAUsageCase"; 98 public static final int DEFAULT_XA_USAGE_CASE = 0; 100 101 public static final String XA_WRAPPED_TRANS_IMPL_FACTORY = "XAWrappedTransImplFactory"; 102 public static final String DEFAULT_XA_WRAPPED_TRANS_IMPL_FACTORY = "com.lutris.appserver.server.sql.standard.StandardDBTransactionFactory"; 104 public static final String XA_USER_TRANSACTION_LOOKUP_NAME = "XaUserTransactonLookupName"; 105 public static final String DEFAULT_XA_USER_TRANSACTION_LOOKUP_NAME = "java:comp/UserTransaction"; 106 107 108 public static final String XA_JTA_SUPPORT = "JTASupport"; 109 public static final String [] XA_JTA_SUPPORT_VALUES = {"MANDATORY","REQUIRED","REQUIRES_NEW","SUPPORTS","NOT_SUPPORTED","NEVER"}; 110 public static final int JTA_MANDATORY = 0; 111 public static final int JTA_REQUIRED = 1; 112 public static final int JTA_REQUIRES_NEW = 2; 113 public static final int JTA_SUPPORTS = 3; 114 public static final int JTA_NOT_SUPPORTED = 4; 115 public static final int JTA_NEVER = 5; 116 public static final String DEFAULT_XA_JTA_SUPPORT = "REQUIRED"; 117 118 120 public static final String DODS_CONFIG_FILE_LOOKUP = "dods/dodsConfigFile"; 121 public static final String JNDI_ENV = "java:/comp/env"; 122 public static final String DODS_CONFIG_FILE_PROPERTY_NAME = "dodsConfigFile"; 123 public static final String DEFAULT_CONFIG_FILE_NAME="/dods/conf/databaseManager.conf"; 124 125 126 127 } 128 | Popular Tags |