public class ConnectionInfo
extends java.lang.Object
Logi Report is extremely efficient when working with data sources that are in a relational database software. The Java Database Connectivity (JDBC) and Java Database Connectivity - Open Database Connectivity (JDBC-ODBC) connections are the basic approaches for connecting to a database for data.
Modifier and Type | Field and Description |
---|---|
static int |
ENCODINGAUTO
encoded data type
|
static int |
ENCODINGNO
encoded data type
|
static int |
ENCODINGYES
encoded data type
|
static int |
EXTRA_NAME_JDBC
extra name type
|
static int |
EXTRA_NAME_USERDEFINED
extra name type
|
static int |
OUTERJOIN_MARKER_ORACLE
The flag of the outer join type
Using '+' to apply the join sentence
|
static int |
OUTERJOIN_MARKER_SQL92
The flag of the outer join type
The SQL92 standard will be applied to the join sentence
|
static int |
PATTERN_1PART_NAME
qualified name pattern
|
static int |
PATTERN_2PART_NAME
qualified name pattern
|
static int |
PATTERN_3PART_NAME
qualified name pattern
|
static int |
READ_ONLY_DEFAULT
Connection Read-only property.
|
static int |
READ_ONLY_FALSE
Connection Read-only property.
|
static int |
READ_ONLY_TRUE
Connection Read-only property.
|
static int |
TRANSACTION_DEFAULT
Transaction isolation level value.
|
static int |
TRANSACTION_NONE
Transaction isolation level value.
|
static int |
TRANSACTION_READ_COMMITTED
Transaction isolation level value.
|
static int |
TRANSACTION_READ_UNCOMMITTED
Transaction isolation level value.
|
static int |
TRANSACTION_REPEATABLE_READ
Transaction isolation level value.
|
static int |
TRANSACTION_SERIALIZABLE
Transaction isolation level value.
|
Constructor and Description |
---|
ConnectionInfo(java.lang.String uid,
java.lang.String pwd)
Constructs a Logi Report connection definition.
|
ConnectionInfo(java.lang.String UID,
java.lang.String PSWD,
int QualifiedNamePattern,
int extraNamePattern,
java.lang.String strExtraNameChar,
java.lang.String strQuoteNameChar,
int encodingPattern,
java.lang.String dateFormat,
java.lang.String timeFormat,
java.lang.String timestampFormat,
boolean uptoDateSI,
int transactionIsolation,
int readOnly)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getOuterJoinMarker()
Gets the outer join type flag
|
int |
getWSDLTimeOut()
Gets WSDL connection timeout setting in seconds.
|
boolean |
isWSDLConnection()
Indicate whether or not it is a WSDL connection.
|
void |
setOuterJoinMarker(int outerJoinMarker)
Sets the outer join type flag
|
void |
setWSDLConnection(boolean isWSDLcon)
Indicate whether it is a WSDL connection.
|
void |
setWSDLTimeOut(int wsdlTimeOut)
Sets WSDL connection timeout setting in seconds.
|
java.lang.String |
toString() |
public static final int PATTERN_1PART_NAME
public static final int PATTERN_2PART_NAME
public static final int PATTERN_3PART_NAME
public static final int EXTRA_NAME_JDBC
public static final int EXTRA_NAME_USERDEFINED
public static final int ENCODINGAUTO
public static final int ENCODINGYES
public static final int ENCODINGNO
public static final int TRANSACTION_DEFAULT
public static final int TRANSACTION_NONE
public static final int TRANSACTION_READ_UNCOMMITTED
Note: When Read Only is set and Transaction Isolation is Read Uncommitted, it provides faster access to the data, but if a database transaction is rolled back, the read will retrieve an invalid row and result in an inaccurate report.
public static final int TRANSACTION_READ_COMMITTED
public static final int TRANSACTION_REPEATABLE_READ
public static final int TRANSACTION_SERIALIZABLE
public static final int READ_ONLY_DEFAULT
public static final int READ_ONLY_TRUE
public static final int READ_ONLY_FALSE
public static final int OUTERJOIN_MARKER_SQL92
public static final int OUTERJOIN_MARKER_ORACLE
public ConnectionInfo(java.lang.String uid, java.lang.String pwd)
uid
- The user name to connect the database. It is determined by your database.pwd
- The password to connect the database. It is determined by your database.public ConnectionInfo(java.lang.String UID, java.lang.String PSWD, int QualifiedNamePattern, int extraNamePattern, java.lang.String strExtraNameChar, java.lang.String strQuoteNameChar, int encodingPattern, java.lang.String dateFormat, java.lang.String timeFormat, java.lang.String timestampFormat, boolean uptoDateSI, int transactionIsolation, int readOnly)
UID
- The user name to connect the database. It is determined by your database.PSWD
- The password to connect the database. It is determined by your database.QualifiedNamePattern
- Specifies whether or not the catalog or schema is used in data manipulation. The qualified name pattern used in building the name of table, view or other data objects.extraNamePattern
- The extra name pattern type.strExtraNameChar
- Specifies the extra characters for identifier names.strQuoteNameChar
- Specifies the quote character.encodingPattern
- Specifies whether the data fetched from the database is encoded.dateFormat
- Specifies the date format used in DBMS.timeFormat
- Specifies the time format used in DBMS.timestampFormat
- Specifies the Timestamp format used in DBMS. See,uptoDateSI
- Updates jdbc support information of the connection.transactionIsolation
- The transaction isolation level.readOnly
- Specifies the Read-only property each time the driver connects to the database.public int getWSDLTimeOut()
public void setWSDLTimeOut(int wsdlTimeOut)
wsdlTimeOut
- WSDL connection timeout setting in seconds.public boolean isWSDLConnection()
true
if it is a WSDL connection; false
otherwise.public void setWSDLConnection(boolean isWSDLcon)
isWSDLcon
- true
if it is a WSDL connection; false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object
public void setOuterJoinMarker(int outerJoinMarker)
outerJoinMarker
- refer OUTERJOIN_MARKER_ORACLE
or OUTERJOIN_MARKER_SQL92
public int getOuterJoinMarker()
OUTERJOIN_MARKER_ORACLE
or OUTERJOIN_MARKER_SQL92