On Wed, Feb 21, 2001 at 12:06:55PM +0200, Leon Messerschmidt wrote:
> My proposal is that Sql2AppData sets the IdMethod to "idbroker" if the table
> has a single primary key column and otherwise set IdMethod to "none".  This
> will work for most tables, for most entity tables have a single column
> primary key (idmethod="idbroker) and other tables like M-N tables have
> combined primary keys of two or more columns (idmethod="none").

Sounds good, although you'd want to make that set idMethod to "idbroker"
if the table has a single _integer_ primary key column.

-- 
Sean Legassick
[EMAIL PROTECTED]
      this.setAnimal(new Man()); try { Humanity.anyAction(); } catch
      SurpriseException e { System.err.println("This should never happen!");
      e.printStackTrace(); }  


------------------------------------------------------------
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