Skip to content

jdbc: NPE when trying to execute update #39

Closed
@ztarvos

Description

@ztarvos

Driver throws null pointer exception when trying to execute update (either DML or DDL).

Statement stmt = conn.createStatement();
int count = stmt.executeUpdate("CREATE TABLE test(id INT PRIMARY KEY, val VARCHAR(20))");

Exception in thread "main" java.lang.NullPointerException at org.tarantool.JDBCBridge.update(JDBCBridge.java:38) at org.tarantool.jdbc.SQLStatement.executeUpdate(SQLStatement.java:35) at TestJdbcUpdate.main(TestJdbcUpdate.java:18)

Probably the constants related to IPROTO in the driver are somewhat obsolete.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingjdbc

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions