Class OutputStreamFactory

java.lang.Object
org.springframework.jdbc.datasource.embedded.OutputStreamFactory

public final class OutputStreamFactory extends Object
Internal helper for exposing dummy OutputStreams to embedded databases such as Derby, preventing the creation of a log file.
Since:
3.0
Author:
Juergen Hoeller
  • Method Details

    • getNoopOutputStream

      public static OutputStream getNoopOutputStream()
      Returns an OutputStream that ignores all data given to it.