blob: dae8cacaa3b7a8284fec5fc80f73935eacf282a5 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions //EN" "http://glassfish.org/dtds/glassfish-resources_1_5.dtd">
<!--
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
-->
<resources>
<resource-adapter-config resource-adapter-name="web-subclassingApp#jdbcra">
<property name="RAProperty" value="VALID"/>
</resource-adapter-config>
<connector-connection-pool match-connections="false" pool-resize-quantity="20" max-pool-size="50" name="web-subclassingApp#jdbcra#javax.sql.DataSource" connection-definition-name="javax.sql.DataSource" resource-adapter-name="web-subclassingApp#jdbcra">
<property name="ServerName" value="localhost" />
<property name="PortNumber" value="1527" />
<property name="User" value="dbuser" />
<property name="Password" value="dbpassword" />
<property name="DatabaseName" value="testdb" />
<property name="ClassName" value="org.apache.derby.jdbc.ClientDataSource"/>
<property name="URL" value="jdbc:derby://localhost:1527/testdb;create=true;"/>
</connector-connection-pool>
<connector-resource jndi-name="jdbc/ejb-subclassing" pool-name="web-subclassingApp#jdbcra#javax.sql.DataSource"/>
<admin-object-resource jndi-name="eis/jdbcAdmin" res-type="com.sun.jdbcra.spi.JdbcSetupAdmin" res-adapter="web-subclassingApp#jdbcra">
<property name="TableName" value="customer2"/>
<property name="JndiName" value="java:app/jdbc/ejb-subclassing"/>
<property name="SchemaName" value="DBUSER"/>
<property name="NoOfRows" value="1"/>
</admin-object-resource>
</resources>