public class MakeDbProperties
extends java.lang.Object
The pool name for the existing database is supplied to the class as the first parameter on the command line (case sensitive).
The [poolname].db.properties file is created in the server application's configured temp folder.The properties file is generated via template processing using a base package template:
Modifier and Type | Class and Description |
---|---|
class |
MakeDbProperties.Field
Inner class that stores template data for a field in a table.
|
class |
MakeDbProperties.Index
Inner class that stores template data for an index in a table.
|
class |
MakeDbProperties.Table
Inner class that stores template data for a table.
|
class |
MakeDbProperties.View
Inner class that stores template data for a view.
|
Modifier and Type | Field and Description |
---|---|
protected JDBCConnectionInfo |
ivConnInfo
The database connection being used.
|
Constructor and Description |
---|
MakeDbProperties(java.lang.String pool,
java.lang.String onlyTable)
Constructs a new database properties maker and controls the processing.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Main entry point for when the class is started from a command line.
|
protected JDBCConnectionInfo ivConnInfo
public MakeDbProperties(java.lang.String pool, java.lang.String onlyTable)
pool
- (String) The name of the database pool for an existing
database.onlyTable
- (String) Only process this specific table name. If
null, all tables and fews in the schema will be processed.