com.metamatrix.common.jdbc
Class JDBCPlatform
java.lang.Object
com.metamatrix.common.jdbc.JDBCPlatform
public class JDBCPlatform
- extends java.lang.Object
Nested Class Summary |
protected static interface |
JDBCPlatform.Protocol
The use of platforms is a secondary search option in case the supported
platforms don't match to the product name |
static class |
JDBCPlatform.Supported
These are the platforms supported |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCPlatform
public JDBCPlatform()
getSupportedByProtocol
public static JDBCPlatform.Supported getSupportedByProtocol(java.lang.String value)
convertToByteArray
public static byte[] convertToByteArray(java.lang.Object sourceObject)
throws TransformationException
- Throws:
TransformationException
convertToByteArray
protected static byte[] convertToByteArray(java.sql.Blob sourceObject)
throws TransformationException
- Throws:
TransformationException
convertToByteArray
protected static byte[] convertToByteArray(java.sql.Clob sourceObject)
throws TransformationException
- Throws:
TransformationException
getDatabaseColumnSize
public static int getDatabaseColumnSize(java.lang.String tableName,
java.lang.String columnName,
java.sql.Connection jdbcConnection)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getIdentifierQuoteString
public static java.lang.String getIdentifierQuoteString(java.sql.Connection connection)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
Copyright © 2009. All Rights Reserved.