camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Karlsen <davidkarl...@gmail.com>
Subject Re: Insert into CLOB Column in Oracle using JDBC Component
Date Sat, 06 Aug 2011 14:01:20 GMT
What type is the column declared as? AFAIK it should be text.
Den 4. aug. 2011 20:38 skrev "garyssidhu" <garyssidhu@yahoo.com> følgende:
> Hi , I am newbie to Camel's JDBC Component. I need to insert data into
clob
> column of Oracle 11g Table using Camel's JDBC Component.
>
> My route looks like this
>
> from("direct:requestwriter")
> .to("bean:requestWriterBean")
> .to("jdbc:myDataSourceInWLS10Jndi");
>
> In RequestWriterBean, I am creating insert statement
>
> insert into testCLOBTable values ("1",largexml).
>
> At this point giving an Oracle error that string is large. largexml size
is
>> 4K.
>
> I have tried seaching for an example of using CLOB in JDBC Component but I
> could not find.
>
> I need help urgently!!!!!!!!!!
>
>
> --
> View this message in context:
http://camel.465427.n5.nabble.com/Insert-into-CLOB-Column-in-Oracle-using-JDBC-Component-tp4667458p4667458.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message