ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vu, Thai" <Thai...@parsons.com>
Subject Insert a date with time
Date Wed, 14 Dec 2005 18:28:36 GMT
I used this thing to insert a new row

  <insert id="insertProjectStmt"
    <selectKey resultClass="int" keyProperty="projectref">
      SELECT seq_project.nextval AS projectref FROM DUAL
      INSERT INTO rm_project (projectref,   title,   datesubmitted,
                      VALUES (#projectref#, #title#, #datesubmitted#,

Then I looked at the table and noticed that the datesubmitted field had
the date only. How can I add time to that field? The problem isn't
solved even when datesubmitted in the ProjectBean is of type

View raw message