Set the JDBC DataSource to obtain connections from.
setDatabaseProductName
public void setDatabaseProductName(String dbName)(Code)
Specify the database product name for the DataSource that this accessor uses.
This allows to initialize a SQLErrorCodeSQLExceptionTranslator without
obtaining a Connection from the DataSource to get the metadata.
Parameters: dbName - the database product name that identifies the error codes entry See Also:SQLErrorCodeSQLExceptionTranslator.setDatabaseProductName See Also:java.sql.DatabaseMetaData.getDatabaseProductName
Set whether to lazily initialize the SQLExceptionTranslator for this accessor,
on first encounter of a SQLException. Default is "true"; can be switched to
"false" for initialization on startup.