0 Replies Latest reply on Oct 29, 2002 1:30 PM by Sascha Baumeister

    PK problem with CMR and DB2

    Sascha Baumeister Newbie

      Hi there, I'm the spec lead of JSR086 (Enterprise Media Beans, http://www.jcp.org/jsr/detail/86.jsp), currently trying to setup our JSR reference implementation with JBOSS 3 and DB2. I'm facing a serious problem with the primary key names generated for CMR relations: DB2 hard limits the size for PK constraint labels to 18 chars, but JBOSS generates much longer labels, forcing SQL exceptions during deployment.

      Any idea on how to teach JBOSS to generate the labels differently? :)