On Mon, Mar 19, 2007 at 04:48:27PM +0100, Ferdinand Gassauer wrote:
> simplified (the PK's must be lpadded with '0' to the maxmum length of the PK)
> select pk1||pk2||pk3 as id, ... other columns....
> 
> IMHO idName could support this syntax.

   You can try to implement this, but I doubt it would be easy. SQLObject
fetches rows from the DB by id:

SELECT id FROM table WHERE condition;
SELECT * FROM table WHERE id = ...;

   You have to change this, and change id autoincrement, and all that...

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to