0 Replies Latest reply on Dec 29, 2003 1:26 PM by johnraz

    CMP Entiry w/ remove-table = true, not removed ... Know why?

    johnraz

      I've created CMP Bean with

      ...<remove-table>true</remove-table>

      I've removed all deployment jars, etc., in an attempt to remove table, but I get

      [EjbModule] Deploying FundMixerEJB
      [FundMixerEJB] Table 'FUNDMIXEREJB' already exists

      At startup....

      Now I add a new field, and I get

      10:07:32,514 INFO [STDOUT] create RemoteException; EJBException:; nested exception is:
      javax.ejb.EJBException: Load failed; CausedByException is:
      Column not found: FUNDS in statement [SELECT funds FROM FUNDMIXEREJB WHERE (name='myPortfolio')]
      10:07:32,524 INFO [STDOUT] fundList size = 1

      <enterprise-beans>

      <ejb-name>FundMixerEJB</ejb-name>
      <table-name>Portfolio</table-name>
      <cmp-field>
      <field-name>name</field-name>
      <column-name>name</column-name>
      </cmp-field>
      <cmp-field>
      <field-name>funds</field-name>
      <column-name>funds</column-name>
      </cmp-field>

      </enterprise-beans>

      all Get / Set methods are ok.

      Any Idea what I'm doing wrong.

      Thanks!