Ontimize 5.2072EN

com.ontimize.db.sql
Class SQLHandlerFactory

java.lang.Object
  extended bycom.ontimize.db.sql.SQLHandlerFactory

public class SQLHandlerFactory
extends java.lang.Object


Field Summary
static int ACCESS
          The type of SQLHandler for Access's database.
static int HSQLDB
          The type of SQLHandler for HSQLDB's database.
static int MYSQL
          The type of SQLHandler for MySQL's database
static int ORACLE
          The type of SQLHandler for Oracle's database.
static int POSTGRE
          The type of SQLHandler for Postgre's database.
static int SQLSERVER
          The type of SQLHandler for SQL Server's database.
 
Constructor Summary
SQLHandlerFactory()
           
 
Method Summary
static SQLHandler instanceSQLHandler(int handlerType)
          Returns the SQLHandler of the type that is indicated.
static SQLHandler instanceSQLHandler(java.lang.String handlerType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POSTGRE

public static final int POSTGRE
The type of SQLHandler for Postgre's database.

See Also:
Constant Field Values

ORACLE

public static final int ORACLE
The type of SQLHandler for Oracle's database.

See Also:
Constant Field Values

SQLSERVER

public static final int SQLSERVER
The type of SQLHandler for SQL Server's database.

See Also:
Constant Field Values

HSQLDB

public static final int HSQLDB
The type of SQLHandler for HSQLDB's database.

See Also:
Constant Field Values

ACCESS

public static final int ACCESS
The type of SQLHandler for Access's database.

See Also:
Constant Field Values

MYSQL

public static final int MYSQL
The type of SQLHandler for MySQL's database

See Also:
Constant Field Values
Constructor Detail

SQLHandlerFactory

public SQLHandlerFactory()
Method Detail

instanceSQLHandler

public static SQLHandler instanceSQLHandler(int handlerType)
Returns the SQLHandler of the type that is indicated.

Parameters:
handlerType - The type of SQLHandler.
Returns:
a SQLHandler of the indicated type.

instanceSQLHandler

public static SQLHandler instanceSQLHandler(java.lang.String handlerType)

Ontimize