-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add setup of derby.ddl.persistence.sprocs.sql and restore some test l…
…ogic (#1697) Signed-off-by: Scott Marlow <[email protected]>
- Loading branch information
1 parent
db11d70
commit f47b617
Showing
3 changed files
with
2,561 additions
and
40 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
glassfish-runner/persistence-platform-tck/sql/derby/derby.ddl.persistence.sprocs.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
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; |
Oops, something went wrong.