This is the code:
java.sql.Timestamp time = new Timestamp(System.currentTimeMillis());
...
pstmt = this.conexion.prepareStatement(INSERT);
...
pstmt.setTimestamp(1, time);
should I use java.sql.Date instead of java.util.Data?
thanks
Christopher Schultz escribió:
-BEGIN PGP SIGNED MESSAGE--
I still have te same problem, any help?
Jose Gargallo escribió:
Hi all,
I have a J2EE application that runs in Oracle and Postgres databases
and OC4J and Tomcat servers. I've got a problem using the
PreparedStatement.setTimestamp function runing TOMCAT 5.5 + Oracle 9i
becouse it ignore
Hi all,
I have a J2EE application that runs in Oracle and Postgres databases and
OC4J and Tomcat servers. I've got a problem using the
PreparedStatement.setTimestamp function runing TOMCAT 5.5 + Oracle 9i
becouse it ignores the milliseconds. It works fine runing in OC4J 10.1.3
and Oracle 9i.