[CONJ-800] implement Statement setEscapeProcessing to avoid escape Created: 2020-06-22  Updated: 2020-06-22  Resolved: 2020-06-22

Status: Closed
Project: MariaDB Connector/J
Component/s: JDBC compatibility
Affects Version/s: None
Fix Version/s: 2.6.1

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to CONJ-785 jdbc insert query throws SQLSyntaxErr... Closed

 Description   

Escaping can be a real source of slowdown for very large query.

JDBC permit a solution with statement.setEscapeProcessing, to indicate to avoid escaping (to be called prior to execution).

This task is to implement this method.

example of use :

try (Statement stmt = connection.createStatement()) {
  statement.setEscapeProcessing(false);
  statement.execute(myVeryLargeQuery);
}


Generated at Thu Feb 08 03:18:24 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.