Hi,

I've got a driver that uses the following to write the current date & time
to a field in an oracle table:-

<policy xmlns:jsystem="http://www.novell.com/nxsl/java/java.lang.System">

<do-set-dest-attr-value direct="true"
name="PS_B89_CIS_EMPL_AU.AUDIT_STAMP">
<arg-value type="time">
<token-xpath expression="round(jsystem:currentTimeMillis() div 1000)"/>
</arg-value>
</do-set-dest-attr-value>

This works fine for 90% of operations but seemingly randomly it fails with
the following error:-

<description>Unable to modify object. Unable to update row(s) in table/view
'AOPSHD1.PS_B89_CIS_EMPL_AU'. Unable to convert value '1209044146' to type
'java.sql.Timestamp'.</description>
<jdbc:exception jdbc:class="java.lang.IllegalArgumentException">
<jdbc:message>Timestamp format must be yyyy-mm-dd
hh:mm:ss.fffffffff</jdbc:message>
</jdbc:exception>
<jdbc:document>

This seems to most common when I am writing quite a few records to the table
but this is not always the case as sometimes single writes produce the
error.

Any ideas?

Thank,
Matt