Bugs item #497954, was opened at 2001-12-30 15:07 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=497954&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Frank Langelage (lafr) Assigned to: Dain Sundstrom (dsundstrom) Summary: creation of foreign key constraints fail Initial Comment: I just checked out the modified sources with pk-/fk-templates. Some foreigns key were not created. But I got no hint in server.log. If a fk-constraint cannot be added, the message is printed via log4j.debug. I think this should be of type info or warn. The foreign-keys weren't generated, because the length of the names exceed the maximum length allowed for informix (18 characters). This limit also applies to the table and comlumn names. I think there should be a tag in (standard)jbosscmp-jdbc.xml called <max-constraint-length> which limits the length of the constraint name. ---------------------------------------------------------------------- >Comment By: Dain Sundstrom (dsundstrom) Date: 2002-01-28 12:03 Message: Logged In: YES user_id=251431 Now, when an error occures while adding a foreign key constraint the system throws a deployment exception, and deployment fails. I have added the max-constraint-length stuff to my todo list, but it is not a high priority. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=497954&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
