db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuno Miguel Rodrigues <nmrodrig...@gmail.com>
Subject Re: Does anyone know why I get the following error? What's the ID_TABLE?
Date Wed, 16 Feb 2005 09:27:27 GMT
On Tue, 15 Feb 2005 19:58:19 -0800, Joseph Yuen <jdcyuen@comcast.net> wrote:
> *** Exception saving record
> org.apache.torque.TorqueException: The table encounter does not have a
> proper entry in the ID_TABLE
>         at org.apache.torque.oid.IDBroker.selectRow(IDBroker.java:825)

    [...]

> I get this error doing:
> 
>                 Encounter encounter = new Encounter();
>                 encounter.setEncounterdate(StringToDate(f.getDate()));
>                 encounter.setPersonid(personid);
>                 encounter.save();

    [...]

    See http://db.apache.org/torque-32/user-guide.html.


-- 
Nuno Miguel Rodrigues <nmrodrigues@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message