[jOOQ/jOOQ#9374] Support various H2 ALTER .. IF EXISTS statements

This commit is contained in:
Lukas Eder 2019-10-15 11:55:11 +02:00
parent 4d7d1a4dd8
commit 368be86581
3 changed files with 9 additions and 9 deletions

View File

@ -99,20 +99,20 @@ public interface AlterViewStep {
* Add a <code>RENAME TO</code> clause to the <code>ALTER VIEW</code>
* statement.
*/
@Support({ HSQLDB, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
AlterViewFinalStep renameTo(Table<?> newName);
/**
* Add a <code>RENAME TO</code> clause to the <code>ALTER VIEW</code>
* statement.
*/
@Support({ HSQLDB, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
AlterViewFinalStep renameTo(Name newName);
/**
* Add a <code>RENAME TO</code> clause to the <code>ALTER VIEW</code>
* statement.
*/
@Support({ HSQLDB, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
AlterViewFinalStep renameTo(String newName);
}

View File

@ -9481,7 +9481,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#alterViewIfExists(String)
*/
@Support({ POSTGRES })
@Support({ H2, POSTGRES })
AlterViewStep alterViewIfExists(String view);
/**
@ -9489,7 +9489,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#alterViewIfExists(Name)
*/
@Support({ POSTGRES })
@Support({ H2, POSTGRES })
AlterViewStep alterViewIfExists(Name view);
/**
@ -9497,7 +9497,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#alterViewIfExists(Table)
*/
@Support({ POSTGRES })
@Support({ H2, POSTGRES })
AlterViewStep alterViewIfExists(Table<?> view);
/**

View File

@ -7559,7 +7559,7 @@ public class DSL {
*
* @see DSLContext#alterViewIfExists(String)
*/
@Support({ POSTGRES })
@Support({ H2, POSTGRES })
public static AlterViewStep alterViewIfExists(String view) {
return dsl().alterViewIfExists(view);
}
@ -7569,7 +7569,7 @@ public class DSL {
*
* @see DSLContext#alterViewIfExists(Name)
*/
@Support({ POSTGRES })
@Support({ H2, POSTGRES })
public static AlterViewStep alterViewIfExists(Name view) {
return dsl().alterViewIfExists(view);
}
@ -7579,7 +7579,7 @@ public class DSL {
*
* @see DSLContext#alterViewIfExists(Table)
*/
@Support({ POSTGRES })
@Support({ H2, POSTGRES })
public static AlterViewStep alterViewIfExists(Table<?> view) {
return dsl().alterViewIfExists(view);
}