[JDBC-89] If query is called with a bare SQL string instead of a vector, SQLite driver dumps Created: 29/Jan/14 Updated: 01/Jun/16 Resolved: 30/Jan/14
|Reporter:||Sean Corfield||Assignee:||Sean Corfield|
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.
|Comment by Sean Corfield [ 30/Jan/14 12: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.