aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db/src/main/java/org/sonar/db/dialect/Dialect.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-db/src/main/java/org/sonar/db/dialect/Dialect.java')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/dialect/Dialect.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/dialect/Dialect.java b/sonar-db/src/main/java/org/sonar/db/dialect/Dialect.java
index 3d0a0f6e730..a6fba169d91 100644
--- a/sonar-db/src/main/java/org/sonar/db/dialect/Dialect.java
+++ b/sonar-db/src/main/java/org/sonar/db/dialect/Dialect.java
@@ -89,4 +89,10 @@ public interface Dialect {
* @return a boolean
*/
boolean supportsMigration();
+
+ /**
+ * Returns an escaped value in parameter, with the desired wildcards.
+ * Suitable to be used in a like sql query
+ */
+ String buildLikeValue(String value, WildcardPosition wildcardPosition);
}