Package org.apache.openjpa.jdbc.schema
Class Schemas
java.lang.Object
org.apache.openjpa.jdbc.schema.Schemas
Helper class to deal with schemas.
- Author:
- Abe White
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Column[]
static final ForeignKey[]
static final Index[]
static final Unique[]
static final Object[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?>
getJavaType
(int type, int size, int decimals) Return the java type for the given SQL type fromTypes
.static String
getJDBCName
(int type) Return the SQL type name for the givenTypes
constant.static int
getJDBCType
(String name) Return theTypes
constant for the given SQL type name.static String
Deprecated.static DBIdentifier
-
Field Details
-
EMPTY_COLUMNS
-
EMPTY_FOREIGN_KEYS
-
EMPTY_INDEXES
-
EMPTY_UNIQUES
-
EMPTY_VALUES
-
-
Constructor Details
-
Schemas
public Schemas()
-
-
Method Details
-
getNewTableSchema
Deprecated.Return the schema name that should be used for new tables, or null if none. -
getNewTableSchemaIdentifier
-
getJDBCName
Return the SQL type name for the givenTypes
constant. -
getJDBCType
Return theTypes
constant for the given SQL type name. -
getJavaType
Return the java type for the given SQL type fromTypes
.
-