| Property Name |
Default Value |
Example |
Description |
| driver |
MANDITORY |
sun.jdbc.odbc.JdbcOdbcDriver |
The driver class name. |
| url |
MANDITORY |
jdbc:odbc:DEMO |
The database URL – not
including the username and password. |
| user |
"" |
myname |
Defaults to an empty string. |
| password |
"" |
password |
Defaults to an empty string. |
| minConnections |
1 |
10 |
The minConnections
is the resting state for the connection pool. If more than minConnections
are opened then when a connection is returned it is closed. |
| maxConnections |
1 |
20 |
The maximum number of
connections that can be opened. |
| waitTimeout |
5000 |
5000 |
The number of milliseconds
to wait for a connection to become available. A range can be specified
5000-10000, which will randomise within that range. |
| usageLogged |
false |
true |
Are the first/last dates
and usage logged;"true" or "false" |
| debugConnections |
false |
true |
Write the allocation and
deallocation to the output stream;"true"
or "false" |
| debugTransactions |
false |
true |
Write the allocation and
deallocation to the output stream;"true"
or "false" |
| debugDriver |
false |
true |
Write the DriverManager
Log Stream to the System.out;"true"
or "false" |
| verbose |
false |
true |
Write selected output
from the code to the System.out;"true"
or "false" |
| catalog |
null |
mycatalog |
This sets the catalog
property to null. |
| readOnly |
false |
true |
"true" or "false" |
| autoCommit |
false |
true |
"true" or "false" |
| transactionIsolation |
TRANSACTION_NONE
|
TRANSACTION_READ_
UNCOMMITTED |
Possible
String values are taken from the java.sql.Connection
class. One of: -
TRANSACTION_NONE
TRANSACTION_READ_UNCOMMITTED
TRANSACTION_READ_COMMITTED
TRANSACTION_REPEATABLE_READ
TRANSACTION_SERIALIZABLE |
| currentDate |
CURRENT_DATE |
GetDate() |
The default syntax for
the current date for the database. |
| currentTime |
CURRENT_TIME |
GetDate() |
The default syntax for
the current time for the database. |
| currentTimeStamp |
CURRENT_TIMESTAMP |
GetDate() |
The default syntax for
the current time stamp for the database. |
| dateFormat |
dd/MM/yyyy |
dd/MM/yyyy |
The default date format
for the database. |
| timeFormat |
kk:mm:ss |
kk:mm:ss |
The default time format
for the database. |
| dateTimeFormat |
dd/MM/yyyy
kk:mm:ss |
yyyy-MM-dd-kk.mm.ss.SSS |
The default datetime
format for the database. |
| fatalStates |
s1,s2,s2 |
|
A comma separated list
of SQLException states,
that will close a connection. |
| driverPropertiesPath |
null |
subpackage/mydriver.properties |
The relative class path
plus the name of the properties file, to the relative class. If
the driver properties file is in a subdirectory called xyz. Then
this property would be "xyz/mydriver.properties" |
| batchSize |
100 |
10 |
The default batch size
for the JdbcTableKey. This states how
often the batch of primary keys is updated. |
| tableKeyClass |
com.javelin.util.jdbc.JdbcTableKey |
|
A subclass of JdbcTableKey
for a specific source. This * allows custom key generation for a
specific source. |