Does anyone know what this error is
"non persistence capable: examples.SubscriptionDB"

Attachment: SubscriptionDB.java
Description: Binary data

<!DOCTYPE databases PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN"
                           "http://castor.exolab.org/mapping.dtd";>
<mapping>



  <!--  Mapping for ProductGroup  -->
  <class name="examples.SubscriptionDB"
         identity="subscriptionid" key-generator="SEQUENCE">
    <description>Subscriptions</description>

    <map-to table="subscription"  />

    <field name="subscriptionid" type="integer" >
      <sql name="subscriptionid" type="integer"/>
      
    </field>

    <field name="publicationId" type="integer">
      <sql name="publicationId" type="integer" dirty="check" />
    </field>

     <field name="EBoxId" type="integer">
      <sql name="EBoxId" type="integer" dirty="check" />
    </field>

     <field name="nameOnAccount" type="string">
      <sql name="nameOnAccount" type="char" dirty="check" />
    </field>
     
      <field name="addressLine1" type="string">
      <sql name="addressLine1" type="char" dirty="check" />
    </field>
   
     <field name="addressLine2" type="string">
      <sql name="addressLine2" type="char" dirty="check" />
    </field>

    <field name="city" type="string">
      <sql name="city" type="char" dirty="check" />
    </field>

     <field name="province" type="string">
      <sql name="province" type="char" dirty="check" />
    </field>

    
     <field name="postalCode" type="string">
      <sql name="postalCode" type="char" dirty="check" />
    </field>

    <field name="accountNumber" type="string">
      <sql name="accountNumber" type="char" dirty="check" />
    </field>

     <field name="startDate" type="string">
      <sql name="startchar" type="char" dirty="check" />
    </field>

    <field name="status" type="string">
      <sql name="status" type="char" dirty="check" />
    </field>

    <field name="clientUpdateDate" type="string">
      <sql name="clientUpcharchar" type="char" dirty="check" />
    </field>

     <field name="publicationDate" type="string">
      <sql name="publicationchar" type="char" dirty="check" />
    </field>    

      <field name="subscriptionName" type="string">
      <sql name="subscriptionName" type="char" dirty="check" />
    </field>
     
     <field name="country" type="string">
      <sql name="country" type="char" dirty="check" />
    </field>

     <field name="emailNotify" type="string">
      <sql name="emailNotify" type="char" dirty="check" />
    </field>
    
     

  </class>




</mapping>

Reply via email to