Hi,

If you only need a java api, the Session API is enough and better than JDBC.

There is an example about Session API: 
https://github.com/apache/incubator-iotdb/blob/master/example/session/src/main/java/org/apache/iotdb/SessionExample.java

I'm not familiar with Camel, but when integrating with rocketmq or kafka, the 
consumer could use Session API to write data into IoTDB.

Thanks,
--
Jialin Qiao
School of Software, Tsinghua University

乔嘉林
清华大学 软件学院

> -----原始邮件-----
> 发件人: "Robinet, Etienne" <43...@etu.he2b.be>
> 发送时间: 2020-03-03 20:55:43 (星期二)
> 收件人: dev@iotdb.apache.org
> 抄送: 
> 主题: Re: Prepared Statements/ Commit
> 
> Hi,
> Can I use this session API in combination with camel?
> 
> Le mar. 3 mars 2020 à 13:54, Jialin Qiao <qj...@mails.tsinghua.edu.cn> a
> écrit :
> 
> > Hi,
> >
> > PreparedStatement is not supported now. Instead, you could use Session
> > API, which also avoids the sql parser.
> >
> > Thanks,
> > --
> > Jialin Qiao
> > School of Software, Tsinghua University
> >
> > 乔嘉林
> > 清华大学 软件学院
> >
> > > -----原始邮件-----
> > > 发件人: "Etienne Robinet" <43...@etu.he2b.be>
> > > 发送时间: 2020-03-03 20:35:56 (星期二)
> > > 收件人: dev@iotdb.apache.org
> > > 抄送:
> > > 主题: Prepared Statements/ Commit
> > >
> > > Hi all,
> > > could it be that IoTDB doesn't support prepared statements? When I try
> > to use the SQL component of Camel, this is the error I get:
> > https://i.imgur.com/HOJgh0H.png
> > >
> > > when I use JDBC component I get an error message "Not support Commit". I
> > am confused now on how to use camel with IoTDB.
> > > Etienne
> >

Reply via email to