/** * INTERNAL: * Append the Timestamp in native format if usesNativeSQL() is true * otherwise use ODBC format from DatabasePlatform. Native format: * 'YYYY-MM-DD-hh.mm.ss.SSSSSS' */ @Override protected void appendTimestamp(java.sql.Timestamp timestamp, Writer writer) throws IOException { if (usesNativeSQL()) { writer.write("'"); appendDB2Timestamp(timestamp, writer); writer.write("'"); } else { super.appendTimestamp(timestamp, writer); } }
/** * INTERNAL: * Append the Timestamp in native format if usesNativeSQL() is true * otherwise use ODBC format from DatabasePlatform. Native format: * 'YYYY-MM-DD-hh.mm.ss.SSSSSS' */ @Override protected void appendTimestamp(java.sql.Timestamp timestamp, Writer writer) throws IOException { if (usesNativeSQL()) { writer.write("'"); appendDB2Timestamp(timestamp, writer); writer.write("'"); } else { super.appendTimestamp(timestamp, writer); } }
/** * INTERNAL: * Append the Timestamp in native format if usesNativeSQL() is true * otherwise use ODBC format from DatabasePlatform. Native format: * 'YYYY-MM-DD-hh.mm.ss.SSSSSS' */ @Override protected void appendTimestamp(java.sql.Timestamp timestamp, Writer writer) throws IOException { if (usesNativeSQL()) { writer.write("'"); appendDB2Timestamp(timestamp, writer); writer.write("'"); } else { super.appendTimestamp(timestamp, writer); } }