Class SimpleDatabaseType
java.lang.Object
org.ofbiz.core.entity.jdbc.dbtype.AbstractDatabaseType
org.ofbiz.core.entity.jdbc.dbtype.SimpleDatabaseType
- All Implemented Interfaces:
DatabaseType,ReservedKeywordsAware
- Direct Known Subclasses:
DB2DatabaseType,H2DatabaseType,MsSqlDatabaseType,MySqlDatabaseType
-
Field Summary
Fields inherited from class org.ofbiz.core.entity.jdbc.dbtype.AbstractDatabaseType
ALTER_TABLE_DROP_INDEX, CHANGE_COLUMN_TYPE_CLAUSE_STRUCTURE_STANDARD_ALTER_COLUMN, CHANGE_COLUMN_TYPE_CLAUSE_STRUCTURE_STANDARD_MODIFY, DROP_INDEX_SCHEMA_DOT_INDEX, DROP_INDEX_SCHEMA_DOT_TABLE_DOT_INDEX, STANDARD_SELECT_FOR_UPDATE_SYNTAXFields inherited from interface org.ofbiz.core.entity.jdbc.dbtype.DatabaseType
STANDARD_SELECT_SYNTAXFields inherited from interface org.ofbiz.core.entity.jdbc.sql.escape.ReservedKeywordsAware
END_ESCAPE_CHARACTER_SQUARE_BRACKET, ESCAPE_CHARACTER_BACK_TICK, ESCAPE_CHARACTER_DOUBLE_QUOTE, START_ESCAPE_CHARACTER_SQUARE_BRACKET -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSimpleDatabaseType(String name, String fieldTypeName, String[] productNamePrefix) protectedSimpleDatabaseType(String name, String fieldTypeName, String[] productNamePrefix, int constraintNameClipLength) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis implementation of the method only checks the productName returned by the driver against a list of potential product name prefixes.Methods inherited from class org.ofbiz.core.entity.jdbc.dbtype.AbstractDatabaseType
equals, getChangeColumnTypeSQL, getChangeColumnTypeStructure, getConstraintNameClipLength, getDropIndexSQL, getDropIndexStructure, getFieldTypeName, getName, getReservedKeywords, getSchemaName, hashCode, initialize, isProductNameInPrefixList, productNameMatches, productNamesMatch, registerWithFactory, toString, versionGreaterThanOrEqual, versionGreaterThanOrEqual, versionLessThanOrEqualMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ofbiz.core.entity.jdbc.dbtype.DatabaseType
getSimpleSelectSqlSyntaxMethods inherited from interface org.ofbiz.core.entity.jdbc.sql.escape.ReservedKeywordsAware
enableEscaping, escapeColumnName, getEndEscapeCharacter, getStartEscapeCharacter
-
Constructor Details
-
SimpleDatabaseType
-
SimpleDatabaseType
-
-
Method Details
-
matchesConnection
This implementation of the method only checks the productName returned by the driver against a list of potential product name prefixes.- Specified by:
matchesConnectionin interfaceDatabaseType- Specified by:
matchesConnectionin classAbstractDatabaseType- Returns:
- true if the Connection matches this DatabaseType instance.
- Throws:
SQLException
-