Discussion:
[Middlegen-user] How do you set "Key generator" to default to "identity"
Paul Furbacher
2006-02-01 05:24:00 UTC
Permalink
Please note: reply only to the list; do *not* reply to my personal
email address.

Is there a way to get Middlegen to set the "Key generator" value to
"identity" instead of "assigned"? Currently, every time I run
Middlegen,
I have to do a mass find/replace of "assigned" for all the generated
Hibernate
mapping (.hbm.xml) files. This gets to be a bit tedious. It's not
practical
to manually set the value in Middlegen for each table in a database
which has more than say 5 tables.

Any hints would be appreciated.

Thanks.


Paul Furbacher
Paul Furbacher
2006-02-01 05:24:03 UTC
Permalink
Ignore that request ... I figured it out seconds after sending the
message.

It suddenly dawned on me that there must be a preferences file. Sure
enough, changing "assigned" to "identity" throughout that file did the
trick.


Paul Furbacher
Post by Paul Furbacher
Is there a way to get Middlegen to set the "Key generator" value to
"identity" instead of "assigned"? ....
Geoff Clitheroe
2006-02-01 05:45:03 UTC
Permalink
Loading...