I am surprise on the fact that Hibernate doesn't manage a correct name cut.
For instance, I have a problem if I don't put a tagged value andromda.persistence.table=PLANIFIED_DMA_GROUP_VER on my entity PlanifiedDmaGroupeVersion : the two following foreign keys are generated with the same name in the schema-create.sql file: alter table PLANIFIED_DMA_GROUP_VERSION add constraint PLANIFIED_DMA_GROUP_VERSION_PR foreign key (PRIMARY_PLANIFIED_DMA_FK) references PLANIFIED_DMA; alter table PLANIFIED_DMA_GROUP_VERSION add constraint PLANIFIED_DMA_GROUP_VERSION_PR foreign key (PRESCRIPTION_FK) references PRESCRIPTION; Is that a normal hibernate behavior ? -- nash360 _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3323#3323 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user