1 Reply Latest reply on Dec 29, 2003 4:16 AM by Adrian Brock

    cmp entity bean, does adding <cmp-field> require deleting ta

    John Rasmussen Newbie

      I've bean able to create my entity bean, and now i want to add a new field, in this case an arraryList.

      So, I added the ejb-jar


      the jboss-cmp


      And modified my create method to pass and do a getFundArray, but I get this error

      13:47:40,613 INFO [STDOUT] create RemoteException;EJBException:; nested exception is:
      javax.ejb.EJBException: Load failed; CausedByException is:
      Column not found: FUNDARRAY in statement [SELECT fundArray FROM FUNDMIXEREJB WHERE (name='myPortfolio')]
      13:47:40,613 INFO [STDOUT] fundList size = 1

      It appears to me that the previous generation which did not hava an "fundArray" column, needs to be deleted.

      I tried removing all deployment files, jars wars.

      How do I delete the table from CMP java:/DefaultDS DB.