com.metamatrix.common.jdbc.db
Class OraclePlatform
java.lang.Object
com.metamatrix.common.jdbc.JDBCPlatform
com.metamatrix.common.jdbc.db.OraclePlatform
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- MMOraclePlatform, MMOracleSecurePlatform
public class OraclePlatform
- extends JDBCPlatform
- See Also:
- Serialized Form
Fields inherited from class com.metamatrix.common.jdbc.JDBCPlatform |
AND, classTypes, COMMA, DELETE_FROM, DISTINCT, EQUAL, fieldTypes, FROM, GROUP_BY, IN, INSERT_INTO, INTO, isSecure, LENGTH, maximumValues, minimumValues, ON, ORDER_BY, PARAM, PERIOD, platformOperators, SELECT, SET, SPACE, tableTypes, UPDATE, usesStreamsForBlobBinding, usesStreamsForClobBinding, VALUES, WHERE |
Methods inherited from class com.metamatrix.common.jdbc.JDBCPlatform |
addOperator, buildClassTypes, buildCommaSeperatedColumns, buildSetParmClause, buildWhereParameterClause, buildWhereUsingUiqueKeys, convertClobToByteArray, convertToByteArray, convertToByteArray, convertToByteArray, createDeleteStatement, createDeleteStatement, createDeleteStatement, createInsertStatement, createInsertStatement, createSelectStatement, createSelectStatement, createSelectStatement, createTruncateStatement, createTruncateStatement, createUpdateStatement, createUpdateStatement, getClassTypes, getDatabaseColumnSize, getFieldTypes, getMaximumValue, getMinimumValue, getNonExecutableDelimiters, getOperator, getPlatformName, getPlatformOperators, getTableTypes, isDB2, isDerby, isInformix, isMetaMatrix, isMSSQL, isMYSQL, isPostgres, isSecure, isSybase, parseToExecutableStatements, setBlob, setClob, setClob, setClob, setConnection, setIsSecure, setPlatformName, usesStreamsForBlobBinding, usesStreamsForClobBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OraclePlatform
public OraclePlatform()
isOracle
public boolean isOracle()
- Overrides:
isOracle
in class JDBCPlatform
getMaxFieldNameSize
public int getMaxFieldNameSize()
- INTERNAL:
returns the maximum number of characters that can be used in a field
name on this platform.
- Overrides:
getMaxFieldNameSize
in class JDBCPlatform
buildFieldTypes
protected java.util.Map buildFieldTypes()
- Overrides:
buildFieldTypes
in class JDBCPlatform
buildPlatformOperators
protected java.util.Map buildPlatformOperators()
- Overrides:
buildPlatformOperators
in class JDBCPlatform
maximumNumericValues
public java.util.Map maximumNumericValues()
- Builds a table of maximum numeric values keyed on java class. This is used for type testing but
might also be useful to end users attempting to sanitize values.
NOTE: BigInteger & BigDecimal maximums are dependent upon their precision & Scale
- Overrides:
maximumNumericValues
in class JDBCPlatform
minimumNumericValues
public java.util.Map minimumNumericValues()
- Builds a table of minimum numeric values keyed on java class. This is used for type testing but
might also be useful to end users attempting to sanitize values.
NOTE: BigInteger & BigDecimal minimums are dependent upon their precision & Scale
- Overrides:
minimumNumericValues
in class JDBCPlatform
isClosed
public boolean isClosed(java.sql.Connection connection)
- Overrides:
isClosed
in class JDBCPlatform
setBlob
public int setBlob(java.sql.ResultSet results,
byte[] data,
java.lang.String columnName)
throws java.sql.SQLException,
java.io.IOException
- Overrides:
setBlob
in class JDBCPlatform
- Throws:
java.sql.SQLException
java.io.IOException
createInsertStatement
public java.lang.String createInsertStatement(Table tableMetadata)
- This will create an insert statement that can be used
to insert rows using a PreparedStatement. This method override
its parent to handle the Blob specialized for Oracle platform.
- Overrides:
createInsertStatement
in class JDBCPlatform
- Parameters:
tableMetadata
- the definition of the table in which
records are to be updated; may not be null;
isDefault
public boolean isDefault()
- Overrides:
isDefault
in class JDBCPlatform
Copyright © 2009. All Rights Reserved.