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?

Thanks
Sam