Sha256: d6376cb73f7be24aea0874aa42020fa0974fc382f788ee6cd5cb3aef542e7bbf
Contents?: true
Size: 890 Bytes
Versions: 26
Compression:
Stored size: 890 Bytes
Contents
# frozen_string_literal: true module ArJdbc module Abstract module ConnectionManagement # @override def active? return unless @connection @connection.active? end def really_valid? return unless @connection @connection.really_valid? end # @override def reconnect! super # clear_cache! && reset_transaction @connection.reconnect! # handles adapter.configure_connection end # @override def disconnect! super # clear_cache! && reset_transaction return unless @connection @connection.disconnect! end # @override # def verify!(*ignored) # if @connection && @connection.jndi? # # checkout call-back does #reconnect! # else # reconnect! unless active? # super # end # end end end end
Version data entries
26 entries across 26 versions & 2 rubygems