>James, > >Primary keys do not autoincrement unless you specify that they should in >your table definition. For example: > > <table name="STOCK"> > <column name="STOCK_ID" primaryKey="true" required="true" >type="INTEGER" autoIncrement="true"/> ><!-- ... etc ... --> ></table> > >The "defaultIdMethod" attribute specifies the _method_ that will be used for >all autoIncrement columns, but you have to specify which columns >autoincrement.
>- Bill That would be great, if it were consistent among all defaultIdMethods. But if you use IdBroker under MySQL, integer primary key tables do autoincrement (well, they increment via IdBroker) I'm just saying it should be consistent. James >-- >To unsubscribe, >e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
