- getConn
A connection to the database. Should be short-lived. No transaction active by
default.
- <init>
Constructor for cases when a DataSource is readily available (and not retrieved
through JNDI).
- loadProperties
Helper method to load a property file from class path.
- checkSchemaVersion
- closeQuietly
Close utility method.
- dbUpgrade
Updates the database. Never call this during normal operations, upgrade is a
user-controlled operati
- getAdapter
- getProduct
- getQuery
Gets the interpolated text of a query from cache. If key does not exist, an
exception is thrown.
- init
Main database initialization. To be called only when _ds is a valid DataSource.
- initAdapter
Creates the adapter for the target database.
- initQueries
Create the query cache (with db-specific queries)