Hello,
We are developing a PowerBuilder application that, among other things, execute functions and procedures stored on an ORACLE database (Oracle Database 10g Enterprise Edition Release 10.2.0.1.0).
Recently, we migrated the code from
PowerBuilder 9.0.3 build 8836
to
PowerBuilder 12 Classic build 5530
And some calls to these ORACLE functions and procedures do not work anymore.
In the PowerBuilder code, we have our own transaction object (inherited from 'Transaction').
In the 'Local External Functions' of our 'Transaction' object, we have the following code:
In the ORACLE database, we have the following definitions for these stored functions:
When we test it in the development environment, everything works fine.
When we test it with the deployed version (.exe + .pbd) in the test environment, it seems like PowerBuilder is not able to call the function 'cpt_exists' (2 arguments) of the package 'Pfp_Gstcpt_Pkg' anymore [We have a logging system on the ORACLE database that shows that neither the function neither the package are executed].
What's weird, it's that PowerBuilder does not throw an exception.
What's weirder, it's that when we call other functions than the function 'cpt_exists', there is no problem.
In addition to the '.exe' et '.pbd' files, we install the following files during the deployment:
- atl71.dll
- Libjcc.dll
- Libjutils.dll
- msvcr71.dll
- msvcp71.dll
- pbdir120.dll
- pbdwe120.dll
- pbdwr120.dll
- pbdwr120.pbd
- pbjag120.pbd
- pbjvm120.dll
- pbo90120.dll
- pbo10120.dll
- pbrtc120.dll
- pbshr120.dll
- pbtra120.dll
- pbvm120.dll
Thanks in advance for your help,
Sophie.
Development and Test environments
- OS version: Windows XP
- PowerBuilder 12 Classic build 5530
- Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
- Connecting mode to the database: DBMS=O10 Oracle 10g
- Architecture: Client/Server
We are developing a PowerBuilder application that, among other things, execute functions and procedures stored on an ORACLE database (Oracle Database 10g Enterprise Edition Release 10.2.0.1.0).
Recently, we migrated the code from
PowerBuilder 9.0.3 build 8836
to
PowerBuilder 12 Classic build 5530
And some calls to these ORACLE functions and procedures do not work anymore.
In the PowerBuilder code, we have our own transaction object (inherited from 'Transaction').
In the 'Local External Functions' of our 'Transaction' object, we have the following code:
Code:
FUNCTION long cpt_exists (string snumcpt, ref Long rbExist) &
RPCFUNC ALIAS FOR "pfp_gstcpt_pkg.cpt_exists"
FUNCTION long cpt_exists (string snumcpt, REF Long rbExist &
, REF string rs_msgkey, REF string rs_msg, REF string rs_msgdb ) &
RPCFUNC ALIAS FOR "pfp_gstcpt_pkg.cpt_exists"
In the ORACLE database, we have the following definitions for these stored functions:
Code:
CREATE OR REPLACE PACKAGE Pfp_Gstcpt_Pkg
...
FUNCTION cpt_exists (
numcpt_in IN ARI_200_COMPTES.NUMCPT%TYPE,
trouve OUT NUMBER,
err_cod_out OUT VARCHAR2,
err_msg_out OUT VARCHAR2,
err_dbg_out OUT VARCHAR2)
RETURN INTEGER;
FUNCTION cpt_exists (
numcpt_in IN ARI_200_COMPTES.NUMCPT%TYPE,
trouve OUT NUMBER)
RETURN INTEGER;
When we test it in the development environment, everything works fine.
When we test it with the deployed version (.exe + .pbd) in the test environment, it seems like PowerBuilder is not able to call the function 'cpt_exists' (2 arguments) of the package 'Pfp_Gstcpt_Pkg' anymore [We have a logging system on the ORACLE database that shows that neither the function neither the package are executed].
What's weird, it's that PowerBuilder does not throw an exception.
What's weirder, it's that when we call other functions than the function 'cpt_exists', there is no problem.
In addition to the '.exe' et '.pbd' files, we install the following files during the deployment:
- atl71.dll
- Libjcc.dll
- Libjutils.dll
- msvcr71.dll
- msvcp71.dll
- pbdir120.dll
- pbdwe120.dll
- pbdwr120.dll
- pbdwr120.pbd
- pbjag120.pbd
- pbjvm120.dll
- pbo90120.dll
- pbo10120.dll
- pbrtc120.dll
- pbshr120.dll
- pbtra120.dll
- pbvm120.dll
Thanks in advance for your help,
Sophie.
Development and Test environments
- OS version: Windows XP
- PowerBuilder 12 Classic build 5530
- Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
- Connecting mode to the database: DBMS=O10 Oracle 10g
- Architecture: Client/Server