diff --git a/glassfish-runner/persistence-platform-tck/pom.xml b/glassfish-runner/persistence-platform-tck/pom.xml index c1e5238774..12e9389ffd 100644 --- a/glassfish-runner/persistence-platform-tck/pom.xml +++ b/glassfish-runner/persistence-platform-tck/pom.xml @@ -35,8 +35,17 @@ glassfish8 - 8.0.0-SNAPSHOT + 8.0.0-JDK17-M5 + org.apache.derby.jdbc.ClientDriver + cts1 + jdbc:derby://localhost:1527/derbyDB;create=true + cts1 + org.eclipse.persistence.jpa.PersistenceProvider 11.0.0-M2 + ${glassfish.home}/javadb/lib + ${project.build.directory}/${glassfish.toplevel.dir}/javadb/lib/derbyclient.jar:${project.build.directory}/${glassfish.toplevel.dir}/javadb/lib/derbyshared.jar:${project.build.directory}/${glassfish.toplevel.dir}/javadb/lib/derbytools.jar + ${javadb.lib}/derbyclient.jar:${javadb.lib}/derbyshared.jar:${javadb.lib}/derbytools.jar + jdbc:derby://localhost:1527/derbyDB;create=true 5.11.3 persistence-platform-tck-tests @@ -362,6 +371,13 @@ ${project.build.directory}/lib arquillian-protocol-lib.jar + + jakarta.tck + dbprocedures + true + ${project.build.directory} + dbprocedures.jar + @@ -379,7 +395,7 @@ pre-integration-test - target/glassfish8/glassfish/bin/asadmin + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin start-database @@ -393,7 +409,7 @@ post-integration-test - target/glassfish8/glassfish/bin/asadmin + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin stop-database @@ -418,17 +434,37 @@ pre-integration-test - + + + + + + install_java_procedures + + run + + pre-integration-test + + + + + + + CALL sqlj.remove_jar('APP.dbprocedures', 0); + CALL sqlj.install_jar('${project.build.directory}/dbprocedures.jar', 'APP.dbprocedures', 0); + CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.database.classpath', 'APP.dbprocedures'); + + + + @@ -440,19 +476,19 @@ jakarta.tck:persistence-platform-tck-tests - true + ${project.build.directory}/${glassfish.toplevel.dir} set server-config.network-config.protocols.protocol.http-listener-1.http.trace-enabled=true create-file-user --groups guest --passwordfile ${project.basedir}/javajoe.pass javajoe create-file-user --groups staff:mgr --passwordfile ${project.basedir}/j2ee.pass j2ee - create-jdbc-connection-pool --restype javax.sql.DataSource --datasourceclassname org.apache.derby.jdbc.ClientDataSource --property DatabaseName=${glassfish.home}/glassfish/domains/domain1/config/derbyDB:serverName=localhost:portNumber=1527:user=cts1:password=cts1 --steadypoolsize 32 --maxpoolsize 64 cts-derby-pool - create-jdbc-connection-pool --restype javax.sql.DataSource --datasourceclassname org.apache.derby.jdbc.ClientDataSource --property DatabaseName=${glassfish.home}/glassfish/domains/domain1/config/derbyDB:serverName=localhost:PortNumber=1527:User=cts1:Password=cts1 --steadypoolsize 32 --maxpoolsize 64 cts-derby-pool_no_tx + create-jdbc-connection-pool --restype javax.sql.DataSource --datasourceclassname org.apache.derby.jdbc.ClientDataSource --property DatabaseName=derbyDB:serverName=localhost:PortNumber=1527:User=cts1:Password=cts1 --steadypoolsize 32 --maxpoolsize 64 cts-derby-pool create-jdbc-resource --connectionpoolid cts-derby-pool jdbc/DB1 + create-jdbc-connection-pool --restype javax.sql.DataSource --datasourceclassname org.apache.derby.jdbc.ClientDataSource --property DatabaseName=derbyDB:serverName=localhost:PortNumber=1527:User=cts1:Password=cts1 --steadypoolsize 32 --maxpoolsize 64 cts-derby-pool_no_tx create-jdbc-resource --connectionpoolid cts-derby-pool_no_tx jdbc/DB_no_tx list-jdbc-connection-pools list-jdbc-resources