If query is called with a bare SQL string instead of a vector, SQLite driver dumps

Description

Causes SQLite to dump and probably isn't very pretty on other DBs. java.jdbc should either validate arguments better, or accept a string and package it up itself.

Environment

None

Activity

Show:

Sean Corfield January 30, 2014 at 6:26 AM

is now legal but will remain undocumented. Since optional positional arguments are expected, any attempt to call query with SQL and params not in a vector will throw an IllegalArgumentException anyway. This seems like a reasonable compromise.

Completed

Details

Assignee

Reporter

Priority

Created January 29, 2014 at 6:51 AM
Updated June 1, 2016 at 6:41 PM
Resolved June 1, 2016 at 6:41 PM