JDBC



กก

  • Configure a data source
  • //file:datasource1.xml

    <?xml version="1.0"?>
    <service id ="JDBCService">
     <components>
      <component id ="dataSource1" type="dataSource">
       <jndi>JDataSource</jndi>
       <transaction>local</transaction>
       <driver>sun.jdbc.odbc.JdbcOdbcDriver</driver>
       <url>jdbc:odbc:jmin</url>
       <user>liao</user>
       <password>11111</password>
      </component>
     </components>
    </service>


  • Deploy data source
  • Copy the source file to Jmin deploy folder.


    Copyright © 2006 . All Rights Reserved.