Invalid hbm file if the table has no primary key
Brought to you by:
iloveopensource
Hi, finally I was blocked at the step "ant create-schema" while trying to migrate database schema from SqlServer to MySql, the error is the generated hbm contains an off-specification "composite-id" element only if the table has no primary key.
And here's another issue I encountered: generated java cannot compile if my table contains columns with name 'int' or 'class'