com.metamatrix.common.jdbc
Class JDBCPlatformFactory
java.lang.Object
com.metamatrix.common.jdbc.JDBCPlatformFactory
public class JDBCPlatformFactory
- extends java.lang.Object
DO NOT USE LogManager in this class
Here's the matrix for determining which platform to use:
PN = Product Name, which means the product name from the metadata will help determine the platform
Protocol = means the Protocol (mmx:oracle, oracle, sequelink) will help determine the platform
Driver | Oracle DB2 SQLServer Sybase Informix
------------------------------------------------------------------------------
Native PN PN PN PN PN
MMX (DD) Protocol PN PN PN PN
(mmx:oracle)
MetaMatrix JDBC Protocol -->(SAME) -->(SAME) ----->(SAME) --> (SAME)
------------------------------------------------------------------------------
The process will look 1st at the protocol and then the product name to further
deliniate the type of platform that should be used.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCPlatformFactory
public JDBCPlatformFactory()
getPlatform
public static JDBCPlatform getPlatform(java.sql.Connection jdbcConnection)
throws MetaMatrixException
- Throws:
MetaMatrixException
getPlatform
public static JDBCPlatform getPlatform(java.lang.String url,
java.lang.String driverName)
throws MetaMatrixException
- Throws:
MetaMatrixException
Copyright © 2009. All Rights Reserved.