diff --git a/jOOQ/src/main/java/org/jooq/DSLContext.java b/jOOQ/src/main/java/org/jooq/DSLContext.java index 53578be49b..bb4ee98ca9 100644 --- a/jOOQ/src/main/java/org/jooq/DSLContext.java +++ b/jOOQ/src/main/java/org/jooq/DSLContext.java @@ -7515,7 +7515,7 @@ public interface DSLContext extends Scope , AutoCloseable { DropViewFinalStep dropViewIfExists(Table view); /** - * Create a new DSL ALTER TABLE statement. + * Create a new DSL DROP TABLE statement. * * @see DSL#dropTable(String) */ @@ -7523,7 +7523,7 @@ public interface DSLContext extends Scope , AutoCloseable { DropTableStep dropTable(String table); /** - * Create a new DSL ALTER TABLE statement. + * Create a new DSL DROP TABLE statement. * * @see DSL#dropTable(Name) */ @@ -7539,7 +7539,7 @@ public interface DSLContext extends Scope , AutoCloseable { DropTableStep dropTable(Table table); /** - * Create a new DSL ALTER TABLE IF EXISTS statement. + * Create a new DSL DROP TABLE IF EXISTS statement. *

* If your database doesn't natively support IF EXISTS, this is * emulated by catching (and ignoring) the relevant {@link SQLException}. @@ -7550,7 +7550,7 @@ public interface DSLContext extends Scope , AutoCloseable { DropTableStep dropTableIfExists(String table); /** - * Create a new DSL ALTER TABLE IF EXISTS statement. + * Create a new DSL DROP TABLE IF EXISTS statement. *

* If your database doesn't natively support IF EXISTS, this is * emulated by catching (and ignoring) the relevant {@link SQLException}. diff --git a/jOOQ/src/main/java/org/jooq/impl/DSL.java b/jOOQ/src/main/java/org/jooq/impl/DSL.java index 8c6579380b..fe118df8c1 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DSL.java +++ b/jOOQ/src/main/java/org/jooq/impl/DSL.java @@ -5530,10 +5530,7 @@ public class DSL { } /** - * Create a new DSL DROP TABLE IF EXISTS statement. - *

- * If your database doesn't natively support IF EXISTS, this is - * emulated by catching (and ignoring) the relevant {@link SQLException}. + * Create a new DSL DROP TABLE statement. * * @see DSLContext#dropTable(String) */ @@ -5543,10 +5540,7 @@ public class DSL { } /** - * Create a new DSL DROP TABLE IF EXISTS statement. - *

- * If your database doesn't natively support IF EXISTS, this is - * emulated by catching (and ignoring) the relevant {@link SQLException}. + * Create a new DSL DROP TABLE statement. * * @see DSLContext#dropTable(Name) */ @@ -5566,9 +5560,12 @@ public class DSL { } /** - * Create a new DSL DROP TABLE statement. + * Create a new DSL DROP TABLE IF EXISTS statement. + *

+ * If your database doesn't natively support IF EXISTS, this is + * emulated by catching (and ignoring) the relevant {@link SQLException}. * - * @see DSLContext#dropTable(String) + * @see DSLContext#dropTableIfExists(String) */ @Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) public static DropTableStep dropTableIfExists(String table) { @@ -5576,9 +5573,12 @@ public class DSL { } /** - * Create a new DSL DROP TABLE statement. + * Create a new DSL DROP TABLE IF EXISTS statement. + *

+ * If your database doesn't natively support IF EXISTS, this is + * emulated by catching (and ignoring) the relevant {@link SQLException}. * - * @see DSLContext#dropTable(Name) + * @see DSLContext#dropTableIfExists(Name) */ @Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) public static DropTableStep dropTableIfExists(Name table) {