Hello All:
I have a problem when I use beatwix,
Because my legacy code have fix the xml schema like this
<connection-pool >
     <test interval="600000" command="select count(*) from MAXIDS"/>
</connection-pool>
in the sample, I want map the class's attribute 
"testPeriod" and "testCommand" to "interval" and "command",
so I write the betwixt file like below
 
<info>
  <element name="connection-pool">
    <element name="test">
      <attribute name="interval" property="testPeriod"/>
      <attribute name="command" property="testCommand"/>      
    </element>    
  </element>
</info>
but it doesn't work, who can help me
Thank u!
 
Bob Wang
Regards
 


Reply via email to