Hi,
My database is Postgresql8 and I have a column which is serial(auto increase) 
type.

I followed the instruction in the jboss document as below:
<jbosscmp-jdbc>
  <enterprise-beans>
    
      <ejb-name>LocationEJB</ejb-name>
      <pk-constraint>false</pk-constraint>
      <table-name>location</table-name>
                 
      <cmp-field>
        <field-name>locationID</field-name>
        <column-name>id</column-name>
        <auto-increment/>
      </cmp-field>
      <!-- ... -->
      <entity-command name="hsqldb-fetch-key"/>
                 
    
  </enterprise-beans>
</jbosscmp-jdbc>

but I got a xml error that the element type <auto-increment> and 
<entity-command> must be declared.

Any one can help me solve the problem?
Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873167#3873167

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873167


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to