|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.deploy.sp.OracleDatatypeMappings
public final class OracleDatatypeMappings
Provides utility methods for determining what legal data type mappings exist from Java to PL/SQL.
Field Summary | |
---|---|
static java.lang.String |
BOOLEAN |
static java.lang.String |
BYTE |
static java.lang.String |
BYTE_ARRAY |
static java.lang.String |
DOUBLE |
static java.lang.String |
FLOAT |
static java.lang.String |
INT |
static java.lang.String |
JAVA_LANG_BOOLEAN |
static java.lang.String |
JAVA_LANG_BYTE |
static java.lang.String |
JAVA_LANG_DOUBLE |
static java.lang.String |
JAVA_LANG_FLOAT |
static java.lang.String |
JAVA_LANG_INTEGER |
static java.lang.String |
JAVA_LANG_LONG |
static java.lang.String |
JAVA_LANG_SHORT |
static java.lang.String |
JAVA_LANG_STRING |
static java.lang.String |
JAVA_MATH_BIGDECIMAL |
static java.lang.String |
JAVA_SQL_ARRAY |
static java.lang.String |
JAVA_SQL_BLOB |
static java.lang.String |
JAVA_SQL_CLOB |
static java.lang.String |
JAVA_SQL_DATE |
static java.lang.String |
JAVA_SQL_REF |
static java.lang.String |
JAVA_SQL_STRUCT |
static java.lang.String |
JAVA_SQL_TIME |
static java.lang.String |
JAVA_SQL_TIMESTAMP |
static java.lang.String |
LONG |
static java.lang.String |
ORACLE_JDBC_ORACLEARRAY |
static java.lang.String |
ORACLE_JDBC_ORACLEBLOB |
static java.lang.String |
ORACLE_JDBC_ORACLECLOB |
static java.lang.String |
ORACLE_JDBC_ORACLEREF |
static java.lang.String |
ORACLE_JDBC_ORACLESTRUCT |
static java.lang.String |
ORACLE_JDBC2_ARRAY |
static java.lang.String |
ORACLE_JDBC2_BLOB |
static java.lang.String |
ORACLE_JDBC2_CLOB |
static java.lang.String |
ORACLE_JDBC2_REF |
static java.lang.String |
ORACLE_JDBC2_STRUCT |
static java.lang.String |
ORACLE_SQL_ARRAY |
static java.lang.String |
ORACLE_SQL_BFILE |
static java.lang.String |
ORACLE_SQL_BLOB |
static java.lang.String |
ORACLE_SQL_CHAR |
static java.lang.String |
ORACLE_SQL_CLOB |
static java.lang.String |
ORACLE_SQL_CUSTOMDATUM |
static java.lang.String |
ORACLE_SQL_DATE |
static java.lang.String |
ORACLE_SQL_DATUM |
static java.lang.String |
ORACLE_SQL_NUMBER |
static java.lang.String |
ORACLE_SQL_RAW |
static java.lang.String |
ORACLE_SQL_REF |
static java.lang.String |
ORACLE_SQL_ROWID |
static java.lang.String |
ORACLE_SQL_STRUCT |
static java.lang.String |
ORACLE_SQLJDATA |
static java.lang.String |
SHORT |
static java.lang.String |
SQL_BFILE |
static java.lang.String |
SQL_BLOB |
static java.lang.String |
SQL_CHAR |
static java.lang.String |
SQL_CLOB |
static java.lang.String |
SQL_DATE |
static java.lang.String |
SQL_LONG |
static java.lang.String |
SQL_LONG_RAW |
static java.lang.String |
SQL_NCHAR |
static java.lang.String |
SQL_NCLOB |
static java.lang.String |
SQL_NUMBER |
static java.lang.String |
SQL_NVARCHAR2 |
static java.lang.String |
SQL_OBJECT |
static java.lang.String |
SQL_RAW |
static java.lang.String |
SQL_REF |
static java.lang.String |
SQL_ROWID |
static java.lang.String |
SQL_TABLE |
static java.lang.String |
SQL_VARCHAR2 |
static java.lang.String |
SQL_VARRAY |
static java.lang.String |
UNDEFINED |
Method Summary | |
---|---|
static java.lang.String |
getDefaultPlsqlMapping(java.lang.Class javaClass) |
static java.lang.String |
getDefaultPlsqlMapping(java.lang.String javaClassName) |
static java.util.List |
getPlsqlMappings(java.lang.Class javaClass) Given a Class object representing a Java data type, returns a List containing the possible PL/SQL data types that the Java type can be mapped to. |
static java.util.List |
getPlsqlMappings(java.lang.String className) Given a human-readable format of the classname (such as returned by JavaTypes.toDisplayName() or JotClass.getName() ), returns a List of PL/SQL types that the Java type can be mapped to. |
static boolean |
hasPlsqlMapping(java.lang.Class javaClass) Given a Class object representing a Java data type, returns true if it can be mapped to a PL/SQL data type, false if not. |
static boolean |
hasPlsqlMapping(java.lang.String className) Given a String representing the name of a Java data type, returns true if it can be mapped to a PL/SQL data type, false if not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SQL_BFILE
public static final java.lang.String SQL_BLOB
public static final java.lang.String SQL_CHAR
public static final java.lang.String SQL_CLOB
public static final java.lang.String SQL_DATE
public static final java.lang.String SQL_LONG
public static final java.lang.String SQL_LONG_RAW
public static final java.lang.String SQL_NCHAR
public static final java.lang.String SQL_NCLOB
public static final java.lang.String SQL_NUMBER
public static final java.lang.String SQL_NVARCHAR2
public static final java.lang.String SQL_OBJECT
public static final java.lang.String SQL_RAW
public static final java.lang.String SQL_REF
public static final java.lang.String SQL_ROWID
public static final java.lang.String SQL_TABLE
public static final java.lang.String SQL_VARCHAR2
public static final java.lang.String SQL_VARRAY
public static final java.lang.String UNDEFINED
public static final java.lang.String BYTE
public static final java.lang.String BYTE_ARRAY
public static final java.lang.String DOUBLE
public static final java.lang.String FLOAT
public static final java.lang.String INT
public static final java.lang.String BOOLEAN
public static final java.lang.String JAVA_LANG_BYTE
public static final java.lang.String JAVA_LANG_DOUBLE
public static final java.lang.String JAVA_LANG_FLOAT
public static final java.lang.String JAVA_LANG_INTEGER
public static final java.lang.String JAVA_LANG_LONG
public static final java.lang.String JAVA_LANG_SHORT
public static final java.lang.String JAVA_LANG_STRING
public static final java.lang.String JAVA_LANG_BOOLEAN
public static final java.lang.String JAVA_MATH_BIGDECIMAL
public static final java.lang.String JAVA_SQL_ARRAY
public static final java.lang.String JAVA_SQL_BLOB
public static final java.lang.String JAVA_SQL_CLOB
public static final java.lang.String JAVA_SQL_DATE
public static final java.lang.String JAVA_SQL_REF
public static final java.lang.String JAVA_SQL_STRUCT
public static final java.lang.String JAVA_SQL_TIME
public static final java.lang.String JAVA_SQL_TIMESTAMP
public static final java.lang.String LONG
public static final java.lang.String ORACLE_JDBC2_ARRAY
public static final java.lang.String ORACLE_JDBC2_BLOB
public static final java.lang.String ORACLE_JDBC2_CLOB
public static final java.lang.String ORACLE_JDBC2_REF
public static final java.lang.String ORACLE_JDBC2_STRUCT
public static final java.lang.String ORACLE_JDBC_ORACLEARRAY
public static final java.lang.String ORACLE_JDBC_ORACLEBLOB
public static final java.lang.String ORACLE_JDBC_ORACLECLOB
public static final java.lang.String ORACLE_JDBC_ORACLEREF
public static final java.lang.String ORACLE_JDBC_ORACLESTRUCT
public static final java.lang.String ORACLE_SQLJDATA
public static final java.lang.String ORACLE_SQL_ARRAY
public static final java.lang.String ORACLE_SQL_BFILE
public static final java.lang.String ORACLE_SQL_BLOB
public static final java.lang.String ORACLE_SQL_CHAR
public static final java.lang.String ORACLE_SQL_CLOB
public static final java.lang.String ORACLE_SQL_CUSTOMDATUM
public static final java.lang.String ORACLE_SQL_DATE
public static final java.lang.String ORACLE_SQL_DATUM
public static final java.lang.String ORACLE_SQL_NUMBER
public static final java.lang.String ORACLE_SQL_RAW
public static final java.lang.String ORACLE_SQL_REF
public static final java.lang.String ORACLE_SQL_ROWID
public static final java.lang.String ORACLE_SQL_STRUCT
public static final java.lang.String SHORT
Method Detail |
---|
public static java.lang.String getDefaultPlsqlMapping(java.lang.String javaClassName)
public static java.lang.String getDefaultPlsqlMapping(java.lang.Class javaClass)
public static java.util.List getPlsqlMappings(java.lang.Class javaClass)
Class
object representing a Java data type, returns a List
containing the possible PL/SQL data types that the Java type can be mapped to. If no mappings are possible, null
is returned.public static boolean hasPlsqlMapping(java.lang.Class javaClass)
Class
object representing a Java data type, returns true
if it can be mapped to a PL/SQL data type, false
if not.public static java.util.List getPlsqlMappings(java.lang.String className)
JavaTypes.toDisplayName()
or JotClass.getName()
), returns a List
of PL/SQL types that the Java type can be mapped to. If no mappings are possible, null
is returned.public static boolean hasPlsqlMapping(java.lang.String className)
String
representing the name of a Java data type, returns true
if it can be mapped to a PL/SQL data type, false
if not.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |