I am building a mapbuilder class and have a Primary key in my postgrs
table defined like so:

Primary Key (col1, col2)

So how do I define this primary key in my mapbuilder class?

dbMap = new DatabaseMap(getTable());
dbMap.addTable(getTable());
TableMap tMap = dbMap.getTable(getTable());

tMap.addPrimaryKey (?????, ?????);

Thanks,
John
-- 
********************************
** John Thorhauer
** [EMAIL PROTECTED]
********************************


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to