Mercurial > lada > lada-server
changeset 19:c2afb2e08394
Renames lada-ds.xml
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 26 Apr 2013 13:58:21 +0200 |
parents | 8e68113716ad |
children | 7a9e22e7e8af |
files | src/main/webapp/WEB-INF/lada-ds.xml src/main/webapp/WEB-INF/lada-ds.xml.old |
diffstat | 2 files changed, 21 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/webapp/WEB-INF/lada-ds.xml Fri Apr 26 13:15:08 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- This is an unmanaged datasource. It should be used for proofs of concept - or testing only. It uses H2, an in memory database that ships with JBoss - AS. --> -<datasources xmlns="http://www.jboss.org/ironjacamar/schema" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.jboss.org/ironjacamar/schema http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd"> - <!-- The datasource is bound into JNDI at this location. We reference - this in META-INF/persistence.xml --> - <datasource jndi-name="java:jboss/datasources/ladaDS" - pool-name="{artifactId}" enabled="true" - use-java-context="true"> - <connection-url>jdbc:h2:mem:lada;DB_CLOSE_DELAY=-1</connection-url> - <driver>h2</driver> - <security> - <user-name>sa</user-name> - <password>sa</password> - </security> - </datasource> -</datasources> - \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/webapp/WEB-INF/lada-ds.xml.old Fri Apr 26 13:58:21 2013 +0200 @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- This is an unmanaged datasource. It should be used for proofs of concept + or testing only. It uses H2, an in memory database that ships with JBoss + AS. --> +<datasources xmlns="http://www.jboss.org/ironjacamar/schema" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.jboss.org/ironjacamar/schema http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd"> + <!-- The datasource is bound into JNDI at this location. We reference + this in META-INF/persistence.xml --> + <datasource jndi-name="java:jboss/datasources/ladaDS" + pool-name="{artifactId}" enabled="true" + use-java-context="true"> + <connection-url>jdbc:h2:mem:lada;DB_CLOSE_DELAY=-1</connection-url> + <driver>h2</driver> + <security> + <user-name>sa</user-name> + <password>sa</password> + </security> + </datasource> +</datasources> + \ No newline at end of file