Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuration PropertyTypeRequired (Driver)Required (Datasource)Definition
JDBC DriverString



The JDBC Driver class name.
  • Oracle is oracle.jdbc.driver.OracleDriver?.
  • MySQL is org.gjt.mm.mysql.Driver.
JDBC URL TemplateString

(%h,%p, and %d)
 The JDBC connection URL Template with %h, %p, and %d wild-cards.
  • Oracle template is jdbc:oracle:thin:@%h:%p:%d.
  • MySQL template is jdbc:mysql://%h:%p/%d. For more information, consult your JDBC driver documentation.
HostStringwhen %h Resource host. Used in place of the %h wild card in the URL Template.
PortStringwhen %p Resource port. Used in place of the %p wild card in the URL Template.
DatabaseStringwhen %d Resource database. Used in place of the %d wild card in the URL template.
UserString

 Name of the resource admin user with rights to do SELECT, INSERT, UPDATE, or DELETE.
PasswordString

 Resource admin user's password.
Data-sourceString XDatasource name for datasource-managed connections.
JNDI PropertiesString  Optional naming of datasource look-up properties.
TableString



Name of the single table where the accounts are stored.
Key ColumnString



Name of the column where the account's names are stored.
Password ColumnString  Optional name of the password column where the account's passwords are stored.
Change Log ColumnString  Optional name of the column where the last update-related, non-decreasing, value is stored. This value can be a number or a timestamp value.
QuotingString  Column quoting property (such as None, Single, Double, Back, or Brackets) that best fits your resource. Default is None. 

Column names display between single quotes, double quotes, back quotes, or brackets in the generated SQL when access the database.
Enable Empty StringBoolean  Select to enable support for writing an empty string instead of a NULL value. By default empty strings are written as a NULL values.
Rethrow All SQL ExceptionsBoolean  If false (default), the SQLExceptions with a 0 ErrorCode are considered a success, or not an error, and they are caught and suppressed by the connector. For example, some databases return an exception for an empty result set. Select to throw exceptions when the ErrorCode is 0. Note: No other SQLExceptions are influenced by this property.
Native TimestampsBoolean  If false (default), timestamp data are read as Strings, which can cause the loss of time milliseconds. Select to retrieve the data as java.sql.Timestamp type, and have the connector perform the conversion.
All NativeBoolean  If false (default), the attribute data are converted to Strings using the JDBC driver. Select to use the appropriate JDBC types and force the connector perform the conversion as needed.
Valid Connection QueryString  If false (default), the connection is validated by switching the auto commit mode. For example, you might have select 1 from dummy, which might be more efficient on some databases.

...