You are not logged in.
I have a problem extracting some data from a distant oracle 9i database, actually the metadata configuration is good but when it comes to schema it's all messed up, I've chosen repository option in both schema and query type but it still doesn't work even if I used "retrieve schema", and after executing the job (oracleinput ---> tmap -----> excel ) it shows this error :
Exception in component tOracleInput_1
java.sql.SQLException: ORA-00911: invalid character
in the first image : I try to connect to the oracle9i database, which it works successfuly.
in the second image : I execute my query so I can extract the data I want.
in the third image : I retrieve the schema from the database and choose only one which is SYSADM (because the table is so full of many columns that talend crushes each time after retrieving them all) .
in the fourth image: I go back to edit schema and add 2 columns ( those I want to extract).
in the fifth image : shown all the configuration used to extract.
and after executing the job it generates the error already mentioned.
any help please! I'd bo so grateful.
image 1 : http://www.freeimagehosting.net/p99m3
image 2 : http://www.freeimagehosting.net/mpbf8
image 3 : http://www.freeimagehosting.net/2sz3m
image 4 : http://www.freeimagehosting.net/ekiba
image 5 : http://www.freeimagehosting.net/a9kx9
Last edited by fantom (2012-05-14 14:19:46)
I'm not sure, but I think the query of tOracleInput may be not correct.
"select \"CASE_ID\".\"BUSINESS_UNIT\" from sysadm.PS_RC_CASE where \"CASE_ID\"='220416.0' "
There is an extra semicolon in your query.
indeed,you're right, the query worked and was able to extract data from the table in the DB .but still I don't understand the fact that this very query works with or without the semicolon in the talend sql builder whereas it doesn't when it comes to attach it (when talend adds the double quotes ).
I'm so grateful, thanks for your time and your help.
The query in DB components, in fact, is stored into a String variable which will be execute by executeQuery() method later on. It is decided by JAVA JDBC. So just don't type semicolon in the end of 'Query' textfield...