|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface DDLWriter
Interface for writing the DDL statements either to file or directly to a connection
| Field Summary | |
|---|---|
static java.lang.String |
CONSTRAINT
Deprecated. |
static java.lang.String |
INDEX
Deprecated. |
static java.lang.String |
TABLE
Deprecated. |
| Method Summary | |
|---|---|
java.lang.StringBuffer |
getStatement()
Deprecated. |
void |
write(java.sql.Connection con)
Deprecated. |
void |
write(java.io.PrintWriter writer)
Deprecated. |
| Field Detail |
|---|
static final java.lang.String TABLE
static final java.lang.String INDEX
static final java.lang.String CONSTRAINT
| Method Detail |
|---|
void write(java.sql.Connection con)
throws SquelerDDLException,
java.sql.SQLException
con - java.sql.Connection, the connection to the database,
should have been initialized
SquelerDDLException - thrown if problems arise with the definition
of the statement
java.sql.SQLException - thrown if problems arise writing a correct statement
to the database (no privleges to run this action, e.d.)
void write(java.io.PrintWriter writer)
throws SquelerDDLException,
java.io.IOException
writer -
SquelerDDLException - thrown if problems arise with the definition
of the statement
java.io.IOException - thrown if problems arise writing a correct statement
to a file (access denied, could not create file e.d.)
java.lang.StringBuffer getStatement()
throws SquelerDDLException
SquelerDDLException - thrown if problems arise with the definition
of the statement
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||