| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | Returns: The DDL for the current trigger is returned as a String.Name of the trigger. trigName, String Name of the table on which the trigger
fires. tableName, String The WHEN clause text (possibly whenClause, ResultSet null).Information about the trigger. aTrig)Generate DDL for a specific trigger. |
| public static void | doTriggers(Connection
Connection to the source database. conn, boolean Tells whether the database supports the
trigger WHEN clause. supportsWhenClause)Generate the DDL for all triggers in a given database. |
| EVENT | back to summary |
|---|---|
| private static final String EVENT | |
| FIRINGTIME | back to summary |
|---|---|
| private static final String FIRINGTIME | |
| NEWREFERENCINGNAME | back to summary |
|---|---|
| private static final String NEWREFERENCINGNAME | |
| OLDREFERENCINGNAME | back to summary |
|---|---|
| private static final String OLDREFERENCINGNAME | |
| REFERENCEDCOLUMNS | back to summary |
|---|---|
| private static final String REFERENCEDCOLUMNS | |
| REFERENCINGNEW | back to summary |
|---|---|
| private static final String REFERENCINGNEW | |
| REFERENCINGOLD | back to summary |
|---|---|
| private static final String REFERENCINGOLD | |
| SCHEMAID | back to summary |
|---|---|
| private static final String SCHEMAID | |
| TABLEID | back to summary |
|---|---|
| private static final String TABLEID | |
| TRIGGERDEFINITION | back to summary |
|---|---|
| private static final String TRIGGERDEFINITION | |
| TRIGGERNAME | back to summary |
|---|---|
| private static final String TRIGGERNAME | |
| TYPE | back to summary |
|---|---|
| private static final String TYPE | |
| WHENCLAUSETEXT | back to summary |
|---|---|
| private static final String WHENCLAUSETEXT | |
| DB_Trigger | back to summary |
|---|---|
| public DB_Trigger() | |
| createTrigger | back to summary |
|---|---|
| private static String createTrigger(String trigName, String tableName, String whenClause, ResultSet aTrig) throws SQLException Generate DDL for a specific trigger. | |
| doTriggers | back to summary |
|---|---|
| public static void doTriggers(Connection conn, boolean supportsWhenClause) throws SQLException Generate the DDL for all triggers in a given database.
| |