Mercurial > lada > lada-server
comparison src/test/resources/test-ds.xml @ 1:177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 18 Apr 2013 10:45:15 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:83b0822c2aab | 1:177351d4cca9 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <!-- This is an unmanaged datasource. It should be used for proofs of concept | |
3 or testing only. It uses H2, an in memory database that ships with JBoss | |
4 AS. --> | |
5 <datasources xmlns="http://www.jboss.org/ironjacamar/schema" | |
6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
7 xsi:schemaLocation="http://www.jboss.org/ironjacamar/schema http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd"> | |
8 <!-- The datasource is bound into JNDI at this location. We reference | |
9 this in META-INF/test-persistence.xml --> | |
10 <datasource jndi-name="java:jboss/datasources/ladaTestDS" | |
11 pool-name="lada-test" enabled="true" | |
12 use-java-context="true"> | |
13 <connection-url>jdbc:h2:mem:lada-test;DB_CLOSE_DELAY=-1</connection-url> | |
14 <driver>h2</driver> | |
15 <security> | |
16 <user-name>sa</user-name> | |
17 <password>sa</password> | |
18 </security> | |
19 </datasource> | |
20 </datasources> | |
21 |