spring-framework / org.springframework.jca.cci.connection / ConnectionSpecConnectionFactoryAdapter / setConnectionSpecForCurrentThread

setConnectionSpecForCurrentThread

open fun setConnectionSpecForCurrentThread(spec: ConnectionSpec): Unit

Set a ConnectionSpec for this proxy and the current thread. The given ConnectionSpec will be applied to all subsequent getConnection() calls on this ConnectionFactory proxy.

This will override any statically specified "connectionSpec" property.

Parameters

spec - the ConnectionSpec to apply

See Also
#removeConnectionSpecFromCurrentThread