> I actually use the following for dates against oracle:
> 
> <field-descriptor id="5"
>     name="lastUpdateScan"
>     column="LASTUPDATEDATE"
>     jdbc-type="TIMESTAMP"
>  
> conversion="org.apache.ojb.broker.accesslayer.conversions.Java
> Date2SqlTimest
> ampFieldConversion"
>   />

this definitely works
 
> The code snippet would work just fine if the conversion is 
> from java.util.Date to java.sql.Date, but I've found I prefer 
> to set the java.util.Date using the 
> JavaDate2SqlTimestampFieldConversion function.

It does work, but I don't want to be in a scenario where I'm changing
ojb source everytime I want to use a new release.  I'll take your
suggestion, thanks.


Dave

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

Reply via email to