findPlatformFor(String jdbcSubProtocol, String jdbcDriver) Derives the OJB platform to use for a database that is connected via a url using the specified
subprotocol, and where the specified jdbc driver is used.
parseConnectionUrl(String jdbcConnectionUrl) Splits the given jdbc connection url into its components and puts them into
a hash map using the PROPERTY_ constants.
Fills parameters of the given
JdbcConnectionDescriptor with metadata
extracted from the given datasource.
Parameters: jcd - The jdbc connection descriptor to fill Parameters: dataSource - The data source Parameters: username - The username required to establish a connection via the data sourceCan be empty if the data source does not require it or if oneis specified in the jdbc connection descriptor Parameters: password - The username required to establish a connection via the data sourceCan be empty if the data source or username does not require it or if oneis specified in the jdbc connection descriptor
Derives the OJB platform to use for a database that is connected via a url using the specified
subprotocol, and where the specified jdbc driver is used.
Parameters: jdbcSubProtocol - The JDBC subprotocol used to connect to the database Parameters: jdbcDriver - The JDBC driver used to connect to the database The platform identifier or null if no platform could be found
Splits the given jdbc connection url into its components and puts them into
a hash map using the PROPERTY_ constants.
Parameters: jdbcConnectionUrl - The connection url The properties