public class H2DBInterface extends DBInterfaceBase implements DBInterfaceInternal
capabilities, connFactory, dbType, errorConverter, random, sqlHelperFactory, sqlLog, tableCreator, valueHelperet, factorySvc, log| Constructor and Description |
|---|
H2DBInterface(FactoryService factorySvc,
ConnectionFactory connFactory) |
buildDValueList, buildScalarResult, createFKSqlGen, createPrepInsertSqlGen, createPrepSqlGen, createRelation, createTableCreator, doBuildDValueList, enableSQLLogging, extractGeneratedKey, generateUniqueConstraintName, getCapabilities, getDBType, init, isSQLLoggingEnabled, logSql, logSql, mergeRows, readFieldpublic H2DBInterface(FactoryService factorySvc, ConnectionFactory connFactory)
public DBExecutor createExector(DBAccessContext ctx)
createExector in interface DBInterfacecreateExector in class DBInterfaceBasepublic DValue executeInsert(DValue dval, InsertContext ctx, DBAccessContext dbctx)
executeInsert in interface DBInterfacepublic QueryResponse executeQuery(QuerySpec spec, QueryContext qtx, DBAccessContext dbctx)
executeQuery in interface DBInterfacepublic boolean doesTableExist(String tableName, DBAccessContext dbctx)
doesTableExist in interface DBInterfacepublic boolean doesFieldExist(String tableName, String fieldName, DBAccessContext dbctx)
doesFieldExist in interface DBInterfacepublic void executeDelete(QuerySpec spec, DBAccessContext dbctx)
executeDelete in interface DBInterfacepublic int executeUpdate(QuerySpec spec, DValue dval, DBAccessContext dbctx)
executeUpdate in interface DBInterfaceprotected int executeSQL(String sql, DBAccessContext ctx)
public void createTable(String tableName, DBAccessContext dbctx)
createTable in interface DBInterfacepublic void deleteTable(String tableName, DBAccessContext dbctx)
deleteTable in interface DBInterfacepublic void renameTable(String tableName, String newTableName, DBAccessContext dbctx)
renameTable in interface DBInterfacepublic void createField(String typeName, String fieldName, DBAccessContext dbctx)
createField in interface DBInterfacepublic void deleteField(String typeName, String field, DBAccessContext dbctx)
deleteField in interface DBInterfacepublic void renameField(String typeName, String fieldName, String newName, DBAccessContext dbctx)
renameField in interface DBInterfacepublic void alterFieldType(String typeName, String fieldName, String newFieldType, DBAccessContext dbctx)
alterFieldType in interface DBInterfacepublic void alterField(String typeName, String fieldName, String deltaFlags, DBAccessContext dbctx)
alterField in interface DBInterfacepublic String getConnectionSummary()
getConnectionSummary in interface DBInterfaceInternalpublic void enablePrintStackTrace(boolean b)
enablePrintStackTrace in interface DBInterfaceInternalpublic void enumerateAllTables(Log logToUse)
enumerateAllTables in interface DBInterfaceInternalpublic void enumerateAllConstraints(Log logToUse)
enumerateAllConstraints in interface DBInterfaceInternalCopyright © 2020. All rights reserved.