openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dez...@apache.org
Subject svn commit: r726868 [2/2] - in /openjpa/branches/1.1.x: openjpa-kernel/src/main/resources/org/apache/openjpa/conf/ openjpa-persistence-jdbc/ openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/conf/
Date Mon, 15 Dec 2008 23:01:02 GMT
Modified: openjpa/branches/1.1.x/openjpa-persistence-jdbc/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.x/openjpa-persistence-jdbc/pom.xml?rev=726868&r1=726867&r2=726868&view=diff
==============================================================================
--- openjpa/branches/1.1.x/openjpa-persistence-jdbc/pom.xml (original)
+++ openjpa/branches/1.1.x/openjpa-persistence-jdbc/pom.xml Mon Dec 15 15:01:01 2008
@@ -1,507 +1,506 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.   
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.apache.openjpa</groupId>
-    <artifactId>openjpa-persistence-jdbc</artifactId>
-    <packaging>jar</packaging>
-    <name>OpenJPA JPA JDBC</name>
-    <description>OpenJPA JPA JDBC</description>
-    <url>http://openjpa.apache.org</url>
-    <parent>
-        <groupId>org.apache.openjpa</groupId>
-        <artifactId>openjpa-parent</artifactId>
-        <version>1.1.1-SNAPSHOT</version>
-    </parent>
-    <properties>
-        <openjpa.loglevel>INFO</openjpa.loglevel>
-        <!-- to set debug arguments, you might set the following at the command line:
-            -Dtest.jvm.arguments="-Xmx500m -agentlib:jdwp=transport=dt_socket,server=y,address=8000"
-        -->
-        <test.jvm.arguments>-Xmx500m</test.jvm.arguments>
-    </properties>
-    <profiles>
-
-        <!-- Profile for testing with Apache Derby -->
-        <profile>
-            <id>test-derby</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-                <property><name>test-derby</name></property>
-            </activation>
-            <dependencies>
-                <dependency>
-                    <groupId>org.apache.derby</groupId>
-                    <artifactId>derby</artifactId>
-                    <scope>test</scope>
-                </dependency>
-            </dependencies>
-            <properties>
-                <connection.driver.name>org.apache.derby.jdbc.EmbeddedDriver</connection.driver.name>
-                <connection.url>jdbc:derby:target/database/openjpa-derby-database;create=true</connection.url>
-                <connection.username></connection.username>
-                <connection.password></connection.password>
-            </properties>
-        </profile>
-
-        <!-- Profile for testing with HSQL DB -->
-        <profile>
-            <id>test-hsqldb</id>
-            <activation><property><name>test-hsqldb</name></property></activation>
-            <dependencies>
-                <dependency>
-                    <groupId>hsqldb</groupId>
-                    <artifactId>hsqldb</artifactId>
-                    <version>1.8.0.7</version>
-                    <scope>test</scope>
-                </dependency>
-            </dependencies>
-             <properties>
-                <connection.driver.name>org.hsqldb.jdbcDriver</connection.driver.name>
-                <connection.url>jdbc:hsqldb:target/database/openjpa-hsqldb-database;create=true</connection.url>
-                <connection.username>sa</connection.username>
-                <connection.password></connection.password>
-            </properties>
-        </profile>
-
-        <!-- Profile for testing with MySQL DB -->
-        <profile>
-            <id>test-mysql</id>
-            <activation><property><name>test-mysql</name></property></activation>
-            <dependencies>
-                <dependency>
-                    <groupId>mysql</groupId>
-                    <artifactId>mysql-connector-java</artifactId>
-                    <version>5.1.5</version>
-                </dependency>
-            </dependencies>
-            <properties>
-                <connection.driver.name>com.mysql.jdbc.Driver</connection.driver.name>
-                <connection.url>${openjpa.mysql.url}</connection.url>
-                <connection.username>${openjpa.mysql.username}</connection.username>
-                <connection.password>${openjpa.mysql.password}</connection.password>
-            </properties>
-        </profile>
-
-        <!-- Profile for testing with PostgreSQL DB -->
-        <profile>
-            <id>test-postgresql</id>
-            <activation><property><name>test-postgresql</name></property></activation>
-            <dependencies>
-                <dependency>
-                    <groupId>postgresql</groupId>
-                    <artifactId>postgresql</artifactId>
-                    <version>8.1-407.jdbc3</version>
-                    <scope>test</scope>
-                </dependency>
-            </dependencies>
-            <properties>
-                <connection.driver.name>org.postgresql.Driver</connection.driver.name>
-                <connection.url>${openjpa.postgresql.url}</connection.url>
-                <connection.username>${openjpa.postgresql.username}</connection.username>
-                <connection.password>${openjpa.postgresql.password}</connection.password>
-            </properties>
-        </profile>
-
-        <!-- Profile for testing with SQLServer DB using the jTDS driver -->
-        <profile>
-            <id>test-sqlserver</id>
-            <activation><property><name>test-sqlserver</name></property></activation>
-            <dependencies>
-                <dependency>
-                    <groupId>net.sourceforge.jtds</groupId>
-                    <artifactId>jtds</artifactId>
-                    <version>1.2</version>
-                    <scope>test</scope>
-                </dependency>
-            </dependencies>
-            <properties>
-                <connection.driver.name>net.sourceforge.jtds.jdbc.Driver</connection.driver.name>
-                <connection.url>${openjpa.sqlserver.url}</connection.url>
-                <connection.username>${openjpa.sqlserver.username}</connection.username>
-                <connection.password>${openjpa.sqlserver.password}</connection.password>
-            </properties>
-        </profile>
-
-        <!-- Profile for testing with Sybase DB using the jTDS driver -->
-        <profile>
-            <id>test-sybase</id>
-            <activation><property><name>test-sybase</name></property></activation>
-            <dependencies>
-                <dependency>
-                    <groupId>net.sourceforge.jtds</groupId>
-                    <artifactId>jtds</artifactId>
-                    <version>1.2</version>
-                    <scope>test</scope>
-                </dependency>
-            </dependencies>
-            <properties>
-                <connection.driver.name>net.sourceforge.jtds.jdbc.Driver</connection.driver.name>
-                <connection.url>${openjpa.sybase.url}</connection.url>
-                <connection.username>${openjpa.sybase.username}</connection.username>
-                <connection.password>${openjpa.sybase.password}</connection.password>
-            </properties>
-        </profile>
-
-        <!-- Profile for testing with a custom DB using a system jar -->
-        <!--
-            For example, to test with Oracle, you might run:
-        mvn test -Dtest=TestPersistence -Ptest-custom \
-          -Dopenjpa.custom.driverjar=$(pwd)/drivers/jdbc-oracle-10_2_0_1_0.jar \
-          -Dopenjpa.custom.driverclass=oracle.jdbc.driver.OracleDriver \
-          -Dopenjpa.custom.url=jdbc:oracle:thin:@HOST:PORT:DBNAME \
-          -Dopenjpa.custom.username=USERNAME \
-          -Dopenjpa.custom.password=PASSWORD
-        -->
-        <profile>
-            <id>test-custom</id>
-            <activation><property><name>test-custom</name></property></activation>
-            <dependencies>
-                <dependency>
-                    <groupId>openjpa.customdriver</groupId>
-                    <artifactId>openjpa.customdriver</artifactId>
-                    <version>1.0</version>
-                    <scope>system</scope>
-                    <systemPath>${openjpa.custom.driverjar}</systemPath>
-                </dependency>
-            </dependencies>
-            <properties>
-                <connection.driver.name>${openjpa.custom.driverclass}</connection.driver.name>
-                <connection.url>${openjpa.custom.url}</connection.url>
-                <connection.username>${openjpa.custom.username}</connection.username>
-                <connection.password>${openjpa.custom.password}</connection.password>
-            </properties>
-        </profile>
-
-
-        <!-- Profile for testing with a custom DB using two system jars.
-             Some databases (DB2) use more than one jar for their JDBC provider.
-             Functionally this is identical to the previous profile, with a
-             second system dependency added.
-          -->
-        <!--
-            For example, to test with DB2, you might run:
-        mvn test -Dtest=TestPersistence -Ptest-custom2 \
-          -Dopenjpa.custom.driverjar1=$(pwd)/drivers/db2jcc.jar \
-          -Dopenjpa.custom.driverjar2=$(pwd)/drviers/db2jcc_license_cu.jar \
-          -Dopenjpa.custom.driverclass=com.ibm.db2.jcc.DB2Driver \
-          -Dopenjpa.custom.url=jdbc:db2://HOST:PORT/DBNAME \
-          -Dopenjpa.custom.username=USERNAME \
-          -Dopenjpa.custom.password=PASSWORD
-        -->
-        <profile>
-            <id>test-custom2</id>
-            <activation><property><name>test-custom2</name></property></activation>
-            <dependencies>
-                <dependency>
-                    <groupId>openjpa.customdriver1</groupId>
-                    <artifactId>openjpa.customdriver1</artifactId>
-                    <version>1.0</version>
-                    <scope>system</scope>
-                    <systemPath>${openjpa.custom.driverjar1}</systemPath>
-                </dependency>
-                <dependency>
-                    <groupId>openjpa.customdriver2</groupId>
-                    <artifactId>openjpa.customdriver2</artifactId>
-                    <version>1.0</version>
-                    <scope>system</scope>
-                    <systemPath>${openjpa.custom.driverjar2}</systemPath>
-                </dependency>
-            </dependencies>
-            <properties>
-                <connection.driver.name>${openjpa.custom.driverclass}</connection.driver.name>
-                <connection.url>${openjpa.custom.url}</connection.url>
-                <connection.username>${openjpa.custom.username}</connection.username>
-                <connection.password>${openjpa.custom.password}</connection.password>
-            </properties>
-        </profile>
-    </profiles>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.openjpa</groupId>
-            <artifactId>openjpa-jdbc</artifactId>
-            <version>${pom.version}</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.openjpa</groupId>
-            <artifactId>openjpa-persistence</artifactId>
-            <version>${pom.version}</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>commons-dbcp</groupId>
-            <artifactId>commons-dbcp</artifactId>
-            <version>1.2.1</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>commons-collections</groupId>
-            <artifactId>commons-collections</artifactId>
-            <version>3.2</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>jakarta-regexp</groupId>
-            <artifactId>jakarta-regexp</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-            <plugin>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>test-compile</phase>
-                        <configuration>
-                            <tasks>
-                                <ant antfile="src/main/ant/enhancer.xml"
-                                    target="enhance"
-                                    inheritRefs="true">
-                                    <!--
-                                        InheritAll doesn't seem to work. Pass in
-                                        properties manually.
-                                    -->
-                                    <property name="maven.test.skip"
-                                        value="${maven.test.skip}" />
-                                    <property name="test"
-                                        value="${test}" />
-                                    <property name="outdir"
-                                        value="${project.build.outputDirectory}" />
-                                    <property
-                                        name="project.build.testOutputDirectory"
-                                        value="${project.build.testOutputDirectory}" />
-                                    <property name="openjpa.loglevel"
-                                        value="${openjpa.loglevel}" />
-                                </ant>
-                            </tasks>
-                        </configuration>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <configuration>
-                    <argLine>${test.jvm.arguments}</argLine>
-                    <excludes>
-                        <!-- exclude classes that end with 'Test'; these 
-                             are not test cases per OpenJPA standards -->
-                        <exclude>org/apache/openjpa/**/*Test.java</exclude>
-
-                        <!-- exclude classes that include a $; inner classes
-                             are not test cases per OpenJPA standards -->
-                        <exclude>org/apache/openjpa/**/*$*.class</exclude>
-                        <exclude>org/apache/openjpa/**/*.*.class</exclude>
-                        
-                        <!-- exclude "no xsd" test until a workaround is figured out (OPENJPA-513)  -->
-                        <exclude>org/apache/openjpa/persistence/xml/TestPersistenceUnitWithoutXSD.java</exclude>
-
-                        <!-- exclude new tests that aren't passing yet -->
-                        <exclude>org/apache/openjpa/persistence/jpql/clauses/TestEJBQueryInterface.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestInitialValueFetching.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestOpenResultsCommit.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/query/TestQuotedNumbersInFilters2.java</exclude>
-
-                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBEmbedded.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/annotations/TestAdvAnnot.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/annotations/TestDDCallbackMethods.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/annotations/TestEJBEmbedded.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/annotations/TestEntityListenerAnnot.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/annotations/TestEntityOrderBy.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/annotations/TestPropertyAccess.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/annotations/TestVersion.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/cache/TestQueryCache.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/conf/TestKodoConfiguration.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestCacheMultiThreadedLoad.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestConcurrentDataCache.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestDataCachePCDataGenerator.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestDataCacheScheduler.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestDistributedKodoDataCache.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestFlushDataCache.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestJPQL2Queries.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestJPQL2ResultsAndResultClasses.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestJPQLRelationProjections.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestLocalCache.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestMutableParameters.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestPCParametersInQueries.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestQueryResultTypes.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestResultShapes.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestSJVMCache.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/datacache/TestUniteratedQueryResult.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/enhance/TestClone.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/enhance/TestDynamicStorageGenerator.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/enhance/TestNoNoArgs.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/enhance/TestSubclassedBehavior.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/entityoperation/TestCascades.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/event/TestEvents.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/event/TestFakeRemoteEvents.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/event/TestLifecycleEventManager.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/event/TestLocalRemoteEvents.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/event/TestOrphanedKeyAction.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/event/TestTCPRemoteClassChanges.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/event/TestTCPRemoteEvents.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/event/TestTCPRemoteEventsDuration.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/event/TestTCPRemoteRecovery.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/event/TestTCPRemoteRecoveryTransmitAdds.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestByteArrayAppId.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestCircularFK.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestDataStoreTrips.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestEfficientAttach.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestEJBAutoIncrement.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestEmbeddedPessimisticLocking.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestIncrementalJDBCFlushes.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestOperationOrderUpdateManager.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestPagingResultObjectProvider.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestRawSQL.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestSQLListenerTestCase.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestUnknownSubclass.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/mapping/TestCompositeIdTraversalInSQLMapping.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/mapping/TestNativeQueries.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestBuildSchema.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestDFG.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEagerDistinct.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEagerOuterToManyJoins.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBByteArray.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBColumnIOMappings.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBConstantJoinOnSameRefTable.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBDateVersion.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBEager.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBOuterJoinValues.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestIntermediate.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestIrregularJoins.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestJDBCType.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestJoinToBaseClass.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestLocators.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestLRSProxies.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestMappedByKeyMaps.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestMetaDataValueIndicator.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestMultiDFG.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestMultiTableMappings.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestMultiTableSelfCollection.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestNoClassColumn.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestRawField.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestStateImage.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/horizontal/TestLockGroupsWithHorizontalBaseType.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/horizontal/TestQueryAgainstEntireMappedHierarchy.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/tableperclass/TestUnionPlaceholderTypes.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/vertical/TestJoinSubclasses.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/vertical/TestSubclassJoinExtent.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/vertical/TestSubclassJoinGetObjectById.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/meta/vertical/TestSubclassJoinRelations.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/query/TestEJBQLSelectNPlusOne.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/query/TestNamedSQLQueries.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/query/TestSQLQueries.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/query/TestStringFunctions.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestClassDBSequenceFactory.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestDBSequenceFactory.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestDynamicSchemaFactory.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestJDBCListener.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestLazySchemaFactory.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestPerClassSequenceFactory.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestSchema.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestSchemaClone.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestSchemaGenerator.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestSequenceGeneratorEnsureCapacityCall.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestXMLSchemaParser.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestXMLSchemaSerializer.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jpql/clauses/TestBulkUpdate.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/jpql/expressions/TestEJBQLCondExpression.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/Test2EJBConcurrency.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestAbstractMappedAppIdSuper.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestArrayValues2.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestBigDecimals.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestBrokerFactoryPooling.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestConnectionRetainMode.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestDependentFields2.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestDetachedStateManager.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBIncrementalFlushes.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBNoPersistentFields.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBObjectCollections.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBRetainValues.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBTransactions.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestFetchGroupsExtent.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestFetchPlan.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestFieldRange.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestFieldRange2.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestGetObjectsById.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestIncrementalFlushes.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestInstanceCallbacks.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestMultiThreaded.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestNTW.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestOptimisticLockGroups.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestPersistenceManager.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestPersistenceManagerFactoryImpl.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestPersistentMaps.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestRestoreValues.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestRetainValuesInOptimistic.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestSavepointEmbedded.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestSavepointEmbeddedPreFlush.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestSecondClassValues.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestSerialize.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestSpecialNumbers.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/kernel/TestSpecialNumbers2.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/meta/TestClassMetaData.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/meta/TestFieldDeclarationOrder.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/meta/TestNonPersistentFields.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/meta/TestOrderBy.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/meta/TestPersistentClasses.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/meta/TestSequenceAssigned.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/meta/TestValueStrategies.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/meta/TestXMLPersistenceMetaDataSerializer.java</exclude>
-                  
-                    </excludes>
-                    <systemProperties>
-                        <property>
-                            <name>openjpa.Log</name>
-                            <value>DefaultLevel=${openjpa.loglevel}</value>
-                        </property>
-                        <property>
-                            <name>openjpa.ConnectionDriverName</name>
-                            <value>org.apache.commons.dbcp.BasicDataSource</value>
-                        </property>
-                        <property>
-                            <name>derby.stream.error.file</name>
-                            <value>target/derby.log</value>
-                        </property>
-                        <property>
-                            <name>openjpa.ConnectionProperties</name>
-                            <value>DriverClassName=${connection.driver.name},Url=${connection.url},MaxActive=100,MaxIdle=0,MaxWait=10000,TestOnBorrow=true,Username=${connection.username},Password=${connection.password}</value>
-                        </property>
-                    </systemProperties>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.   
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.openjpa</groupId>
+    <artifactId>openjpa-persistence-jdbc</artifactId>
+    <packaging>jar</packaging>
+    <name>OpenJPA JPA JDBC</name>
+    <description>OpenJPA JPA JDBC</description>
+    <url>http://openjpa.apache.org</url>
+    <parent>
+        <groupId>org.apache.openjpa</groupId>
+        <artifactId>openjpa-parent</artifactId>
+        <version>1.1.1-SNAPSHOT</version>
+    </parent>
+    <properties>
+        <openjpa.loglevel>INFO</openjpa.loglevel>
+        <!-- to set debug arguments, you might set the following at the command line:
+            -Dtest.jvm.arguments="-Xmx500m -agentlib:jdwp=transport=dt_socket,server=y,address=8000"
+        -->
+        <test.jvm.arguments>-Xmx500m</test.jvm.arguments>
+    </properties>
+    <profiles>
+
+        <!-- Profile for testing with Apache Derby -->
+        <profile>
+            <id>test-derby</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+                <property><name>test-derby</name></property>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.derby</groupId>
+                    <artifactId>derby</artifactId>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+            <properties>
+                <connection.driver.name>org.apache.derby.jdbc.EmbeddedDriver</connection.driver.name>
+                <connection.url>jdbc:derby:target/database/openjpa-derby-database;create=true</connection.url>
+                <connection.username></connection.username>
+                <connection.password></connection.password>
+            </properties>
+        </profile>
+
+        <!-- Profile for testing with HSQL DB -->
+        <profile>
+            <id>test-hsqldb</id>
+            <activation><property><name>test-hsqldb</name></property></activation>
+            <dependencies>
+                <dependency>
+                    <groupId>hsqldb</groupId>
+                    <artifactId>hsqldb</artifactId>
+                    <version>1.8.0.7</version>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+             <properties>
+                <connection.driver.name>org.hsqldb.jdbcDriver</connection.driver.name>
+                <connection.url>jdbc:hsqldb:target/database/openjpa-hsqldb-database;create=true</connection.url>
+                <connection.username>sa</connection.username>
+                <connection.password></connection.password>
+            </properties>
+        </profile>
+
+        <!-- Profile for testing with MySQL DB -->
+        <profile>
+            <id>test-mysql</id>
+            <activation><property><name>test-mysql</name></property></activation>
+            <dependencies>
+                <dependency>
+                    <groupId>mysql</groupId>
+                    <artifactId>mysql-connector-java</artifactId>
+                    <version>5.1.5</version>
+                </dependency>
+            </dependencies>
+            <properties>
+                <connection.driver.name>com.mysql.jdbc.Driver</connection.driver.name>
+                <connection.url>${openjpa.mysql.url}</connection.url>
+                <connection.username>${openjpa.mysql.username}</connection.username>
+                <connection.password>${openjpa.mysql.password}</connection.password>
+            </properties>
+        </profile>
+
+        <!-- Profile for testing with PostgreSQL DB -->
+        <profile>
+            <id>test-postgresql</id>
+            <activation><property><name>test-postgresql</name></property></activation>
+            <dependencies>
+                <dependency>
+                    <groupId>postgresql</groupId>
+                    <artifactId>postgresql</artifactId>
+                    <version>8.1-407.jdbc3</version>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+            <properties>
+                <connection.driver.name>org.postgresql.Driver</connection.driver.name>
+                <connection.url>${openjpa.postgresql.url}</connection.url>
+                <connection.username>${openjpa.postgresql.username}</connection.username>
+                <connection.password>${openjpa.postgresql.password}</connection.password>
+            </properties>
+        </profile>
+
+        <!-- Profile for testing with SQLServer DB using the jTDS driver -->
+        <profile>
+            <id>test-sqlserver</id>
+            <activation><property><name>test-sqlserver</name></property></activation>
+            <dependencies>
+                <dependency>
+                    <groupId>net.sourceforge.jtds</groupId>
+                    <artifactId>jtds</artifactId>
+                    <version>1.2</version>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+            <properties>
+                <connection.driver.name>net.sourceforge.jtds.jdbc.Driver</connection.driver.name>
+                <connection.url>${openjpa.sqlserver.url}</connection.url>
+                <connection.username>${openjpa.sqlserver.username}</connection.username>
+                <connection.password>${openjpa.sqlserver.password}</connection.password>
+            </properties>
+        </profile>
+
+        <!-- Profile for testing with Sybase DB using the jTDS driver -->
+        <profile>
+            <id>test-sybase</id>
+            <activation><property><name>test-sybase</name></property></activation>
+            <dependencies>
+                <dependency>
+                    <groupId>net.sourceforge.jtds</groupId>
+                    <artifactId>jtds</artifactId>
+                    <version>1.2</version>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+            <properties>
+                <connection.driver.name>net.sourceforge.jtds.jdbc.Driver</connection.driver.name>
+                <connection.url>${openjpa.sybase.url}</connection.url>
+                <connection.username>${openjpa.sybase.username}</connection.username>
+                <connection.password>${openjpa.sybase.password}</connection.password>
+            </properties>
+        </profile>
+
+        <!-- Profile for testing with a custom DB using a system jar -->
+        <!--
+            For example, to test with Oracle, you might run:
+        mvn test -Dtest=TestPersistence -Ptest-custom \
+          -Dopenjpa.custom.driverjar=$(pwd)/drivers/jdbc-oracle-10_2_0_1_0.jar \
+          -Dopenjpa.custom.driverclass=oracle.jdbc.driver.OracleDriver \
+          -Dopenjpa.custom.url=jdbc:oracle:thin:@HOST:PORT:DBNAME \
+          -Dopenjpa.custom.username=USERNAME \
+          -Dopenjpa.custom.password=PASSWORD
+        -->
+        <profile>
+            <id>test-custom</id>
+            <activation><property><name>test-custom</name></property></activation>
+            <dependencies>
+                <dependency>
+                    <groupId>openjpa.customdriver</groupId>
+                    <artifactId>openjpa.customdriver</artifactId>
+                    <version>1.0</version>
+                    <scope>system</scope>
+                    <systemPath>${openjpa.custom.driverjar}</systemPath>
+                </dependency>
+            </dependencies>
+            <properties>
+                <connection.driver.name>${openjpa.custom.driverclass}</connection.driver.name>
+                <connection.url>${openjpa.custom.url}</connection.url>
+                <connection.username>${openjpa.custom.username}</connection.username>
+                <connection.password>${openjpa.custom.password}</connection.password>
+            </properties>
+        </profile>
+
+
+        <!-- Profile for testing with a custom DB using two system jars.
+             Some databases (DB2) use more than one jar for their JDBC provider.
+             Functionally this is identical to the previous profile, with a
+             second system dependency added.
+          -->
+        <!--
+            For example, to test with DB2, you might run:
+        mvn test -Dtest=TestPersistence -Ptest-custom2 \
+          -Dopenjpa.custom.driverjar1=$(pwd)/drivers/db2jcc.jar \
+          -Dopenjpa.custom.driverjar2=$(pwd)/drviers/db2jcc_license_cu.jar \
+          -Dopenjpa.custom.driverclass=com.ibm.db2.jcc.DB2Driver \
+          -Dopenjpa.custom.url=jdbc:db2://HOST:PORT/DBNAME \
+          -Dopenjpa.custom.username=USERNAME \
+          -Dopenjpa.custom.password=PASSWORD
+        -->
+        <profile>
+            <id>test-custom2</id>
+            <activation><property><name>test-custom2</name></property></activation>
+            <dependencies>
+                <dependency>
+                    <groupId>openjpa.customdriver1</groupId>
+                    <artifactId>openjpa.customdriver1</artifactId>
+                    <version>1.0</version>
+                    <scope>system</scope>
+                    <systemPath>${openjpa.custom.driverjar1}</systemPath>
+                </dependency>
+                <dependency>
+                    <groupId>openjpa.customdriver2</groupId>
+                    <artifactId>openjpa.customdriver2</artifactId>
+                    <version>1.0</version>
+                    <scope>system</scope>
+                    <systemPath>${openjpa.custom.driverjar2}</systemPath>
+                </dependency>
+            </dependencies>
+            <properties>
+                <connection.driver.name>${openjpa.custom.driverclass}</connection.driver.name>
+                <connection.url>${openjpa.custom.url}</connection.url>
+                <connection.username>${openjpa.custom.username}</connection.username>
+                <connection.password>${openjpa.custom.password}</connection.password>
+            </properties>
+        </profile>
+    </profiles>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.openjpa</groupId>
+            <artifactId>openjpa-jdbc</artifactId>
+            <version>${pom.version}</version>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.openjpa</groupId>
+            <artifactId>openjpa-persistence</artifactId>
+            <version>${pom.version}</version>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-dbcp</groupId>
+            <artifactId>commons-dbcp</artifactId>
+            <version>1.2.1</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-collections</groupId>
+            <artifactId>commons-collections</artifactId>
+            <version>3.2</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>jakarta-regexp</groupId>
+            <artifactId>jakarta-regexp</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>test-compile</phase>
+                        <configuration>
+                            <tasks>
+                                <ant antfile="src/main/ant/enhancer.xml"
+                                    target="enhance"
+                                    inheritRefs="true">
+                                    <!--
+                                        InheritAll doesn't seem to work. Pass in
+                                        properties manually.
+                                    -->
+                                    <property name="maven.test.skip"
+                                        value="${maven.test.skip}" />
+                                    <property name="test"
+                                        value="${test}" />
+                                    <property name="outdir"
+                                        value="${project.build.outputDirectory}" />
+                                    <property
+                                        name="project.build.testOutputDirectory"
+                                        value="${project.build.testOutputDirectory}" />
+                                    <property name="openjpa.loglevel"
+                                        value="${openjpa.loglevel}" />
+                                </ant>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <argLine>${test.jvm.arguments}</argLine>
+                    <excludes>
+                        <!-- exclude classes that end with 'Test'; these 
+                             are not test cases per OpenJPA standards -->
+                        <exclude>org/apache/openjpa/**/*Test.java</exclude>
+
+                        <!-- exclude classes that include a $; inner classes
+                             are not test cases per OpenJPA standards -->
+                        <exclude>org/apache/openjpa/**/*$*.class</exclude>
+                        <exclude>org/apache/openjpa/**/*.*.class</exclude>
+                        
+                        <!-- exclude "no xsd" test until a workaround is figured out (OPENJPA-513)  -->
+                        <exclude>org/apache/openjpa/persistence/xml/TestPersistenceUnitWithoutXSD.java</exclude>
+
+                        <!-- exclude new tests that aren't passing yet -->
+                        <exclude>org/apache/openjpa/persistence/jpql/clauses/TestEJBQueryInterface.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestInitialValueFetching.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestOpenResultsCommit.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/query/TestQuotedNumbersInFilters2.java</exclude>
+
+                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBEmbedded.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/annotations/TestAdvAnnot.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/annotations/TestDDCallbackMethods.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/annotations/TestEJBEmbedded.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/annotations/TestEntityListenerAnnot.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/annotations/TestEntityOrderBy.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/annotations/TestPropertyAccess.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/annotations/TestVersion.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/cache/TestQueryCache.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestCacheMultiThreadedLoad.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestConcurrentDataCache.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestDataCachePCDataGenerator.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestDataCacheScheduler.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestDistributedKodoDataCache.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestFlushDataCache.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestJPQL2Queries.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestJPQL2ResultsAndResultClasses.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestJPQLRelationProjections.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestLocalCache.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestMutableParameters.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestPCParametersInQueries.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestQueryResultTypes.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestResultShapes.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestSJVMCache.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/datacache/TestUniteratedQueryResult.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/enhance/TestClone.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/enhance/TestDynamicStorageGenerator.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/enhance/TestNoNoArgs.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/enhance/TestSubclassedBehavior.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/entityoperation/TestCascades.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/event/TestEvents.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/event/TestFakeRemoteEvents.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/event/TestLifecycleEventManager.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/event/TestLocalRemoteEvents.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/event/TestOrphanedKeyAction.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/event/TestTCPRemoteClassChanges.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/event/TestTCPRemoteEvents.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/event/TestTCPRemoteEventsDuration.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/event/TestTCPRemoteRecovery.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/event/TestTCPRemoteRecoveryTransmitAdds.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestByteArrayAppId.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestCircularFK.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestDataStoreTrips.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestEfficientAttach.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestEJBAutoIncrement.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestEmbeddedPessimisticLocking.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestIncrementalJDBCFlushes.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestOperationOrderUpdateManager.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestPagingResultObjectProvider.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestRawSQL.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestSQLListenerTestCase.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/kernel/TestUnknownSubclass.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/mapping/TestCompositeIdTraversalInSQLMapping.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/mapping/TestNativeQueries.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestBuildSchema.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestDFG.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEagerDistinct.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEagerOuterToManyJoins.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBByteArray.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBColumnIOMappings.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBConstantJoinOnSameRefTable.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBDateVersion.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBEager.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestEJBOuterJoinValues.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestIntermediate.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestIrregularJoins.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestJDBCType.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestJoinToBaseClass.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestLocators.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestLRSProxies.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestMappedByKeyMaps.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestMetaDataValueIndicator.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestMultiDFG.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestMultiTableMappings.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestMultiTableSelfCollection.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestNoClassColumn.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestRawField.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/TestStateImage.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/horizontal/TestLockGroupsWithHorizontalBaseType.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/horizontal/TestQueryAgainstEntireMappedHierarchy.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/tableperclass/TestUnionPlaceholderTypes.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/vertical/TestJoinSubclasses.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/vertical/TestSubclassJoinExtent.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/vertical/TestSubclassJoinGetObjectById.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/meta/vertical/TestSubclassJoinRelations.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/query/TestEJBQLSelectNPlusOne.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/query/TestNamedSQLQueries.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/query/TestSQLQueries.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/query/TestStringFunctions.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestClassDBSequenceFactory.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestDBSequenceFactory.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestDynamicSchemaFactory.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestJDBCListener.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestLazySchemaFactory.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestPerClassSequenceFactory.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestSchema.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestSchemaClone.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestSchemaGenerator.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestSequenceGeneratorEnsureCapacityCall.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestXMLSchemaParser.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jdbc/schema/TestXMLSchemaSerializer.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jpql/clauses/TestBulkUpdate.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/jpql/expressions/TestEJBQLCondExpression.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/Test2EJBConcurrency.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestAbstractMappedAppIdSuper.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestArrayValues2.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestBigDecimals.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestBrokerFactoryPooling.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestConnectionRetainMode.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestDependentFields2.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestDetachedStateManager.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBIncrementalFlushes.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBNoPersistentFields.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBObjectCollections.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBRetainValues.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestEJBTransactions.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestFetchGroupsExtent.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestFetchPlan.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestFieldRange.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestFieldRange2.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestGetObjectsById.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestIncrementalFlushes.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestInstanceCallbacks.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestMultiThreaded.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestNTW.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestOptimisticLockGroups.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestPersistenceManager.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestPersistenceManagerFactoryImpl.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestPersistentMaps.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestRestoreValues.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestRetainValuesInOptimistic.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestSavepointEmbedded.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestSavepointEmbeddedPreFlush.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestSecondClassValues.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestSerialize.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestSpecialNumbers.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/kernel/TestSpecialNumbers2.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/meta/TestClassMetaData.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/meta/TestFieldDeclarationOrder.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/meta/TestNonPersistentFields.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/meta/TestOrderBy.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/meta/TestPersistentClasses.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/meta/TestSequenceAssigned.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/meta/TestValueStrategies.java</exclude>
+                        <exclude>org/apache/openjpa/persistence/meta/TestXMLPersistenceMetaDataSerializer.java</exclude>
+                  
+                    </excludes>
+                    <systemProperties>
+                        <property>
+                            <name>openjpa.Log</name>
+                            <value>DefaultLevel=${openjpa.loglevel}</value>
+                        </property>
+                        <property>
+                            <name>openjpa.ConnectionDriverName</name>
+                            <value>org.apache.commons.dbcp.BasicDataSource</value>
+                        </property>
+                        <property>
+                            <name>derby.stream.error.file</name>
+                            <value>target/derby.log</value>
+                        </property>
+                        <property>
+                            <name>openjpa.ConnectionProperties</name>
+                            <value>DriverClassName=${connection.driver.name},Url=${connection.url},MaxActive=100,MaxIdle=0,MaxWait=10000,TestOnBorrow=true,Username=${connection.username},Password=${connection.password}</value>
+                        </property>
+                    </systemProperties>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Modified: openjpa/branches/1.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/conf/TestOpenJPAConfiguration.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/conf/TestOpenJPAConfiguration.java?rev=726868&r1=726867&r2=726868&view=diff
==============================================================================
--- openjpa/branches/1.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/conf/TestOpenJPAConfiguration.java (original)
+++ openjpa/branches/1.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/conf/TestOpenJPAConfiguration.java Mon Dec 15 15:01:01 2008
@@ -40,10 +40,10 @@
  *
  * @author Marc Prud'hommeaux
  */
