module Sequel::JDBC::Transactions

Constants

TRANSACTION_BEGIN
TRANSACTION_COMMIT
TRANSACTION_RELEASE_SP
TRANSACTION_ROLLBACK
TRANSACTION_ROLLBACK_SP
TRANSACTION_SAVEPOINT

Public Instance Methods

supports_savepoints?() click to toggle source

Check the JDBC DatabaseMetaData for savepoint support

# File lib/sequel/adapters/jdbc/transactions.rb, line 12
def supports_savepoints?
  return @supports_savepoints if defined?(@supports_savepoints)
  @supports_savepoints = synchronize{|c| c.get_meta_data.supports_savepoints}
end