PowerBuilder JDBC support files  Some PowerScript blob functions do not work correctly

Release Bulletin Sybase® Enterprise Portal Enterprise Edition Version 5.0 for Sun Solaris

NULL values in calls to PowerBuilder components

When deploying PowerBuilder components to EAServer, you can select the “Allow NULL values in method parameters” option. Selecting this option prepares the deployed component to accept null-valued arguments. Since CORBA does not allow nulls in method calls, an additional null-indicator Boolean array is passed as the last argument to all PowerBuilder component method calls. The elements of the array correspond to the PowerBuilder function arguments, and each element indicates whether the corresponding argument is null. When calling PowerBuilder components from PowerBuilder clients or other PowerBuilder components, the initialization of this array is handled transparently. When calling a PowerBuilder component with this setting from a non-PowerBuilder component or a non-PowerBuilder client, you must initialize a null-indicator array and pass it as the last parameter to the method call.

[CR #263647] When calling PowerBuilder components that accept null parameters from non-PowerBuilder clients, if the null-indicator array is not properly initialized by the client, the PowerBuilder component may fail and be destroyed.

Workaround: Do one of the following:





Copyright © 2005. Sybase Inc. All rights reserved. Some PowerScript blob functions do not work correctly

View this release bulletin as PDF