Print a bit in JDBC