CreateSPUpdateSPSampleBO.txt

Attribute name:CreateSP

Contains the Jdbctest_Address business object. Application- specific information of this attribute contains the following information: SPN=CreateAddress;IP=addressid;IP=street:city:zipcode. CreateAddress is the name of the stored procedure that uses all four business object attributes as input parameters. Note that it contains more than one name:value pair for the input parameters. The stored procedure is executed instead of the Create operation. This business object also contains the UpdateSP attribute. It contains the following text: SPN=UpdateCity;IP=addressid:city. UpdateCity is the name of the stored procedure that uses addressid and city as input parameters. Note that the total number of stored procedure parameters is less than the total number of business attributes. The stored procedure is executed instead of the Update operation.

Copyright IBM Corp. 1997, 2003