Method Summary |
|
public void | addDBDefinitionFile(InputStream schemaStream) Adds an input stream of a db definition (in our case of a torque schema file). |
public void | addDBDefinitionFiles(String srcDir, String listOfFilenames) Adds the input files (in our case torque schema files) to use. |
public void | createCreationScript() Creates the db-creation sql script (but does not perform it). |
public void | createDB() Creates the database. |
public void | createInitScripts() Creates the initialization scripts (creation of tables etc.) but does
not perform them. |
public JdbcConnectionDescriptor | getConnection() Returns the connection descriptor used by this handling object. |
protected String | getDBCreationUrl() Template-and-Hook method for generating the url required by the jdbc driver
to allow for creating a database (as opposed to accessing an already-existing
database). |
protected String | getDBManipulationUrl() Template-and-Hook method for generating the url required by the jdbc driver
to allow for modifying an existing database. |
public String | getTargetTorquePlatform() Returns the torque database platform used. |
public void | initDB() Creates the tables according to the schema files. |
public void | setConnection(JdbcConnectionDescriptor jcd) Sets the jdbc connection to use. |
public void | setWorkDir(String dir) Sets the working directory. |