<?xml version="1.0"?>

<!DOCTYPE jbosscmp-jdbc PUBLIC
      "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN"
      "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd">


<jbosscmp-jdbc>
   <enterprise-beans>
      <entity>
         <ejb-name>Account</ejb-name>
         <create-table>true</create-table>
         <remove-table>true</remove-table>
         <table-name>account</table-name>
         <cmp-field>
            <field-name>id</field-name>
            <column-name>id</column-name>
         </cmp-field>
         <cmp-field>
            <field-name>balance</field-name>
            <column-name>balance</column-name>
         </cmp-field>
      </entity>
      <entity>
         <ejb-name>Customer</ejb-name>
         <create-table>true</create-table>
         <remove-table>true</remove-table>
         <table-name>customer</table-name>
         <cmp-field>
            <field-name>name</field-name>
            <column-name>name</column-name>
         </cmp-field>
         <cmp-field>
            <field-name>id</field-name>
            <column-name>id</column-name>
         </cmp-field>
      </entity>
   </enterprise-beans>
</jbosscmp-jdbc>
