| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License v. 2.0, which is available at |
| http://www.eclipse.org/legal/epl-2.0. |
| |
| This Source Code may also be made available under the following Secondary |
| Licenses when the conditions for such availability set forth in the |
| Eclipse Public License v. 2.0 are satisfied: GNU General Public License, |
| version 2 with the GNU Classpath Exception, which is available at |
| https://www.gnu.org/software/classpath/license.html. |
| |
| SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| |
| --> |
| |
| <connector xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| metadata-complete="false" version="1.6" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/connector_1_6.xsd"> |
| |
| <vendor-name>Sun Microsystems</vendor-name> |
| <eis-type>Database</eis-type> |
| <resourceadapter-version>1.0</resourceadapter-version> |
| |
| <resourceadapter> |
| <outbound-resourceadapter> |
| <connection-definition> |
| <managedconnectionfactory-class>com.sun.jdbcra.spi.DSManagedConnectionFactory</managedconnectionfactory-class> |
| |
| <!-- There can be any number of these elements including 0 --> |
| <config-property> |
| <config-property-name>User</config-property-name> |
| <config-property-type>java.lang.String</config-property-type> |
| <config-property-value>dbuser</config-property-value> |
| </config-property> |
| <config-property> |
| <config-property-name>UserName</config-property-name> |
| <config-property-type>java.lang.String</config-property-type> |
| <config-property-value>dbuser</config-property-value> |
| </config-property> |
| <config-property> |
| <config-property-name>Password</config-property-name> |
| <config-property-type>java.lang.String</config-property-type> |
| <config-property-value>dbpassword</config-property-value> |
| </config-property> |
| <config-property> |
| <config-property-name>URL</config-property-name> |
| <config-property-type>java.lang.String</config-property-type> |
| <config-property-value>jdbc:derby://localhost:1527/testdb;create=true</config-property-value> |
| </config-property> |
| <config-property> |
| <config-property-name>Description</config-property-name> |
| <config-property-type>java.lang.String</config-property-type> |
| <config-property-value>Oracle thin driver Datasource</config-property-value> |
| </config-property> |
| <config-property> |
| <config-property-name>ClassName</config-property-name> |
| <config-property-type>java.lang.String</config-property-type> |
| <config-property-value>org.apache.derby.jdbc.ClientDataSource40</config-property-value> |
| </config-property> |
| <config-property> |
| <config-property-name>ConnectionAttributes</config-property-name> |
| <config-property-type>java.lang.String</config-property-type> |
| <config-property-value>;create=true</config-property-value> |
| </config-property> |
| <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface> |
| |
| <connectionfactory-impl-class>com.sun.jdbcra.spi.DataSource</connectionfactory-impl-class> |
| |
| <connection-interface>java.sql.Connection</connection-interface> |
| |
| <connection-impl-class>com.sun.jdbcra.spi.ConnectionHolder</connection-impl-class> |
| |
| </connection-definition> |
| |
| <transaction-support>LocalTransaction</transaction-support> |
| <authentication-mechanism> |
| <!-- There can be any number of "description" elements including 0 --> |
| <!-- Not including the "description" element --> |
| |
| <authentication-mechanism-type>BasicPassword</authentication-mechanism-type> |
| |
| <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface> |
| </authentication-mechanism> |
| |
| <reauthentication-support>false</reauthentication-support> |
| |
| </outbound-resourceadapter> |
| </resourceadapter> |
| </connector> |