On Nov 7, 2007 11:53 PM, Oleg Broytmann <phd@phd.pp.ru> wrote:
On Wed, Nov 07, 2007 at 11:51:04PM +0100, Petr Jake?? wrote:
> I just wondered if there is a method within the SQLObject to do this job.

  There is, but it is rather complex. You have to create your own
connection class whose _queryInsertID() will do the job internally.

Yes, but AFAIK it is necessary to have generator named GEN_<tablename> for each table. I would like to use one generator only for all tables (I would like to have every ID in the database unique).

Petr


Oleg.
--
    Oleg Broytmann             http://phd.pp.ru/            phd@phd.pp.ru
          Programmers don't die, they just GOSUB without RETURN.