autoIncrement in PostgreSQL

2004-01-04 Thread Thomas Lohmueller
Hi I have a problem with autoIncrement in PostgreSQL. The following part from the xml-file does not even generate valid SQL. table name=addr_groups column name=addr_group_id type=BIGINT autoIncrement=true required=true primaryKey=true / column name=name type=VARCHAR

Re: autoIncrement in PostgreSQL

2004-01-04 Thread Scott Eade
Thomas Lohmueller wrote: I have a problem with autoIncrement in PostgreSQL. The following part from the xml-file does not even generate valid SQL. table name=addr_groups column name=addr_group_id type=BIGINT autoIncrement=true required=true primaryKey=true / column name=name

Re: Torque with more dynamic DB connections, avoiding singleton and statics?

2004-01-04 Thread Jrgen Hoffmann
Hi, AFAIK you cannot do that. there is one default class and thats it. BUT Nobody is stopping you to extend Torque and add a method setDefaultDb(String connection) and use your new class to initialize Torque. If yu would want to, you could create some kind of registry within a hashtable,