|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.schema.Schemas
public class Schemas
Helper class to deal with schemas.
Field Summary | |
---|---|
static Column[] |
EMPTY_COLUMNS
|
static ForeignKey[] |
EMPTY_FOREIGN_KEYS
|
static Index[] |
EMPTY_INDEXES
|
static Unique[] |
EMPTY_UNIQUES
|
static Object[] |
EMPTY_VALUES
|
Constructor Summary | |
---|---|
Schemas()
|
Method Summary | |
---|---|
static Class<?> |
getJavaType(int type,
int size,
int decimals)
Return the java type for the given SQL type from Types . |
static String |
getJDBCName(int type)
Return the SQL type name for the given Types constant. |
static int |
getJDBCType(String name)
Return the Types constant for the given SQL type name. |
static String |
getNewTableSchema(JDBCConfiguration conf)
Deprecated. |
static DBIdentifier |
getNewTableSchemaIdentifier(JDBCConfiguration conf)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Column[] EMPTY_COLUMNS
public static final ForeignKey[] EMPTY_FOREIGN_KEYS
public static final Index[] EMPTY_INDEXES
public static final Unique[] EMPTY_UNIQUES
public static final Object[] EMPTY_VALUES
Constructor Detail |
---|
public Schemas()
Method Detail |
---|
public static String getNewTableSchema(JDBCConfiguration conf)
public static DBIdentifier getNewTableSchemaIdentifier(JDBCConfiguration conf)
public static String getJDBCName(int type)
Types
constant.
public static int getJDBCType(String name)
Types
constant for the given SQL type name.
public static Class<?> getJavaType(int type, int size, int decimals)
Types
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |