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 SummaryFieldsModifier and TypeFieldDescriptionstatic final Column[]static final ForeignKey[]static final Index[]static final Unique[]static final Object[]
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
Schemaspublic Schemas()
 
- 
- 
Method Details- 
getNewTableSchemaDeprecated.Return the schema name that should be used for new tables, or null if none.
- 
getNewTableSchemaIdentifier
- 
getJDBCNameReturn the SQL type name for the givenTypesconstant.
- 
getJDBCTypeReturn theTypesconstant for the given SQL type name.
- 
getJavaTypeReturn the java type for the given SQL type fromTypes.
 
-