Processing ResultSets Returning an INTEGER Status Value

9-106 Oracle Fusion Middleware Users Guide for Technology Adapters For more information, see Section 9.3.3, Row Set Support Using a Strongly or Weakly Typed XSD .

9.7.7.1.1 Design Time

If the stored procedure or function you select contains an output parameter of type RowSet, you can define a strongly typed XSD for this ref cursor as follows: 1. Using the Adapter Configuration Wizard, select a stored procedure or function that contains an output parameter of type RowSet. See steps 1 through 8 in Section 9.7.1.1, Using Top-Level Standalone APIs .

2. Click Next. The RowSets page is displayed, as shown in

Figure 9–50 . By default, the Adapter Configuration Wizard generates a weakly typed XSD for this ref cursor shown in the XSD text field. Example 9–4 shows this default, weakly typed XSD. Figure 9–50 RowSets Page Example 9–4 Default Weakly Typed XSD schema targetNamespace=http:xmlns.oracle.compcbpeladapterdbSYSMOVIES_CURSORSMOVIES_ QUERY xmlns=http:www.w3.org2001XMLSchema xmlns:db=http:xmlns.oracle.compcbpeladapterdbSYSMOVIES_CURSORSMOVIES_QUERY elementFormDefault=qualified element name=InputParameters complexType sequence element name=EXAMPLE type=db:SYS.MOVIESOBJ db:index=1 db:type=Struct minOccurs=0 nillable=true sequence complexType element element name=OutputParameters complexType sequence element name=MOVIES type=db:RowSet db:index=2 db:type=RowSet Oracle JCA Adapter for Database 9-107 minOccurs=0 nillable=true sequence complexType element complexType name=RowSet sequence element name=Row minOccurs=0 maxOccurs=unbounded complexType sequence element name=Column maxOccurs=unbounded nillable=true complexType simpleContent extension base=string attribute name=name type=string use=required attribute name=sqltype type=string use=required extension simpleContent complexType element sequence complexType element sequence complexType complexType name=SYS.MOVIESOBJ sequence element name=TITLE db:type=VARCHAR2 minOccurs=0 nillable=true simpleType restriction base=string maxLength value=30 restriction simpleType element element name=DIRECTOR db:type=VARCHAR2 minOccurs=0 nillable=true simpleType restriction base=string maxLength value=30 restriction simpleType element element name=STARRING db:type=VARCHAR2 minOccurs=0 nillable=true simpleType restriction base=string maxLength value=30 restriction simpleType element sequence complexType schema 3. For each of the stored procedure or function arguments: ■ Double-click in the Value column. ■ Enter a valid value for the argument. Enter numbers and strings directly, dates as literals for example, 20091111, and structs as say MYOBJa, b. ■ Press Enter.