A Commons digester class for JDBC section of the standardmaessig
Expresso Configuration XML file. This bean defines the conection characteristics
to the database in this context
Documentation written by Peter Pilgrim @ Xenonsoft, Tue Feb 05 22:55:00 GMT 2002
All the 'bean' methods here are directly mapped to the <jdbc> section
int the expresso-config.xml file. It is recommend that you also look at the
Expresso config DTD for a better understanding of the relation of these various
parameters.
author: Michael Nash, Yves AMAIZO, Peter Pilgrim, Michael Rimov since: Expresso 5.1, its predecessor in the core.misc package since Expresso 4.0
setUseNullOnCreate(String newUseNull) Set the flag that specifies if we use the "null" keyword in the
create table statement when setting a field which does allow
nulls.
Return whether this database persistence string will not be trimmed before store it
and get it after.
boolean true if database string column will not be trimmed before or after store or get.
Sets the cache enabled boolean flag
Parameters: newCache - true if you want this data context cached
setCheckZeroUpdate
public void setCheckZeroUpdate(String newCheckZeroUpdate)(Code)
Set the check zero update version
Parameters: newCheckZeroUpdate - - a boolean value
setConnectFormat
public void setConnectFormat(String newFormat)(Code)
Sets the JDBC connection format style. How does Expresso
connect to the data source?
Parameters: newFormat - number one through 5
setCreateTableIndicies
public void setCreateTableIndicies(String newIndicies)(Code)
Sets the create table indicies boolean value
Parameters: newIndicies - boolean string indicating that database CREATE INDEX statementsshould be issued to the underlying database on db creation.
setDateSelectFormat
public void setDateSelectFormat(String newFormat)(Code)
Sets the date select format string
Parameters: newFormat - The data select format string.
setDateSelectFunction
public void setDateSelectFunction(String newFunction)(Code)
Sets the date select functon string
Parameters: newFunction - the new format string to use for selecting date typesfrom the database
setDateTimeSelectFormat
public void setDateTimeSelectFormat(String newFormat)(Code)
Sets the date time select format string
Parameters: newFormat - the Date-Time Select format formatting string
setDateTimeSelectFunction
public void setDateTimeSelectFunction(String newFunction)(Code)
Sets the date time select function string
Parameters: newFunction - the new function for date time select statements
setDateTimeUpdateFormat
public void setDateTimeUpdateFormat(String newFormat)(Code)
Sets the date time update format string
Parameters: newFormat - the new date time format string for update statements
setDateTimeUpdateFunction
public void setDateTimeUpdateFunction(String newFunction)(Code)
Sets the date time update function string
Parameters: newFunction - the new date-type update funciton
setDateUpdateFormat
public void setDateUpdateFormat(String newFormat)(Code)
Sets the date update format string
Parameters: newFormat - the new Date Update format to use
setDateUpdateFunction
public void setDateUpdateFunction(String newFunction)(Code)
Sets the date update function string
Parameters: newFunction - the new date update function for UPDATE executionstatements
Sets the JDBC driver class name
Parameters: newDriver - the new driver class name as spefied by the config file
setDriverType
public void setDriverType(String newDriverType)(Code)
Sets the JDBC driver Type name
Parameters: newDriverType - either "e;datasource"e; or "e;jdbc"e;
setEscapeHandler
public void setEscapeHandler(String newValue)(Code)
Sets the escape handler for this jdbc connection. ie. What class performs
the filtering on the codes to properly process any special characters
for the database.
Parameters: newValue - The new value to set for the escape handler. Must be a validclassname in your class path.
setHasBooleanType
public void setHasBooleanType(String newValue)(Code)
Sets whether or not this JDBC configuration supports a native boolean
datatype.
Parameters: newValue - true if your database supports native boolean data types.
setLimitationPosition
public void setLimitationPosition(String newPos)(Code)
Sets the limitation position string
Parameters: newPos - The limitation syntax position string. See the DTD forpossible values
setLimitationSyntax
public void setLimitationSyntax(String newLimit)(Code)
Sets the limitation syntax string
Parameters: newLimit - the limitation syntax string
Sets the skip text flag
Parameters: newSkip - new Skip boolean value in sstring form
setStringNotTrim
public void setStringNotTrim(String newValue)(Code)
Set the NoTrim parameter setting
Parameters: string -
setTimeSelectFormat
public void setTimeSelectFormat(String newFormat)(Code)
Sets the time select format string
Parameters: newFormat - the new time select format string
setTimeSelectFunction
public void setTimeSelectFunction(String newFunction)(Code)
Sets the time select function string
Parameters: newFunction - the new function for formatting time strings fordatabase select statements
setTimeUpdateFormat
public void setTimeUpdateFormat(String newFormat)(Code)
Sets the time update format string
Parameters: newFormat - the new TimeUpdate format
setTimeUpdateFunction
public void setTimeUpdateFunction(String newFunction)(Code)
Sets the time update function string
Parameters: newFunction - the new Time Update function to execute for TIMEdatatypes for UPDATE execution statements.
setTransactionNotActive
public void setTransactionNotActive(String newValue)(Code)
Set the transaction non action parameter
Parameters: string -
Sets the JDBC URL
Parameters: newUrl - the new URL for the JDBC connection
setUseNullOnCreate
public void setUseNullOnCreate(String newUseNull)(Code)
Set the flag that specifies if we use the "null" keyword in the
create table statement when setting a field which does allow
nulls. Some databases insist on this (sybase),
others do not allow it (firebird)
Parameters: newUseNull - checks if we should use the null keyword in dealingwith table creation.
Get the flag that specifies if we use the "null" keyword in the
create table statement when setting a field which does allow
nulls. Some databases insist on this (sybase),
others do not allow it (firebird)
boolean