On Wed, Jun 20, 2007 at 01:51:56PM -0300, Leandro Melo de Sales wrote: > I want to use the internel sqloject self.id to identify a specific > object. I want to change the start value to 0, not to 1. In this well > I can do MyClass.get(0) as the first database Item. How can I change > the start value to 0, instand of 1.
Autoincrement is performed by DB, not SQLObject. In Postgres one can manipulate the sequence that is used for autoincremented id. 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss