Okay, I'm trying to fully under this defaultMethodId/autoIncrement
situation with the hope of eventually improving it.
Why does the mysql columns.vm have:
#if ((($database.getDefaultIdMethod() == "native") &&
($table.getIdMethod() == "")) || ($table.getIdMethod() == "native"))
#if ($col.isPrimaryKey() && ($col.Type == "INTEGER"))
#set ( $autoIncrement = $dbprops.get("AUTOINCREMENT"))
#end
#end
#set ( $entry = "$col.Name $type $size $default $nullString
$autoIncrement," )
where the other columns.vm that I've looked at just have:
#set ( $autoIncrement = $strings.select($col.isAutoIncrement(),
$dbprops.get("AUTOINCREMENT"),"") )
#set ( $entry = "$col.Name $type $size $default $nullString
$autoIncrement," )
What makes the mysql columns.vm special enough to handle have the extra
native/integer primary key code that most of the other columns.vm don't
have?
Thanks,
Stephen
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>