Package org.flywaydb.nc
Class NativeConnectorsNonJdbc
java.lang.Object
org.flywaydb.core.internal.nc.AbstractNativeConnectorsDatabase<NonJdbcExecutorExecutionUnit>
org.flywaydb.nc.NativeConnectorsNonJdbc
- All Implemented Interfaces:
AutoCloseable,Comparable<org.flywaydb.core.extensibility.Plugin>,org.flywaydb.core.extensibility.Plugin,org.flywaydb.core.internal.nc.NativeConnectorsDatabase<NonJdbcExecutorExecutionUnit>
public abstract class NativeConnectorsNonJdbc
extends org.flywaydb.core.internal.nc.AbstractNativeConnectorsDatabase<NonJdbcExecutorExecutionUnit>
-
Field Summary
FieldsFields inherited from class org.flywaydb.core.internal.nc.AbstractNativeConnectorsDatabase
batch, connectionType, currentSchema, metaDataFields inherited from interface org.flywaydb.core.internal.nc.NativeConnectorsDatabase
APPLICATION_NAME, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidbooleanisClosed()booleanBy default, databases that use Batch to implement Transactions cannot support Batch, as it would cause a conflict.booleanOnly applies to certain non-JDBC databases that put all statements within a block and execute them as a single transaction.Methods inherited from class org.flywaydb.core.internal.nc.AbstractNativeConnectorsDatabase
addToBatch, getBatchSize, getCurrentSchema, getDefaultSchemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flywaydb.core.internal.nc.NativeConnectorsDatabase
allSchemasEmpty, appendSchemaHistoryItem, canCreateJdbcDataSource, commitTransaction, createSchemaHistoryTable, createSchemaHistoryTableIfNotExists, createSchemas, doClean, doCleanSchema, doDropSchema, doExecute, doQuote, getCloseQuote, getCurrentUser, getDatabaseMetaData, getDatabaseType, getInstalledBy, getOpenQuote, getParser, getSchemaHistoryModel, getUrlRedactionPatterns, hasNonTransactionalStatements, initialize, isOnByDefault, isSchemaEmpty, isSchemaExists, quote, redactUrl, removeFailedSchemaHistoryItems, rollbackTransaction, schemaHistoryTableExists, startTransaction, supportedVerbs, supportsTransactions, supportsUrl, updateSchemaHistoryItemMethods inherited from interface org.flywaydb.core.extensibility.Plugin
compareTo, copy, getName, getPluginVersion, getPriority, isEnabled, isLicensed
-
Field Details
-
isClosed
protected boolean isClosed
-
-
Constructor Details
-
NativeConnectorsNonJdbc
public NativeConnectorsNonJdbc()
-
-
Method Details
-
supportsBatch
public boolean supportsBatch()By default, databases that use Batch to implement Transactions cannot support Batch, as it would cause a conflict. -
transactionAsBatch
public boolean transactionAsBatch()Only applies to certain non-JDBC databases that put all statements within a block and execute them as a single transaction. For these databases, transactions are handled via batching -
doExecuteBatch
public void doExecuteBatch() -
isClosed
public boolean isClosed() -
close
public void close()
-