From: Weston P. <wes...@jb...> - 2006-05-31 21:06:54
|
User: wprice Date: 06/05/31 17:06:49 Added: src/resources/jca/prefill no-prefill-ds.xml prefill-ds.xml cri-prefill-ds.xml no-element-prefill-ds.xml subject-cri-prefill-ds.xml invalid-prefill-ds.xml Log: [JBAS-1466] reworked prefill pool implementation to be in line with Branch_4_0 [JBAS-3251] fixed inappropriate implementation for prefilled subject pools. Removed this feature to only support prefilling by OnePool. [1241] Port of background validation checking from Branch_4_0. Added ValidateOnMatch attribute to ConnectionFactories to allow for disabling validation on matchManagedConnections. Revision Changes Path 1.2 +18 -0 jbosstest/src/resources/jca/prefill/no-prefill-ds.xml (In the diff below, changes in quantity of whitespace are not shown.) Index: no-prefill-ds.xml =================================================================== RCS file: no-prefill-ds.xml diff -N no-prefill-ds.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ no-prefill-ds.xml 31 May 2006 21:06:49 -0000 1.2 @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- The Hypersonic embedded database JCA connection factory config--> + +<datasources> + <local-tx-datasource> + <jndi-name>NoPreFillDS</jndi-name> + <connection-url>jdbc:hsqldb:mem:PreFillDSDB</connection-url> + <driver-class>org.hsqldb.jdbcDriver</driver-class> + <username>sa</username> + <password></password> + <min-pool-size>5</min-pool-size> + <max-pool-size>10</max-pool-size> + <metadata> + <type-mapping>Hypersonic SQL</type-mapping> + </metadata> + </local-tx-datasource> +</datasources> 1.2 +19 -0 jbosstest/src/resources/jca/prefill/prefill-ds.xml (In the diff below, changes in quantity of whitespace are not shown.) Index: prefill-ds.xml =================================================================== RCS file: prefill-ds.xml diff -N prefill-ds.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ prefill-ds.xml 31 May 2006 21:06:49 -0000 1.2 @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- The Hypersonic embedded database JCA connection factory config--> + +<datasources> + <local-tx-datasource> + <jndi-name>PreFillDS</jndi-name> + <connection-url>jdbc:hsqldb:mem:PreFillDSDB</connection-url> + <driver-class>org.hsqldb.jdbcDriver</driver-class> + <username>sa</username> + <password></password> + <min-pool-size>5</min-pool-size> + <max-pool-size>10</max-pool-size> + <prefill>True</prefill> + <metadata> + <type-mapping>Hypersonic SQL</type-mapping> + </metadata> + </local-tx-datasource> +</datasources> 1.2 +21 -0 jbosstest/src/resources/jca/prefill/cri-prefill-ds.xml (In the diff below, changes in quantity of whitespace are not shown.) Index: cri-prefill-ds.xml =================================================================== RCS file: cri-prefill-ds.xml diff -N cri-prefill-ds.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ cri-prefill-ds.xml 31 May 2006 21:06:49 -0000 1.2 @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- The Hypersonic embedded database JCA connection factory config--> + +<datasources> + <local-tx-datasource> + <jndi-name>CriPreFillDS</jndi-name> + <use-java-context>false</use-java-context> + <connection-url>jdbc:hsqldb:mem:PreFillDSDB</connection-url> + <driver-class>org.hsqldb.jdbcDriver</driver-class> + <username>sa</username> + <password></password> + <min-pool-size>5</min-pool-size> + <max-pool-size>10</max-pool-size> + <prefill>True</prefill> + <application-managed-security/> + <metadata> + <type-mapping>Hypersonic SQL</type-mapping> + </metadata> + </local-tx-datasource> +</datasources> 1.2 +19 -0 jbosstest/src/resources/jca/prefill/no-element-prefill-ds.xml (In the diff below, changes in quantity of whitespace are not shown.) Index: no-element-prefill-ds.xml =================================================================== RCS file: no-element-prefill-ds.xml diff -N no-element-prefill-ds.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ no-element-prefill-ds.xml 31 May 2006 21:06:49 -0000 1.2 @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- The Hypersonic embedded database JCA connection factory config--> + +<datasources> + <local-tx-datasource> + <jndi-name>NoElementPreFillDS</jndi-name> + <connection-url>jdbc:hsqldb:mem:PreFillDSDB</connection-url> + <driver-class>org.hsqldb.jdbcDriver</driver-class> + <username>sa</username> + <password></password> + <min-pool-size>5</min-pool-size> + <max-pool-size>10</max-pool-size> + <metadata> + <prefill>False</prefill> + <type-mapping>Hypersonic SQL</type-mapping> + </metadata> + </local-tx-datasource> +</datasources> 1.2 +21 -0 jbosstest/src/resources/jca/prefill/subject-cri-prefill-ds.xml (In the diff below, changes in quantity of whitespace are not shown.) Index: subject-cri-prefill-ds.xml =================================================================== RCS file: subject-cri-prefill-ds.xml diff -N subject-cri-prefill-ds.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ subject-cri-prefill-ds.xml 31 May 2006 21:06:49 -0000 1.2 @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- The Hypersonic embedded database JCA connection factory config--> + +<datasources> + <local-tx-datasource> + <jndi-name>SubjectCriPreFillDS</jndi-name> + <use-java-context>false</use-java-context> + <connection-url>jdbc:hsqldb:mem:PreFillDSDB</connection-url> + <driver-class>org.hsqldb.jdbcDriver</driver-class> + <username>sa</username> + <password></password> + <min-pool-size>5</min-pool-size> + <max-pool-size>10</max-pool-size> + <prefill>True</prefill> + <application-managed-security/> + <metadata> + <type-mapping>Hypersonic SQL</type-mapping> + </metadata> + </local-tx-datasource> +</datasources> 1.2 +19 -0 jbosstest/src/resources/jca/prefill/invalid-prefill-ds.xml (In the diff below, changes in quantity of whitespace are not shown.) Index: invalid-prefill-ds.xml =================================================================== RCS file: invalid-prefill-ds.xml diff -N invalid-prefill-ds.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ invalid-prefill-ds.xml 31 May 2006 21:06:49 -0000 1.2 @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- The Hypersonic embedded database JCA connection factory config--> + +<datasources> + <local-tx-datasource> + <jndi-name>InvalidPreFillDS</jndi-name> + <connection-url>jdbc:hsqldb:mem:PreFillDSDB</connection-url> + <driver-class>org.hsqldb.jdbcDriver</driver-class> + <user-name>invalid</user-name> + <password>xxx</password> + <min-pool-size>5</min-pool-size> + <max-pool-size>10</max-pool-size> + <prefill>True</prefill> + <metadata> + <type-mapping>Hypersonic SQL</type-mapping> + </metadata> + </local-tx-datasource> +</datasources> |