and what date type are you using? sql.date or util.date? -----Original Message----- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 8:55 AM To: Tomcat Users List Subject: Re: [OT] JDBC problem: PreparedStatement.setTimestamp function ignores milliseconds in TOMCAT + ddbb Oracle
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jose, I marked this as off-topic because it doesn't have anything to do with Tomcat. Tomcat doesn't do anything to your SQL queries, etc. See below. Jose Gargallo wrote: > 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. ¿Why? Can you post your code that calls PreparedStatement.setTimestmp? Include the declarations of any Date objects and anytime you assign the reference or modify the object itself. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGuHnE9CaO5/Lv0PARAtxwAJ0axxRuz8UtfBvjLwJ6hdkthFkHNwCaA4rF IPsKktptiSW47HDFx1dNoCU= =k9SW -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