-public class TestKodoConfiguration
+public class TestOpenJPAConfigurationConfiguration
     extends AbstractTestCase {
 
-    public TestKodoConfiguration(String test) {
+    public TestOpenJPAConfiguration(String test) {
         super(test, "confcactusapp");
     }
 
@@ -131,11 +131,16 @@
             try {
                 assertNotNull(pds[i].getShortDescription());
                 assertNotNull(pds[i].getDisplayName());
-
-                Method setter = pds[i].getWriteMethod();
+                
+                // skip the EntityManagerFactory property added by
+                // product derivation code as it has no accessor methods
+                if ("EntityManagerFactory".equals(values[i].getProperty()))
+                        continue;
+                        
                 Method getter = pds[i].getReadMethod();
-                assertNotNull(setter);
+                Method setter = pds[i].getWriteMethod();
                 assertNotNull(getter);
+                assertNotNull(setter);
 
                 assertNotNull("Missing attribute ("
                     + Configuration.ATTRIBUTE_TYPE
@@ -199,7 +204,7 @@
         log.clear();
 
         // now make sure we do *not* try to validate sub-configurations (such
-        // as kodo.jdbc.Foo).
+        // as openjpa.jdbc.Foo).
         props.clear();
         props.setProperty("openjpa.jdbc.Foo", "XXX");
         props.setProperty("oponjpa", "XXX");



Mime
View raw message