diff options
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java')
| -rw-r--r-- | src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java b/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java index 54c7a9b589..a0f1d0713c 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java @@ -356,6 +356,10 @@ public class PreparedStatement extends Statement implements java.sql.PreparedSta StringBuffer strBuf = new StringBuffer("'"); strBuf.append(df.format(x)).append('.').append(x.getNanos()/10000000).append("+00'"); set(parameterIndex, strBuf.toString()); + + // The above works, but so does the following. I'm leaving the above in, but this seems + // to be identical. Pays to read the docs ;-) + //set(parameterIndex,"'"+x.toString()+"'"); } /** |
