On Fri, May 04, 2007 at 09:37:22AM +0200, Iacopo Pecchi wrote:
> I would like to know how i can create a primary key on multiple
> values/variables,
> like primary key(name, surname).
Sorry, but you cannot. SQLObject doesn't support everything that SQL
allows. A primary key for SQLObject must be a single immutable integer or
string column.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss