All Packages Class Hierarchy This Package Previous Next Index Home
java.lang.Object | +----JOP.test.JdbcTest
This class is responsible for inialising and closing the JdbcPersistManager.
The 'test_class' is responsible for starting a unit of work, saving and retrieving objects and commiting or aborting the unit of work.
public JdbcTest()
public static void main(String args[])
java JdbcTest test_class driver url username password or java JdbcTest test_class driver url username password dbousername dbopasswordThe first approach uses a single DB account to access objects and also create and drop tables (when necessary). If the acocunt does not have sufficient priveledge to create/drop tables then an error may occur if the PersistManager needs to create or drop tables.
The second example allows two accounts to be specified, one for normal access and the second to create/drop tables.
All Packages Class Hierarchy This Package Previous Next Index Home