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

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     

    Fields inherited from class org.flywaydb.core.internal.nc.AbstractNativeConnectorsDatabase

    batch, connectionType, currentSchema, metaData

    Fields inherited from interface org.flywaydb.core.internal.nc.NativeConnectorsDatabase

    APPLICATION_NAME, LOG
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    boolean
     
    boolean
    By default, databases that use Batch to implement Transactions cannot support Batch, as it would cause a conflict.
    boolean
    Only 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, getDefaultSchema

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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, updateSchemaHistoryItem

    Methods 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()