| Package | Description |
|---|---|
| ru.curs.celesta.dbutils.adaptors |
Adaptors for various RDBMS.
|
| ru.curs.celesta.dbutils.adaptors.ddl |
Root package of ddl adaptors.
|
| ru.curs.celesta.event |
Classes needed for Celesta triggers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DBAdaptor.dropTrigger(Connection conn,
TriggerQuery query)
Drops a trigger from DB.
|
Optional<String> |
DBAdaptor.getTriggerBody(Connection conn,
TriggerQuery query)
Returns body of the trigger existing in the database.
|
boolean |
H2Adaptor.triggerExists(Connection conn,
TriggerQuery query) |
abstract boolean |
DBAdaptor.triggerExists(Connection conn,
TriggerQuery query)
Checks if trigger exists in the DB.
|
boolean |
OraAdaptor.triggerExists(Connection conn,
TriggerQuery query) |
boolean |
FirebirdAdaptor.triggerExists(Connection conn,
TriggerQuery query) |
boolean |
MSSQLAdaptor.triggerExists(Connection conn,
TriggerQuery query) |
boolean |
PostgresAdaptor.triggerExists(Connection conn,
TriggerQuery query) |
| Modifier and Type | Method and Description |
|---|---|
void |
DdlAdaptor.dropTrigger(Connection conn,
TriggerQuery query)
Drops a trigger from DB.
|
| Modifier and Type | Method and Description |
|---|---|
TriggerQuery |
TriggerQuery.withName(String name)
Sets trigger name parameter.
|
TriggerQuery |
TriggerQuery.withSchema(String schema)
Sets DB schema name parameter.
|
TriggerQuery |
TriggerQuery.withTableName(String tableName)
Sets table name parameter.
|
TriggerQuery |
TriggerQuery.withType(TriggerType type)
Sets trigger type parameter.
|
Copyright © 2023 CURS. All rights reserved.