> Here's the question: By using defaultIdMethod=native, I'd think that I'm
> implying that integer primary key tables should autoincrement, since if I
> used defaultIdMethod=idBroker, that's the behavior I'd see. This (to me)
> means that this should generate this instead:
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
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>