on 08-31-2006 4:09 PM
Hi all,
I am getting the following SQL error for the JDBC adapter.
<u><i>TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'CUSTOMER' (structure 'statementname'): java.sql.SQLException: [SQL7008] TEST1 in QGPL not valid for operation.</i></u>
Need help to solve the problem.
Will be rewarded points for sure.
Thanks,
Andy
Andy,
Can you post the message being sent from XI to the Adapter / the response payload.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh,
The following is the XML message payload
<?xml version="1.0" encoding="utf-8" ?>
- <ns1:TESTCUSTOMER xmlns:ns1="http://test.com/xi/JDBC">
- <statementname>
- <CUSTOMER action="insert">
- <access>
<TEST1>100</TEST1>
</access>
</CUSTOMER>
</statementname>
</ns1:TESTCUSTOMER>
Thank you and appreciate your help.
Andy,
Can you confirm the follwoing,
1, CUSTOMER is the name of the TABLE.
2. TEST1 is a column exisiting in your table.
Also, if you have an DB client, try this insert query and see if it works,
insert into CUSTOMER(TEST1) values('100)
Is the insertion succcesful.?
Finally, try chaning TEST1 to test1 and /or CUSTOMER to customer .
Regards,
Bhavesh
HI,
This is not as per the document format expected by JDBC ..
Check this part of help-
http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
Regards,
Moorthy
Andy,
Use this settingto see the SQL coming out of your adapter,refer note : 801367
<i>JDBC Receiver Adapter Parameters
1. Parameter name: "logSQLStatement"
Parameter type: boolean
Parameter value: true for any string value, false only for empty string
Parameter value default: false (empty String)
Available with: SP9
Category: 2
Description:
When implementing a scenario with the JDBC receiver adapter, it may be helpful to see which SQL statement is generated by the JDBC adapter from the XI message content for error analysis. Before SP9, this can only be found in the trace of the JDBC adapter if trace level DEBUG is activated. With SP9, the generated SQL statement will be shown in the details page (audit protocol) of the message monitor for each message directly.
This should be used only during the test phase and not in productive scenarios.</i>
Regards,
Bhavesh
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.