I've noticed that Middlegen assumes the first field of a table is a PK.

Just try with this table :

CREATE TABLE A (
a1 INT,
a2 INT NOT NULL,
a3 INT,
PRIMARY KEY (a2)
);

It's not a good table design, I know, but sometimes may happen with 
auto-generated DDL! ;)

Thanks

Marco



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to