diff --git a/glassfish-runner/persistence-platform-tck/pom.xml b/glassfish-runner/persistence-platform-tck/pom.xml
index 701dd4435c..1ec86d1682 100644
--- a/glassfish-runner/persistence-platform-tck/pom.xml
+++ b/glassfish-runner/persistence-platform-tck/pom.xml
@@ -32,20 +32,11 @@
${project.build.directory}/${glassfish.toplevel.dir}
${glassfish.home}/glassfish/lib
-
+
glassfish8
8.0.0-JDK17-M9
- 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
@@ -277,6 +268,20 @@
+
+
+ ${project.build.directory}/sql
+ true
+ ${project.basedir}/sql/derby
+
+ *.sql
+
+
+
+ src/main/resources
+
+
+
org.apache.maven.plugins
@@ -384,90 +389,6 @@
-
- org.codehaus.mojo
- exec-maven-plugin
-
-
- start-database
-
- exec
-
- pre-integration-test
-
- ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin
-
- start-database
-
-
-
-
-
- stop-database-final
-
- exec
-
- post-integration-test
-
- ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin
-
- stop-database
-
-
- 0
- 1
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
- initdb
-
- run
-
- 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');
-
-
-
-
-
-
-
maven-failsafe-plugin
3.5.0
@@ -476,19 +397,19 @@
jakarta.tck:persistence-platform-tck-tests
-
+ ${basedir}/sql/derby/password.txt
${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=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
+ 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-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
@@ -501,6 +422,7 @@
+
-
tck-appclient
@@ -520,6 +440,7 @@
+ -->
jpa-tests-cdi
@@ -546,11 +467,8 @@
-
ee/jakarta/tck/persistence/core/StoredProcedureQuery/Client1PmservletTest.java
-
-
tck-javatest
@@ -601,5 +519,37 @@
web
+
+ appclient
+
+
+
+
+ maven-failsafe-plugin
+ 3.5.0
+
+
+
+ jpa-tests-appclient
+
+ integration-test
+ verify
+
+
+
+ ee/jakarta/tck/persistence/**/*Test.java
+
+ tck-appclient
+
+
+ appclient-arquillian.xml
+
+
+
+
+
+
+
+
diff --git a/glassfish-runner/persistence-platform-tck/sql/derby/derby.ddl.sql b/glassfish-runner/persistence-platform-tck/sql/derby/derby.ddl.sql
index b27b5a1490..0fc914bbdd 100644
--- a/glassfish-runner/persistence-platform-tck/sql/derby/derby.ddl.sql
+++ b/glassfish-runner/persistence-platform-tck/sql/derby/derby.ddl.sql
@@ -1,3 +1,31 @@
+DROP PROCEDURE GetEmpOneFirstNameFromOut;
+CREATE PROCEDURE GetEmpOneFirstNameFromOut (out OUT_PARAM VARCHAR(255)) language java external name 'ee.jakarta.tck.persistence.storedprocedures.CS_Procs.GetEmpOneFirstNameFromOut' parameter style java;
+
+DROP PROCEDURE GetEmpFirstNameFromOut;
+CREATE PROCEDURE GetEmpFirstNameFromOut (in IN_PARAM INTEGER, out OUT_PARAM VARCHAR(255)) language java external name 'ee.jakarta.tck.persistence.storedprocedures.CS_Procs.GetEmpFirstNameFromOut' parameter style java;
+
+DROP PROCEDURE GetEmpLastNameFromInOut;
+CREATE PROCEDURE GetEmpLastNameFromInOut (inout INOUT_PARAM VARCHAR(255)) language java external name 'ee.jakarta.tck.persistence.storedprocedures.CS_Procs.GetEmpLastNameFromInOut' parameter style java;
+
+DROP PROCEDURE GetEmpASCFromRS;
+CREATE PROCEDURE GetEmpASCFromRS() language java dynamic result sets 1 external name 'ee.jakarta.tck.persistence.storedprocedures.CS_Procs.GetEmpASCFromRS' parameter style java;
+
+DROP PROCEDURE GetEmpIdFNameLNameFromRS;
+CREATE PROCEDURE GetEmpIdFNameLNameFromRS (in IN_PARAM INTEGER) language java dynamic result sets 1 external name 'ee.jakarta.tck.persistence.storedprocedures.CS_Procs.GetEmpIdFNameLNameFromRS' parameter style java;
+
+DROP PROCEDURE GetEmpIdUsingHireDateFromOut;
+CREATE PROCEDURE GetEmpIdUsingHireDateFromOut (in IN_PARAM DATE, out OUT_PARAM INTEGER) language java external name 'ee.jakarta.tck.persistence.storedprocedures.CS_Procs.GetEmpIdUsingHireDateFromOut' parameter style java;
+
+DROP PROCEDURE UpdateEmpSalaryColumn;
+CREATE PROCEDURE UpdateEmpSalaryColumn() language java external name 'ee.jakarta.tck.persistence.storedprocedures.CS_Procs.UpdateEmpSalaryColumn' parameter style java;
+
+DROP PROCEDURE DeleteAllEmp;
+CREATE PROCEDURE DeleteAllEmp() language java external name 'ee.jakarta.tck.persistence.storedprocedures.CS_Procs.DeleteAllEmp' parameter style java;
+
+DROP FUNCTION REPLACE;
+CREATE FUNCTION REPLACE (origin_string VARCHAR(255), old_string VARCHAR(255), new_string VARCHAR(255)) RETURNS VARCHAR(255) language java external name 'ee.jakarta.tck.persistence.storedprocedures.CS_Procs.ReplaceString' parameter style java;
+
+
ALTER TABLE PHONE_TABLE DROP CONSTRAINT FK_FOR_ADDRESS ;
ALTER TABLE CUSTOMER_TABLE DROP CONSTRAINT FK5_FOR_CUST ;
ALTER TABLE CUSTOMER_TABLE DROP CONSTRAINT FK6_FOR_CUST ;
@@ -943,3 +971,6 @@ CREATE TABLE CRITERIA_TEST_COLTABLE(ENT_ID INTEGER NOT NULL, COLVAL VARCHAR(255)
DROP TABLE UUIDTYPE;
CREATE TABLE UUIDTYPE (ID char(16) for bit data NOT NULL, NAME VARCHAR(255), PRIMARY KEY (ID));
+
+CALL sqlj.install_jar('${project.build.directory}/dbprocedures.jar', 'APP.dbprocedures', 0);
+CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.database.classpath', 'APP.dbprocedures');