Hi All,

when i use this structure:

  <table name="PLANER_USER" description="User Data" idMethod="idbroker">
    <column name="USER_ID" primaryKey="true" required="true"
type="INTEGER"/>
    <column name="LOGIN_NAME" required="true" type="VARCHAR" size="20"/>
    <column name="LOGIN_PASS" type="VARCHAR" size="32"/>
    <column name="EMAIL" type="VARCHAR" size="99"/>
    <column name="LAST_MODIFIED" required="false" type="TIMESTAMP"/>
    <column name="OBJECTDATA" type="VARBINARY"/>
    <unique>
        <unique-column name="LOGIN_NAME"/>
    </unique>
  </table>

with torque standalone and a MySQL-database
PlanerUserPeer.doDelete(PlanerUser) results in a NullPointerException.
When i remove the TIMESTAMP-field, everything is fine, so I guess the reason
is MySQL's autoupdate of the TIMESTAMP-field.
Is there any workaround (except using another data-type)?

Greetings

Alex



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

Reply via email to