public static void executeNoninteractive() throws Exception
    {
        SQLCommandLineReader stdinReader = new LineReaderAdapter(new InputStreamReader(System.in));
        FileInfo fileInfo = FileInfo.forSystemIn();
        executeScriptFromReader(fileInfo, stdinReader, null);
    }
public static void executeNoninteractive ( ) throws Exception { SQLCommandLineReader stdinReader = new LineReaderAdapter ( new InputStreamReader ( System . in ) ) ; FileInfo fileInfo = FileInfo . forSystemIn ( ) ; executeScriptFromReader ( fileInfo , stdinReader , null ) ; }
/ It uses the same logic as the FILE directive but gets its input from stdin.