|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.services.jdbc.Db2StoreSchemaGenerator
Field Summary | |
static java.lang.String |
catalogName
Deprecated. Keeps the store catalog name |
protected static java.sql.Connection |
databaseConnection
Deprecated. Keeps the connection to the database that will be used by the Db2StoreSchemaGenerator |
static java.lang.String |
schemaName
Deprecated. Keeps the store schema name |
Constructor Summary | |
Db2StoreSchemaGenerator()
Deprecated. This constructor creates a Db2StoreSchemaGenerator object. |
Method Summary | |
static void |
connect(java.lang.String aDatabaseURL)
Deprecated. Connects to the database with the URL aDatabaseURL. |
static void |
connect(java.lang.String aDatabaseURL,
java.lang.String aUser,
java.lang.String aPassword)
Deprecated. Connects to the Database with the URL aDatabaseURL using the user identification aUser and password aPassword. |
static void |
disconnect()
Deprecated. Closes the Database connection. |
static Vector |
generateSGML(java.lang.String aSchemaName,
java.lang.String aDatabaseURL,
java.lang.String aUser,
java.lang.String aPassword)
Deprecated. Called by the SGML editor tool if the information to create the store format definition is to be retrieved from the database. |
static Vector |
generateSGML(java.lang.String aSchemaName,
java.lang.String aDatabaseURL,
java.lang.String aUser,
java.lang.String aPassword,
java.lang.String aJDBCDriverName)
Deprecated. Called by the SGML editor tool if the information to create the store format definition is to be retrieved from the database. |
void |
generateTable(java.lang.String aTableName,
java.lang.String aTableDefinition)
Deprecated. Generates the store table in the selected database with aTableName name. |
void |
generateTable(java.lang.String aSchemaName,
java.lang.String aTableName,
java.lang.String aTableDefinition)
Deprecated. Generates the store table in the selected database with aTableName name. |
static java.lang.String |
getCatalogName()
Deprecated. Returns the catalogName attribute value. |
protected static DatabaseResultSetMetaData |
getMetaData(java.lang.String aTableName)
Deprecated. Returns the DatabaseResultSetMetaData associated with a Store Table. |
static java.lang.String |
getSchemaName()
Deprecated. Returns the schemaName attribute value. |
static void |
setCatalogName(java.lang.String s)
Deprecated. Sets the catalogName attribute to the string provided as argument. |
static void |
setSchemaName(java.lang.String s)
Deprecated. Sets the schemaName attribute to the string provided as an argument. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static java.sql.Connection databaseConnection
public static java.lang.String schemaName
public static java.lang.String catalogName
Constructor Detail |
public Db2StoreSchemaGenerator()
Method Detail |
public static void connect(java.lang.String aDatabaseURL) throws DSEInternalErrorException, DSEInvalidRequestException, DSESQLException
aDatabaseURL
- java.lang.String, the database URLpublic static void connect(java.lang.String aDatabaseURL, java.lang.String aUser, java.lang.String aPassword) throws DSESQLException, DSEInvalidRequestException, DSEInternalErrorException
aDatabaseURL
- the java.lang.String, the database URLaUser
- java.lang.String, the user identificationaPassword
- java.lang.String, the user passwordpublic static void disconnect() throws DSESQLException
public static Vector generateSGML(java.lang.String aSchemaName, java.lang.String aDatabaseURL, java.lang.String aUser, java.lang.String aPassword) throws DSEInternalErrorException, DSEInvalidRequestException, DSESQLException, java.lang.Exception
aSchemaName
- java.lang.String, the store table nameaDatabaseURL
- java.lang.String, the URL of the database that keeps the store tableaUser
- java.lang.String, the user identification to logon to the databaseaPassword
- java.lang.String, the user password to logon to the databasepublic static Vector generateSGML(java.lang.String aSchemaName, java.lang.String aDatabaseURL, java.lang.String aUser, java.lang.String aPassword, java.lang.String aJDBCDriverName) throws java.lang.Exception, DSEInternalErrorException, DSEInvalidRequestException, DSESQLException
aSchemaName
- java.lang.String, the store table nameaDatabaseURL
- java.lang.String, the URL of the database that keeps the store tableaUser
- java.lang.String, the user identification to logon to the databaseaPassword
- java.lang.String, the user password to logon to the databaseaJDBCDriverName
- java.lang.String, the name of the JDBC driver that will be used to access the databasepublic void generateTable(java.lang.String aTableName, java.lang.String aTableDefinition) throws DSEInvalidArgumentException, DSESQLException, DSEInternalErrorException, DSEInvalidRequestException
aTableName
- java.lang.StringaTableDefinition
- java.lang.Stringpublic void generateTable(java.lang.String aSchemaName, java.lang.String aTableName, java.lang.String aTableDefinition) throws DSEInvalidArgumentException, DSESQLException, DSEInternalErrorException, DSEInvalidRequestException
aSchemaName
- java.lang.StringaTableName
- java.lang.StringaTableDefinition
- java.lang.Stringpublic static java.lang.String getCatalogName()
protected static DatabaseResultSetMetaData getMetaData(java.lang.String aTableName) throws DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException
aTableName
- java.lang.String, the store table namepublic static java.lang.String getSchemaName()
public static void setCatalogName(java.lang.String s)
s
- java.lang.Stringpublic static void setSchemaName(java.lang.String s)
s
- java.lang.String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |