Uses of Interface
de.aristaflow.adept2.base.dbaccess.ExtendedConnection
Packages that use ExtendedConnection
Package
Description
-
Uses of ExtendedConnection in de.aristaflow.adept2.base.dbaccess
Methods in de.aristaflow.adept2.base.dbaccess that return ExtendedConnectionModifier and TypeMethodDescriptionJDBCDataSource.getConnection(boolean readOnly) Gets a read-only or writable connection to this data source.JDBCDataSource.getConnection(boolean readOnly, int isolation) Gets a read-only or writable connection to this data source having the designated isolation level.JDBCDataSource.getIteratorConnection()Similar toJDBCDataSource.getConnection(boolean)but the returned connection is intended to be used in a potentially long-livingRemoteIteratorwrapping a result set.Methods in de.aristaflow.adept2.base.dbaccess with parameters of type ExtendedConnectionModifier and TypeMethodDescriptionvoidDBAccessProvider.addColumn(ExtendedConnection con, String tableName, String columnName, String correspondingDbType) Adds an additional column to the designated table of the designated type.DBAccessProvider.createRecursionTable(ExtendedConnection connection, String[] selectAttributes, String[] rootAttributes, String tableName, String startCondition, ParentToChildConnection[] parentToChildConnections) LikeDBAccessProvider.createRecursionTable(ExtendedConnection, String[], String, String, ParentToChildConnection[], int)but without a maximum depth.DBAccessProvider.createRecursionTable(ExtendedConnection connection, String[] selectAttributes, String tableName, String startCondition, ParentToChildConnection[] parentToChildConnections, int maxDepth) Creates a (temporary) table or view containing tuples that match a recursive/hierarchical SQL-query which is based on the specified parameters.voidDBAccessProvider.createSequence(ExtendedConnection connection, String sequenceName, long start, long increment) Creates a new sequence in the database.voidDBAccessProvider.dropAllRecursionTables(ExtendedConnection connection) All tables that have been created viacreateRecursionTable(String[], String, String, String[], int)are dropped.voidDBAccessProvider.dropColumn(ExtendedConnection con, String tableName, String columnName) Drops the specified column from the table which corresponds to anALTER TABLE DROP COLUMNstatement.voidDBAccessProvider.dropRecursionTable(ExtendedConnection connection, String tableName) The specified table that has been created viacreateRecursionTable(String[], String, String, String[], int)is dropped.voidDBAccessProvider.dropSequence(ExtendedConnection connection, String sequenceName) Drop the sequence with the given name.DBAccessProvider.getAddForeignKey(ExtendedConnection con, de.aristaflow.adept2.base.dbaccess.model.ForeignKey fk, boolean quoteIdentifiers) Gets an SQL string forALTER TABLEwhich adds the designated foreign key.intDBAccessProvider.getColumnType(ExtendedConnection con, String columnName, String tableName) Gets the type of a specific column asjava.sql.Types.DBAccessProvider.getCurrentTime(ExtendedConnection con) Gets the current time (as timestamp) from the underlying DBMS in UTC timezone.voidDBAccessProvider.lockTable(ExtendedConnection con, String tableName, long timeout) Locks the designated table exclusively until the end of the corresponding transaction.longDBAccessProvider.nextID(ExtendedConnection connection, String sequenceName) Returns the next ID from the sequence with the given name.voidDBAccessProvider.renameColumn(ExtendedConnection con, String tableName, String oldColumnName, String newColumnName) Renames the designated column from the table which corresponds to anALTER TABLE RENAME COLUMNstatement.voidDBAccessProvider.renameTable(ExtendedConnection con, String oldName, String newName) Renames the designated table using the designated new name.booleanDBAccessProvider.sequenceExists(ExtendedConnection connection, String sequenceName) Returns whether a sequence with the given name exists.voidDBAccessProvider.setDefaultLockTimeout(ExtendedConnection con) Sets the default value for the lock timeout.longDBAccessProvider.setLockTimeout(ExtendedConnection con, long timeout) Sets the lock timeout for the current transaction or connection in the designated connection to the designated timeout (in milliseconds) and returns the current lock timeout.voidDBAccessProvider.terminate(ExtendedConnection con) Terminates this access provider allowing it to do some clean-up if required.voidDBAccessProvider.updateColumnDefault(ExtendedConnection con, String tableName, String columnName, Object defaultValue) Sets the designated value as default value for the designated column.voidDBAccessProvider.updateColumnsNullable(ExtendedConnection con, String tableName, boolean nullable, String... columns) Sets the designated columns of the designated table nullable (not nullable).voidDBAccessProvider.updateColumnsType(ExtendedConnection con, Map<String, Collection<String>> columns, String correspondingDbType) Sets the type of the designated columns of the designated tables to the provided one.voidDBAccessProvider.updateColumnType(ExtendedConnection con, String tableName, String columnName, String correspondingDbType) Sets the type of the designated column of the designated table to the provided one.DBAccessProvider.useLockTimeout(ExtendedConnection con, String query, long timeout) Appends the designated lock timeout in milliseconds to the designated query (DDL and DML are not supported!). -
Uses of ExtendedConnection in de.aristaflow.adept2.base.registry.dbconfiguration
Fields in de.aristaflow.adept2.base.registry.dbconfiguration declared as ExtendedConnectionModifier and TypeFieldDescriptionprotected ExtendedConnectionDatabaseConfiguration.JdbcOperation.connStores the connection. -
Uses of ExtendedConnection in de.aristaflow.adept2.core.eventmanager.common
Methods in de.aristaflow.adept2.core.eventmanager.common that return ExtendedConnectionModifier and TypeMethodDescriptionDefaultEventManager.getConnection(String dataSource, boolean readOnly) Retrieves a connection to the designated data source. -
Uses of ExtendedConnection in de.aristaflow.adept2.core.transactionmanager
Subinterfaces of ExtendedConnection in de.aristaflow.adept2.core.transactionmanagerModifier and TypeInterfaceDescriptioninterfaceA managed extended connection extends anExtendedConnectionby the means to handle remote iterator.Methods in de.aristaflow.adept2.core.transactionmanager that return ExtendedConnectionModifier and TypeMethodDescriptionTxManager.commitTransaction(T o) Commits the transaction started for the designated object.TxManager.rollbackTransaction(T o) Rolls back the transaction started for the designated object.TxManager.startTransaction(T o, boolean readOnly) Starts a read-only or writable transaction for the designated object and returns the corresponding connection.TxManager.startTransaction(T o, boolean readOnly, boolean hierarchical) Starts a read-only or writable transaction and possibly a hierarchical transaction for the designated object and returns the corresponding connection.TxManager.startTransaction(T o, boolean readOnly, boolean hierarchical, int isolation) Starts a read-only or writable transaction and possibly a hierarchical transaction for the designated object having the designated isolation level.TxManager.startTransaction(T o, boolean readOnly, int isolation) Starts a read-only or writable transaction for the designated object having the designated isolation level.Methods in de.aristaflow.adept2.core.transactionmanager with parameters of type ExtendedConnectionModifier and TypeMethodDescriptionvoidTxDbUpdateManager.performUpdates(T o, ExtendedConnection con) Performs all available updates from the current version thelatest version.