jndi-definitions.xml~1~
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:2k
源码类别:

Java编程

开发平台:

Java

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE jndi-definitions PUBLIC "-//Borland Corporation//DTD JndiDefinitions//EN" "http://www.borland.com/devsupport/appserver/dtds/jndi-definitions.dtd">
  3. <jndi-definitions>
  4.     <visitransact-datasource>
  5.         <jndi-name>serial://datasources/cmpDS</jndi-name>
  6.         <driver-datasource-jndiname>serial://datasources/drivercmpDS</driver-datasource-jndiname>
  7.         <property>
  8.             <prop-name>connectionType</prop-name>
  9.             <prop-type>Enumerated</prop-type>
  10.             <prop-value>Direct</prop-value>
  11.         </property>
  12.         <property>
  13.             <prop-name>dialect</prop-name>
  14.             <prop-type>Enumerated</prop-type>
  15.             <prop-value>none</prop-value>
  16.         </property>
  17.     </visitransact-datasource>
  18.     <driver-datasource>
  19.         <jndi-name>serial://datasources/drivercmpDS</jndi-name>
  20.         <datasource-class-name>com.inprise.visitransact.jdbc1w2.InpriseConnectionPoolDataSource</datasource-class-name>
  21.         <property>
  22.             <prop-name>user</prop-name>
  23.             <prop-type>String</prop-type>
  24.             <prop-value>sa</prop-value>
  25.         </property>
  26.         <property>
  27.             <prop-name>password</prop-name>
  28.             <prop-type>String</prop-type>
  29.             <prop-value>sa</prop-value>
  30.         </property>
  31.         <property>
  32.             <prop-name>url</prop-name>
  33.             <prop-type>String</prop-type>
  34.             <prop-value>jdbc:microsoft:sqlserver://tsinghuacwj:1433;DatabaseName=cwj;User=sa;Password=sa</prop-value>
  35.         </property>
  36.         <property>
  37.             <prop-name>driverClassName</prop-name>
  38.             <prop-type>String</prop-type>
  39.             <prop-value>com.microsoft.jdbc.sqlserver.SQLServerDriver</prop-value>
  40.         </property>
  41.     </driver-datasource>
  42. </jndi-definitions>