commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From derekzhangv <nirva...@tom.com>
Subject [configuration]how i get the index
Date Thu, 30 Mar 2006 02:40:40 GMT

i have a xml configuration file like this:
how i get the config of the table user?It seems that i can only access the
user table config by index (here is 0),but how can i know that index?
<database>
  <tables>
    <table name="user">
      <fields>
        <field>
          <name>uid</name>
          <type>long</type>
        </field>
        <field>
          <name>uname</name>
          <type>java.lang.String</type>
        </field>
      </fields>
    </table>
    <table name="address">
      <fields>
        <field>
          <name>docid</name>
          <type>long</type>
        </field>
        <field>
          <name>name</name>
          <type>java.lang.String</type>
        </field>
        <field>
          <name>version</name>
          <type>int</type>
        </field>
      </fields>
    </table>
  </tables>
</database>

--
View this message in context: http://www.nabble.com/-configuration-how-i-get-the-index-t1366159.html#a3663113
Sent from the Commons - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message