Hello all, a wonderful life+time-saving roo; bravo!
1. When using an existing database, I get all of the affected tables re-created everytime. How could I preserve even the existing data?
2. My existing database is not consistent (many primary keys are not created and id-columns are not unique for the sake of flexibility (such is my domain field..))
How can I convert my database so that roo's hibernate model accepts it (from postgres command line: adding version columns to all entity tables, adding a unique primary key constraints, what else?..)
2.1 Ability to edit the primary key (now it uses hibernate sequence which is global for overall entities created) ?
3. Some of the entities must have a reference field (foreign key) which does not have a unique constraint. Can the foreign key be associated not between identity columns, but other columns?
Thanks for help;
--
sledge


Reply With Quote