Discussion:
[Middlegen-user] PK field
Steve Knight
2002-02-22 15:32:05 UTC
Permalink
Hey Aslak,
Does Middlegen automatically assume that the first column in the table is a primary key? It seems to be treating it as such. I have one table where the pk field is not the first column and when middlegen generates the code it puts "@ejb:pk-field" tags on both the first (non-pk) field and the true pk field. And when I looked at it in GUI mode, sure enough, there is a little key icon beside both fields. No where in the table definition is this column listed as a primary key.
Possible bug?

Thanks,

Steve

Loading...