Henk,

Not as far as I know. You could always map the same field to two
database columns, but that would only work for writing the data/time
portions to the database. Without any additional logic in the setter for
this property, restoring the complete timestamp values from the date and
time portions would be impossible.

Regards
Werner

wg> -----Original Message-----
wg> From: Henk van Voorthuijsen [mailto:[EMAIL PROTECTED] 
wg> Sent: Thursday, October 13, 2005 11:56 AM
wg> To: [email protected]
wg> Subject: [castor-user] [JDO] compound date/time field to 
wg> java.util.Date
wg> 
wg> Our database stores date and time values in separate text 
wg> fields. Is there a way to set up the mapping file so that I 
wg> can combine those fields into one java.util.Date field ?
wg> 
wg> 
wg> -------------------------------------------------
wg> If you wish to unsubscribe from this list, please send an 
wg> empty message to the following address:
wg> 
wg> [EMAIL PROTECTED]
wg> -------------------------------------------------
wg> 
wg> 

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to