on 09-13-2006 12:59 PM
Hi all,
We are having an extrange problem. We are trying to read some info from an oracle Database, but we have always this error :
Error: SQLException during query 'SELECT * FROM XX': java.sql.SQLException: ORA-00942: table or view does not exist: SQLException: ORA-00942: table or view does not exist
And WE have checked it, and the table is there. To understand what is happening we try with another table and it works, we have compare both an has the same features.
Any Ideas?
Hi,
Pls check if your XI transactional user id is having necessary access permissions/authorisations in the DB/Schema to perform any activity.
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Maybe the user id used in the JDBC adapter does not have the credntials to pull data from the table.
Just use the same SQL query from your DB client and check if it works.
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,
This is the format in which your Data polled from the DB wiill be created,
<i><resultset>
<row>
<column-name1>column-value</ column-name1>
<column-name2>column-value</ column-name2>
<column-name3>column-value</ column-name3>
</row>
<row>
<column-name1>column-value</ column-name1>
<column-name2>column-value</ column-name2>
<column-name3>column-value</ column-name3>
</row>
</resultset></i>
Resultset is to be replaced by your DT / Message Type name.
In the Sender JDBC adapter, give the Document Name as the Message Type name and the Document Namespace as the Namespace of your Message Type.
Is this how you have created the source structure?
Regards
Bhavesh
Thanks for the answer, YEs my data type is :
<resultset>
<row>
<column-name1>column-value</ column-name1>
<column-name2>column-value</ column-name2>
<column-name3>column-value</ column-name3>
</row>
the problem is that in the inbound i have an error and finally i manage to open it and the is not column-name1 in the tags.
Thanks in advance
regards
Noelia
No it is not solved, the problem is that the tags are empty
<> value</>
<> value</>
then the XML is not correct, and I have an error in the mappin.
The error in the mapin is the following:
com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Name expected: 0x3e(:main:, row:4, col:4) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException.
From my understanding, XI is not able to map it, because is looking for the name of the XML TAGS.
thanks
regards
Am not very sure either. But the little Understaning I have the JDBC drivers depends on the JDK being used by your XI server. Just check what JDK is used by our XI server.
XI homepage --> Adminstration --> you will find JDK version there.
A DB guru will be able to throw more light on this .
Regards,
Bhavesh
I really don´t know the administrator of my XI server told me that he has installed
ojdbc14.ja
r following the guide https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-964...it is the HOW TO INSTALL DRIVES in JDBC adapters...
Many thanks
Noelia
Not sure, try this link http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
Any way, I am not sure if you can install two different drivers one for Oracle 7. and another for Oracle9.
Regards,
Jai Shankar.
Message was edited by: Jai Shankar
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.