All Packages Class Hierarchy This Package Previous Next Index Home
java.lang.Object | +----JOP.persist.jdbc.JdbcConfig
Once a successful strategy has been selected for all Java types the chosen strategies are saved in the JDBC database. Each time a JDBC PersistManager is opened the correct strategies are immediately loaded into memory.
When another JDBC driver is used against the same data base it is first necessary to run the configuration program to determine if the new driver is compatible with the saved strategies.
Each strategy is a dynamically loaded class that includes methods for reading and writing to JDBC. The methods are necessary to allow character escaping and other manipulations of the saved or retrieved data. It is possible for a JOP user to define their own strategies.
To run the JDBC configuration program execute the following command:
>java JOP.persist.jdbc.JdbcConfig driver_name url username passwordThis command will configure your database and store the configuration information in the database in the tables JOPconfig and JOPtypes. See the section on testing for information on how to setup JOP and JDBC.
public static void main(String args[]) throws Exception
All Packages Class Hierarchy This Package Previous Next Index Home