Mercurial > lada > lada-server
comparison src/main/webapp/WEB-INF/lada-ds.xml.old @ 19:c2afb2e08394
Renames lada-ds.xml
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 26 Apr 2013 13:58:21 +0200 |
parents | src/main/webapp/WEB-INF/lada-ds.xml@177351d4cca9 |
children |
comparison
equal
deleted
inserted
replaced
18:8e68113716ad | 19:c2afb2e08394 |
---|---|
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/persistence.xml --> | |
10 <datasource jndi-name="java:jboss/datasources/ladaDS" | |
11 pool-name="{artifactId}" enabled="true" | |
12 use-java-context="true"> | |
13 <connection-url>jdbc:h2:mem:lada;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 |