|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ddtek.xquery3.xqj.DDXQJDBCConnection
Part of DDXQ implementation of XQDataSource, the part that corresponds to a single SQLAdaptor.
| Field Summary | |
static String |
ISOLATIONLEVEL
|
static String |
NAME
|
static String |
OPTIONS
|
static String |
PASSWORD
|
static String |
SQLXMLFOREST
|
static String |
SQLXMLIDENTIER
|
static String |
TEMPTABLECOLUMNS
|
static String |
TEMPTABLEPREFIX
|
static String |
URL
property names |
static String |
USER
|
| Constructor Summary | |
DDXQJDBCConnection()
|
|
DDXQJDBCConnection(String name)
|
|
| Method Summary | |
String |
getName()
|
String |
getOptions()
Get the options. |
String |
getPassword()
|
boolean |
getSqlXmlForest()
Gets the forest property specifies the format of the XML result that fn:collection() returns. |
String |
getSqlXmlIdentifierEscaping()
Gets the property controls how DataDirect XQuery handles escaping of identifiers, which is needed because of mismatches that occur when characters in SQL identifiers are mapped to XML. |
String |
getTempTableColumns()
Gets the string representation of the temp table column-type pairs, or null if not set. |
String |
getTempTableSuffix()
Gets the suffix used for temp tables. |
int |
getTransactionIsolationLevel()
Gets the transaction isolation level. |
String |
getUrl()
|
String |
getUser()
|
void |
setName(String name)
|
void |
setOptions(String options)
Set the options |
void |
setPassword(String password)
|
void |
setSqlXmlForest(boolean forest)
Sets the forest property specifies the format of the XML result that fn:collection() returns. |
void |
setSqlXmlIdentifierEscaping(String escaping)
Sets the property controls how DataDirect XQuery handles escaping of identifiers, which is needed because of mismatches that occur when characters in SQL identifiers are mapped to XML. |
void |
setTempTableColumns(String columns)
Set the string representation of the temp table column-type pairs. |
void |
setTempTableSuffix(String prefix)
Set the suffix used for temp tables. |
void |
setTransactionIsolationLevel(int level)
Sets the transaction isolation level, one of the following values: java.sql.Connection.TRANSACTION_READ_UNCOMMITTED java.sql.Connection.TRANSACTION_READ_COMMITTED java.sql.Connection.TRANSACTION_REPEATABLE_READ java.sql.Connection.TRANSACTION_SERIALIZABLE |
void |
setUrl(String url)
|
void |
setUser(String user)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String URL
public static final String USER
public static final String PASSWORD
public static final String OPTIONS
public static final String NAME
public static final String SQLXMLFOREST
public static final String SQLXMLIDENTIER
public static final String ISOLATIONLEVEL
public static final String TEMPTABLEPREFIX
public static final String TEMPTABLECOLUMNS
| Constructor Detail |
public DDXQJDBCConnection(String name)
name - public DDXQJDBCConnection()
| Method Detail |
public String getName()
public void setName(String name)
public String getUser()
public void setUser(String user)
user - The user to set.public String getPassword()
public void setPassword(String password)
password - The password to set.public String getUrl()
public void setUrl(String url)
url - The url to set.public String getOptions()
null if not set
public void setOptions(String options)
throws XQException
XQException - when the option value has the wrong format.public void setSqlXmlForest(boolean forest)
public boolean getSqlXmlForest()
public void setSqlXmlIdentifierEscaping(String escaping)
none: No mapping is performed. An error is raised if a character in a
SQL identifier cannot be mapped to XML.
partial: Characters in SQL identifiers, except for colons ( : ), that are not
XML characters are escaped using 'x'0 followed by the character�s Unicode
representation in hexadecimal format.
For example, "comp_plan" becomes comp_x005F_plan and "dept:id" becomes
dept:id.
full: All non-XML characters, including colons ( : ), are escaped in the
SQL identifier name. For example, "dept:id" becomes dept_x003A_id. This setting
also escapes names beginning with the characters "xml"
The default mapping is full.
escaping - of how escaping of identifiers is handled.public String getSqlXmlIdentifierEscaping()
public void setTransactionIsolationLevel(int level)
level - the transaction isolation level.public int getTransactionIsolationLevel()
public void setTempTableSuffix(String prefix)
public String getTempTableSuffix()
public void setTempTableColumns(String columns)
throws XQException
columns - column-type pairs.
XQExceptionpublic String getTempTableColumns()
null if not set.
XQException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||