Using orientdb JDBC drive to excutequery not return resultset

14 views
Skip to first unread message

jaya raj

unread,
Nov 22, 2016, 6:10:08 AM11/22/16
to OrientDB
Hi,

I am using orientdb 2.0.18 jdbc driver trying to insert record in vertex but not return inserted record.

                        Statement stmt = conn.createStatement();
String sql = "insert into package_master set name='test'";
ResultSet rs = stmt.executeQuery(sql);
    it return null;

i don't know what i am missing.






alessand...@gmail.com

unread,
Nov 22, 2016, 9:26:23 AM11/22/16
to OrientDB
Hi,
I have tried your code with orientdb 2.0.18 jdbc and I get null, but with orient version 2.2.9 ( orientdb 2.0.19 jdbc) the ResulSet isn't null.

Best regards,
Alessandro
Reply all
Reply to author
Forward
0 new messages