0 Replies Latest reply on Mar 28, 2002 6:15 PM by Alex Rublin

    Exception while set FK field

    Alex Rublin Newbie

      I have 1:1 relationship between User and Customer
      In the middle of setMyFk(User user)
      What does it mean:
      "Preload data contains multiple values, but this cmr field is single valued"
      -----
      15:13:22,215 ERROR [LogInterceptor] TransactionRolledbackException, causedBy:
      javax.ejb.EJBException: Preload data contains multiple values, but this cmr field is single valued at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.load(JDBCCMRFieldBridge.java:850) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getRelatedId(JDBCCMRFieldBridge.java:739) at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:131)