|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.cortex.TypeInfoMap
public class TypeInfoMap
A TypeInfoMap maps JDBC types to database-specific type information, including the database-specific type name, and creation parameters. The TypeInfoMap must be created using a JDBC connection, which uses the JDBC metadata to obtain this mapping.
Types
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
TypeInfoMap(java.sql.Connection pConnection)
Creates and returns a new TypeInfoMap with the map determined using the database metadata obtained from the given connection. |
Method Summary | |
---|---|
java.lang.String |
getDatabaseProductName()
|
TypeInfo |
getTypeInfo(int pJDBCType)
Returns the TypeInfo associated with the given JDBC type, or null if the database does not support that JDBC type. |
void |
setDatabaseProductName(java.lang.String pDatabaseProductName)
Sets the property DatabaseProductName. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public TypeInfoMap(java.sql.Connection pConnection) throws java.sql.SQLException
java.sql.SQLException
- if unable to obtain the metadataMethod Detail |
---|
public TypeInfo getTypeInfo(int pJDBCType)
public void setDatabaseProductName(java.lang.String pDatabaseProductName)
public java.lang.String getDatabaseProductName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |