Hi, all!
I'm using hbm2dll to generate the DDL file from *.hbm.xml files. Due to requirements of my current project the names of database constraints (primary, foreign, unique key) and indexes must follow some strict naming rules. The foreign key and index names can be set in the hbm.xml files. Unfortunately I cannot use this approach for technical reasons (long story). Instead I would just modify the constraint names etc. in the DDL file. My question is, will it (changing the "expected" names of constraints and indexes) affect/break Hibernate runtime somehow? I.e. does Hibernate "engine" refer to constraints by name or smth like that? Btw, I'm not using schema creation on the fly.
Thanks in advance, Jaanus
|