security - Limiting number of statements in a SQL query in JDBC -


is possible @ jdbc?

to emphasise more, consider following query common in sql injection:

statement.execute("select * x; drop table y;"); 

is there workaround execute first statement here? possible in of nosql databases.


Comments

Popular posts from this blog

c++ - Linked List error when inserting for the last time -

java - activate/deactivate sonar maven plugin by profile? -

tsql - Pivot with Temp Table (definition for column must include data type) -- SQL Server 2008 -