Package org.teiid.jdbc
Interface ExecutionProperties
-
public interface ExecutionProperties
These execution properties can be set via theTeiidStatement.setExecutionProperty(String, String)
method. They affect the subsequent execution of all commands on that Statement instance. They can also be set using a SET statement via JDBC and take effect for the duration of the session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ExecutionProperties.Values
-
Field Summary
Fields Modifier and Type Field Description static String
ANSI_QUOTED_IDENTIFIERS
Overrides the handling of double quoted identifiers to allow them to be strings.static String
DISABLE_LOCAL_TRANSACTIONS
If true, will ignore autocommit for local transactions.static String
JDBC4COLUMNNAMEANDLABELSEMANTICS
TEIID-1651 A change was made in JDBC4 so that when an 'Alias' is used it will now be returned as the label.static String
NOEXEC
Can be one of ON|OFFstatic String
PROP_FETCH_SIZE
Default fetch size to use on Statements if the fetch size is not explicitly set.static String
PROP_PARTIAL_RESULTS_MODE
Execution property name for partial results modestatic String
PROP_TXN_AUTO_WRAP
Execution property name for transaction auto wrap modestatic String
PROP_XML_FORMAT
Execution property name for XML formatstatic String
PROP_XML_VALIDATION
Execution property name for XML validationstatic String
QUERYTIMEOUT
static String
RESULT_SET_CACHE_MODE
Whether to use result set cache if it is availablestatic String
SQL_OPTION_SHOWPLAN
Can be one of ON|OFF|DEBUG
-
-
-
Field Detail
-
PROP_XML_FORMAT
static final String PROP_XML_FORMAT
Execution property name for XML format- See Also:
- Constant Field Values
-
PROP_XML_VALIDATION
static final String PROP_XML_VALIDATION
Execution property name for XML validation- See Also:
- Constant Field Values
-
PROP_TXN_AUTO_WRAP
static final String PROP_TXN_AUTO_WRAP
Execution property name for transaction auto wrap mode- See Also:
- Constant Field Values
-
PROP_PARTIAL_RESULTS_MODE
static final String PROP_PARTIAL_RESULTS_MODE
Execution property name for partial results mode- See Also:
- Constant Field Values
-
RESULT_SET_CACHE_MODE
static final String RESULT_SET_CACHE_MODE
Whether to use result set cache if it is available- Since:
- 4.2
- See Also:
- Constant Field Values
-
PROP_FETCH_SIZE
static final String PROP_FETCH_SIZE
Default fetch size to use on Statements if the fetch size is not explicitly set. The default is 500.- Since:
- 4.2
- See Also:
- Constant Field Values
-
DISABLE_LOCAL_TRANSACTIONS
static final String DISABLE_LOCAL_TRANSACTIONS
If true, will ignore autocommit for local transactions.- Since:
- 5.5.2
- See Also:
- Constant Field Values
-
ANSI_QUOTED_IDENTIFIERS
static final String ANSI_QUOTED_IDENTIFIERS
Overrides the handling of double quoted identifiers to allow them to be strings.- Since:
- 4.3
- See Also:
- Constant Field Values
-
SQL_OPTION_SHOWPLAN
static final String SQL_OPTION_SHOWPLAN
Can be one of ON|OFF|DEBUG- See Also:
- Constant Field Values
-
NOEXEC
static final String NOEXEC
Can be one of ON|OFF- See Also:
- Constant Field Values
-
QUERYTIMEOUT
static final String QUERYTIMEOUT
- See Also:
- Constant Field Values
-
JDBC4COLUMNNAMEANDLABELSEMANTICS
static final String JDBC4COLUMNNAMEANDLABELSEMANTICS
TEIID-1651 A change was made in JDBC4 so that when an 'Alias' is used it will now be returned as the label. Prior to this, it was returned as the name. Setting this property tofalse
will enable backwards compatibility when JDBC3 and older support is still required. Default istrue
- Since:
- 7.4.1
- See Also:
- Constant Field Values
-
-