[jOOQ/jOOQ#9374] Support various H2 ALTER .. IF EXISTS statements
This commit is contained in:
parent
4d7d1a4dd8
commit
368be86581
@ -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);
|
||||
}
|
||||
|
||||
@ -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);
|
||||
|
||||
/**
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user