Created byDr. Xion March 01, 2011 16:11:50
Last update: March 01, 2011 16:11:50

Java PrintWriter is buffered. You can turn on autoFlush, but it does'nt work for all methods.
Test code:
import java.io.*;
public class TestPrintWri...
Output:
[START] Test PrintWriter
Auto-flush only work...

Created byDr. Xion January 07, 2010 23:40:28
Last update: February 09, 2010 03:24:35

This is a utility to generate SQL insert statements for Oracle for one table, or a set of tables. It doesn't cover all possibilities but should be good enough for most cases.
import java.io.*;
import java.sql.*;
import ...
To generate insert statements for multiple tables, simply put the table names in a file, one per line, and use the -f switch.