On Nov 7, 2007 11:53 PM, Oleg Broytmann <[EMAIL PROTECTED]> 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/            [EMAIL PROTECTED]
>           Programmers don't die, they just GOSUB without RETURN.
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to