We have an existing database schema that's rather large. I've used Hibernate Tools to generate the .java entity files, complete with @Entity annotations so Hibernate picks them up automatically. That works very well.

Next, I want to use BeanEditForm to edit the tables. I can't really add @Id, @NonVisual, or @Validate to the classes, since they'll be overwritten every time I re-generate the classes when I add or modify a table.

What's the best way to do this? Is there some way to do this in a .properties file? Some fancy dynamic class augmentation scheme? I have over 100 tables, so something with minimal maintenance would be best.

Norman Franke
Answering Service for Directors, Inc.
www.myasd.com



Reply via email to