[#7008] Supported DROP and CREATE SCHEMA for MariaDB
This commit is contained in:
parent
3ab8f5da18
commit
b9f4cffd15
@ -8481,7 +8481,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#createSchema(String)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
CreateSchemaFinalStep createSchema(String schema);
|
||||
|
||||
/**
|
||||
@ -8489,7 +8489,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#createSchema(Name)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
CreateSchemaFinalStep createSchema(Name schema);
|
||||
|
||||
/**
|
||||
@ -8497,7 +8497,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#createSchema(Schema)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
CreateSchemaFinalStep createSchema(Schema schema);
|
||||
|
||||
/**
|
||||
@ -8505,7 +8505,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#createSchemaIfNotExists(String)
|
||||
*/
|
||||
@Support({ H2, POSTGRES })
|
||||
@Support({ H2, MARIADB, POSTGRES })
|
||||
CreateSchemaFinalStep createSchemaIfNotExists(String schema);
|
||||
|
||||
/**
|
||||
@ -8513,7 +8513,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#createSchemaIfNotExists(Name)
|
||||
*/
|
||||
@Support({ H2, POSTGRES })
|
||||
@Support({ H2, MARIADB, POSTGRES })
|
||||
CreateSchemaFinalStep createSchemaIfNotExists(Name schema);
|
||||
|
||||
/**
|
||||
@ -8521,7 +8521,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#createSchemaIfNotExists(Schema)
|
||||
*/
|
||||
@Support({ H2, POSTGRES })
|
||||
@Support({ H2, MARIADB, POSTGRES })
|
||||
CreateSchemaFinalStep createSchemaIfNotExists(Schema schema);
|
||||
|
||||
/**
|
||||
@ -9205,7 +9205,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#dropSchema(String)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
DropSchemaStep dropSchema(String schema);
|
||||
|
||||
/**
|
||||
@ -9213,7 +9213,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#dropSchema(Name)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
DropSchemaStep dropSchema(Name schema);
|
||||
|
||||
/**
|
||||
@ -9221,7 +9221,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#dropSchema(Schema)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
DropSchemaStep dropSchema(Schema schema);
|
||||
|
||||
/**
|
||||
@ -9229,7 +9229,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#dropSchemaIfExists(String)
|
||||
*/
|
||||
@Support({ H2, HSQLDB, POSTGRES })
|
||||
@Support({ H2, HSQLDB, MARIADB, POSTGRES })
|
||||
DropSchemaStep dropSchemaIfExists(String schema);
|
||||
|
||||
/**
|
||||
@ -9237,7 +9237,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#dropSchemaIfExists(Name)
|
||||
*/
|
||||
@Support({ H2, HSQLDB, POSTGRES })
|
||||
@Support({ H2, HSQLDB, MARIADB, POSTGRES })
|
||||
DropSchemaStep dropSchemaIfExists(Name schema);
|
||||
|
||||
/**
|
||||
@ -9245,7 +9245,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#dropSchemaIfExists(Schema)
|
||||
*/
|
||||
@Support({ H2, HSQLDB, POSTGRES })
|
||||
@Support({ H2, HSQLDB, MARIADB, POSTGRES })
|
||||
DropSchemaStep dropSchemaIfExists(Schema schema);
|
||||
|
||||
/**
|
||||
|
||||
@ -6583,7 +6583,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#createSchema(String)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
public static CreateSchemaFinalStep createSchema(String schema) {
|
||||
return using(new DefaultConfiguration()).createSchema(schema);
|
||||
}
|
||||
@ -6593,7 +6593,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#createSchema(Name)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
public static CreateSchemaFinalStep createSchema(Name table) {
|
||||
return using(new DefaultConfiguration()).createSchema(table);
|
||||
}
|
||||
@ -6603,7 +6603,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#createSchema(Schema)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
public static CreateSchemaFinalStep createSchema(Schema schema) {
|
||||
return using(new DefaultConfiguration()).createSchema(schema);
|
||||
}
|
||||
@ -6613,7 +6613,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#createSchemaIfNotExists(String)
|
||||
*/
|
||||
@Support({ H2, POSTGRES })
|
||||
@Support({ H2, MARIADB, POSTGRES })
|
||||
public static CreateSchemaFinalStep createSchemaIfNotExists(String schema) {
|
||||
return using(new DefaultConfiguration()).createSchemaIfNotExists(schema);
|
||||
}
|
||||
@ -6623,7 +6623,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#createSchemaIfNotExists(Name)
|
||||
*/
|
||||
@Support({ H2, POSTGRES })
|
||||
@Support({ H2, MARIADB, POSTGRES })
|
||||
public static CreateSchemaFinalStep createSchemaIfNotExists(Name table) {
|
||||
return using(new DefaultConfiguration()).createSchemaIfNotExists(table);
|
||||
}
|
||||
@ -6633,7 +6633,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#createSchemaIfNotExists(Schema)
|
||||
*/
|
||||
@Support({ H2, POSTGRES })
|
||||
@Support({ H2, MARIADB, POSTGRES })
|
||||
public static CreateSchemaFinalStep createSchemaIfNotExists(Schema schema) {
|
||||
return using(new DefaultConfiguration()).createSchemaIfNotExists(schema);
|
||||
}
|
||||
@ -7392,7 +7392,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#dropSchema(String)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
public static DropSchemaStep dropSchema(String schema){
|
||||
return using(new DefaultConfiguration()).dropSchema(schema);
|
||||
}
|
||||
@ -7402,7 +7402,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#dropSchema(Name)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
public static DropSchemaStep dropSchema(Name schema){
|
||||
return using(new DefaultConfiguration()).dropSchema(schema);
|
||||
}
|
||||
@ -7412,7 +7412,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#dropSchema(Schema)
|
||||
*/
|
||||
@Support({ DERBY, H2, HSQLDB, POSTGRES })
|
||||
@Support({ DERBY, H2, HSQLDB, MARIADB, POSTGRES })
|
||||
public static DropSchemaStep dropSchema(Schema schema){
|
||||
return using(new DefaultConfiguration()).dropSchema(schema);
|
||||
}
|
||||
@ -7422,7 +7422,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#dropSchemaIfExists(String)
|
||||
*/
|
||||
@Support({ H2, POSTGRES })
|
||||
@Support({ H2, MARIADB, POSTGRES })
|
||||
public static DropSchemaStep dropSchemaIfExists(String schema){
|
||||
return using(new DefaultConfiguration()).dropSchemaIfExists(schema);
|
||||
}
|
||||
@ -7432,7 +7432,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#dropSchemaIfExists(Name)
|
||||
*/
|
||||
@Support({ H2, POSTGRES })
|
||||
@Support({ H2, MARIADB, POSTGRES })
|
||||
public static DropSchemaStep dropSchemaIfExists(Name schema){
|
||||
return using(new DefaultConfiguration()).dropSchemaIfExists(schema);
|
||||
}
|
||||
@ -7442,7 +7442,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#dropSchemaIfExists(Schema)
|
||||
*/
|
||||
@Support({ H2, POSTGRES })
|
||||
@Support({ H2, MARIADB, POSTGRES })
|
||||
public static DropSchemaStep dropSchemaIfExists(Schema schema){
|
||||
return using(new DefaultConfiguration()).dropSchemaIfExists(schema);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user