RWDBConnection
Methods RWDBConnection::autoCommit() and RWDBConnection::autoCommit(bool) have been removed from the SourcePro DB API. These functions have not affected the behavior of the product since DBTools.h++ 4.
Oracle Stored Procedures
Executing an Oracle stored procedure using class RWDBOSql now requires parameter types of its out or in/out parameters to be explicitly specified on the bound RWDBTBuffer instances using the method RWDBTBuffer::paramType(). If parameter type is not set, the default parameter type of RWDBColumn::inParameter() is assumed and the out value of the parameters will not be retrieved.
Example:
RWDBOSql osql ("BEGIN myProc (:ph1); END;", RWDBOSql::Procedure); RWDBTBuffer<RWDBBlob> out(1); osql << out; osql.execute(conn); |
In the above example, the paramType is not set and so uses the default setting RWDBColumn::inParameter. Therefore, this value is not retrieved into the bound RWDBTBuffer object. To resolve this, parameterType should be set explicitly to outParameter:
RWDBOSql osql ("BEGIN myProc (:ph1); END;", RWDBOSql::Procedure); RWDBTBuffer<RWDBBlob> out(1); out.paramType(RWDBColumn::outParameter); osql << out; osql.execute(conn); |
Recommended Link Libraries
The MySQL Access Module now links against release MySQL client libraries for all build configurations on the Windows platform. Applications that are linking directly against the MySQL client libraries should update their build environments to use the new recommended libraries. Refer to the SourcePro DB examples for the MySQL Access Module for examples of recommended link libraries. (SP-11919).
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.