Module org.jooq
Package org.jooq.impl

Class NoConnectionProvider

    • Constructor Detail

      • NoConnectionProvider

        public NoConnectionProvider()
    • Method Detail

      • acquire

        public final @Nullable Connection acquire()
        This method will always return null.
        Specified by:
        acquire in interface ConnectionProvider
        A connection for the current ExecuteContext. If null is returned (e.g. by NoConnectionProvider), then statements cannot be executed. Attempts to execute statements will result in a DetachedException.