On Thu, Feb 10, 2011 at 10:24:43PM -0800, Sam's Lists wrote: > I'd like to have a foreign key use a unique column in another table which is > not the primary key. This works fine in Postgres, but I can't figure out > how to do it in SQLObject. Any idea?
SQLObject can only references an 'id' column. That's, probably, a deficiency. Oleg. -- Oleg Broytman http://phdru.name/ p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss