I have a simple POJO that is defined in Oracle as DATE_TEST {ID, CREATED} of 
type {NUMBER (9), DATE}. The equivalent POJO is:

class DateTest {
   public Integer ID;
   public Timestamp created;
   
   // Evuivalent getter/setters
   ....
}

repository mapping file is defined as follows:
<field-descriptor id="2"
   name="created"
   column="CREATED"
   jdbc-type="TIMESTAMP"
/>


I am hoping to store the Date in the format yyyy.MM.dd HH:mm:ss. How can I 
accomplish this. When I attempt to store my POJO, it stores it in a different 
format and while retrieving it, I seem to lose the "HH:mm:ss". 

Any assitance in the matter would be great. Thanks in advance.
Kalichar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to