I read about some problems with the generation of the correct sequence-name
for postgres but this seems to be fixed. However there are some other
problems and I simply don't get it going.
I have some postgres-tables with "id"-fields that are serials.
When torque (3.0) generates the schema from that (option jdbc) I get:
This results in a Java-definition like this:
int id = "'myuser_id_seq'::text"
This doesn't even compile.
So I tried the idbroker. When I create a new User-object and call save() I
DEBUG oid.IDBroker - updateQuantity: UPDATE ID_TABLE SET QUANTITY = 10 WHERE
TABLE_NAME = 'myuser'
java.sql.SQLException: ERROR: Relation 'id_table' does not exist
Any hints what to do?
Dipl. Inf. Carsten Burghardt
Login & Solutions AG
Tel: 0821/2488-311 Fax: 0821/2488-180