Class OutputBufferProvider


  • public class OutputBufferProvider
    extends Object
    • Method Detail

      • getCompatibleOutputBuffer

        public static OutputBuffer getCompatibleOutputBuffer​(Version databaseVersion,
                                                             Reporter reporter,
                                                             Connection conn)
                                                      throws SQLException
        Returns an OutputBuffer compatible with the given databaseVersion If we are at 3.1.0 or greater, returns an OutputBuffer based upon the information whether the Reporter has Output or not
        Parameters:
        databaseVersion - Version
        reporter - Reporter
        conn - Connection
        Returns:
        OutputBuffer
        Throws:
        SQLException - if there are problems with the database access