Bugs item #731352, was opened at 2003-05-02 15:57 Message generated for change (Comment added) made by pilhuhn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=731352&group_id=22866
Category: None Group: None Status: Open Resolution: None Priority: 8 Submitted By: Arnim Sahl (asahl) >Assigned to: Alexey Loubyansky (loubyansky) Summary: Please re-repair <fk-constraint-template>, Bug 597047 Initial Comment: The Java-class generating the SQL-statement and the <fk-constraint-template> of the mySql-section of "standardjbosscmp.xml" should be changed: ADD INDEX ind_?3 (?3) will only work for a simple primary key. When referencing the columns for a custom primary key class, the generated statement should be: ALTER TABLE t1 ADD INDEX ind_f1_f2 ( f1, f2 ) ... instead of: ALTER TABLE t1 ADD INDEX ind_f1, f2 ( f1, f2 ) ... which obviously leeds to an SQLException at deploy time. ---------------------------------------------------------------------- >Comment By: Heiko W.Rupp (pilhuhn) Date: 2003-11-16 18:08 Message: Logged In: YES user_id=217112 Alexey, I know we had a talk about this fk-constraint, but don't recall the result. Could you look at it? Cheers Heiko ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=731352&group_id=22866 ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
