ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Warren" <war...@clarksnutrition.com>
Subject DB date field 8 hours ahead of Date property
Date Thu, 02 Mar 2006 03:50:42 GMT
I am having a problem inserting a date into a TIMESTAMP field. The field in
the database is exactly 8 hours ahead of the Date object I am inserting. My
insert statement is:

<insert id="insertScanOrder" parameterClass="scanOrder">
  INSERT INTO scanorder (clo1, col2, scn_date) values (#value1#, #value2#,

I am using Ibatis version 2.0, PostgreSQL 7.4.6 with the postgres driver.


Warren Bell

View raw message