Hello everyone, 
I apologize in advance as this is basic stuff, but after a full day of
searching my brain is begging me to write this.

So my goal is very simpleStupid, I'm querying a sql server db and I want to
export that data to either json or csv.
So using jdbc for the query returns an ArrayList<HashMap>. So obvious choice
in my mind would be to try to use Jackson ObjectMapper but when I add 
<dataFormats><json id="jack" library="Jackson" prettyPrint="true"
objectMapper="myMapper" /></dataFormats> 
I got /Attribute 'objectMapper' is not allowed to appear in element 'json'./

Besides, I wouldn't know how to properly use it as I don't know how I could
properly use it.
The examples I have are queries run in JS in a CDATA long string. 

Is there any place where I can find a simple example of some data being
fetched and exported from a sql db? This would be enormous.

Thank you so much!
Romain 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Parsing-exporting-sql-result-tp5796926.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to