| java.lang.Object com.triactive.jdo.store.DatabaseAdapter com.triactive.jdo.store.MySQLAdapter
MySQLAdapter | public class MySQLAdapter extends DatabaseAdapter (Code) | | Provides methods for adapting SQL language elements to the MySQL
database.
author: Mike Martin |
Field Summary | |
final public static String | NONSQL92_RESERVED_WORDS A string containing the list of MySQL keywords that are not also SQL/92
reserved words, separated by commas. |
NONSQL92_RESERVED_WORDS | final public static String NONSQL92_RESERVED_WORDS(Code) | | A string containing the list of MySQL keywords that are not also SQL/92
reserved words, separated by commas.
This list is normally obtained dynamically from the driver using
DatabaseMetaData.getSQLKeywords(), but MySQL drivers are known to return
an imcomplete list.
This list was produced based on the reserved word list in the MySQL
Manual (Version 4.0.10-gamma) at http://www.mysql.com/doc/en/Reserved_words.html.
|
createIndexesBeforeForeignKeys | public boolean createIndexesBeforeForeignKeys()(Code) | | |
supportsAlterTableDropConstraint | public boolean supportsAlterTableDropConstraint()(Code) | | |
supportsDeferredConstraints | public boolean supportsDeferredConstraints()(Code) | | |
Methods inherited from com.triactive.jdo.store.DatabaseAdapter | public void closeConnection(Connection conn) throws SQLException(Code)(Java Doc) public boolean createIndexesBeforeForeignKeys()(Code)(Java Doc) protected void createTypeInfo(DatabaseMetaData metadata) throws SQLException(Code)(Java Doc) public String getAddCandidateKeyStatement(SQLIdentifier ckName, CandidateKey ck)(Code)(Java Doc) public String getAddForeignKeyStatement(SQLIdentifier fkName, ForeignKey fk)(Code)(Java Doc) public String getAddPrimaryKeyStatement(SQLIdentifier pkName, PrimaryKey pk)(Code)(Java Doc) public Connection getConnection(DataSource ds, String userName, String password, int isolationLevel) throws SQLException(Code)(Java Doc) public String getCreateIndexStatement(SQLIdentifier idxName, Index idx)(Code)(Java Doc) public String getCreateTableStatement(BaseTable table, Column[] columns)(Code)(Java Doc) public String getDropTableStatement(BaseTable table)(Code)(Java Doc) public String getDropViewStatement(View view)(Code)(Java Doc) public String getIdentifierQuoteString()(Code)(Java Doc) public static synchronized DatabaseAdapter getInstance(Connection conn) throws SQLException(Code)(Java Doc) public Mapping getMapping(Class c)(Code)(Java Doc) public ColumnMapping getMapping(Column col)(Code)(Java Doc) public Mapping getMapping(ClassBaseTable table, int relativeFieldNumber)(Code)(Java Doc) protected Class getMappingClass(Class c)(Code)(Java Doc) public int getMaxColumnNameLength()(Code)(Java Doc) public int getMaxConstraintNameLength()(Code)(Java Doc) public int getMaxIndexNameLength()(Code)(Java Doc) public int getMaxTableNameLength()(Code)(Java Doc) public SQLState getSQLState(SQLException se)(Code)(Java Doc) public String getSchemaName(Connection conn) throws SQLException(Code)(Java Doc) public TypeInfo getTypeInfo(int dataType) throws UnsupportedDataTypeException(Code)(Java Doc) public TypeInfo getTypeInfo(int[] candidateDataTypes) throws UnsupportedDataTypeException(Code)(Java Doc) public int getUnlimitedLengthPrecisionValue(TypeInfo typeInfo)(Code)(Java Doc) public String getVendorID()(Code)(Java Doc) public boolean includeOrderByColumnsInSelect()(Code)(Java Doc) public boolean isEmbeddedType(Class c)(Code)(Java Doc) public boolean isSQLKeyword(String word)(Code)(Java Doc) public NumericExpression lengthMethod(CharacterExpression str)(Code)(Java Doc) public ColumnInfo newColumnInfo(ResultSet rs)(Code)(Java Doc) public JDOException newDataStoreException(String message, SQLException e)(Code)(Java Doc) public ForeignKeyInfo newForeignKeyInfo(ResultSet rs)(Code)(Java Doc) public QueryStatement newQueryStatement(Table table)(Code)(Java Doc) public QueryStatement newQueryStatement(Table table, SQLIdentifier rangeVar)(Code)(Java Doc) public TableExpression newTableExpression(QueryStatement qs, Table table, SQLIdentifier rangeVar)(Code)(Java Doc) protected TypeInfo newTypeInfo(ResultSet rs)(Code)(Java Doc) protected Set parseKeywordList(String list)(Code)(Java Doc) public boolean storesLowerCaseIdentifiers()(Code)(Java Doc) public boolean storesUpperCaseIdentifiers()(Code)(Java Doc) public CharacterExpression substringMethod(CharacterExpression str, NumericExpression begin)(Code)(Java Doc) public CharacterExpression substringMethod(CharacterExpression str, NumericExpression begin, NumericExpression end)(Code)(Java Doc) public boolean supportsAlterTableDropConstraint()(Code)(Java Doc) public boolean supportsBooleanComparison()(Code)(Java Doc) public boolean supportsDeferredConstraints()(Code)(Java Doc) public boolean supportsNullsInCandidateKeys()(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|