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
FieldsModifier and TypeFieldDescriptionstatic final Column[]static final ForeignKey[]static final Index[]static final Unique[]static final Object[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?>getJavaType(int type, int size, int decimals) Return the java type for the given SQL type fromTypes.static StringgetJDBCName(int type) Return the SQL type name for the givenTypesconstant.static intgetJDBCType(String name) Return theTypesconstant for the given SQL type name.static StringDeprecated.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 givenTypesconstant. -
getJDBCType
Return theTypesconstant for the given SQL type name. -
getJavaType
Return the java type for the given SQL type fromTypes.
-