package org.dynamicfinder.jpa.handler;

/**
 * @author xsalefter (xsalefter[at]gmail.com)
 */
public class LikeRestrictionHandler extends LikeComparatorRestrictionHandler {

	private static final String PREFIX = "'%',";
	private static final String POSTFIX = ", '%'";

	public LikeRestrictionHandler() {
		super(PREFIX, POSTFIX);
	}

}

package org.dynamicfinder.jpa.handler;

/**
 * @author xsalefter (xsalefter[at]gmail.com)
 */
public class LikeRestrictionHandler extends LikeComparatorRestrictionHandler {

	private static final String PREFIX = "'%',";
	private static final String POSTFIX = ",'%'";

	public LikeRestrictionHandler() {
		super(PREFIX, POSTFIX);
	}

}

--- 
+++ 
@@ -6,7 +6,7 @@
 public class LikeRestrictionHandler extends LikeComparatorRestrictionHandler {
 
 	private static final String PREFIX = "'%',";
-	private static final String POSTFIX = ",'%'";
+	private static final String POSTFIX = ", '%'";
 
 	public LikeRestrictionHandler() {
 		super(PREFIX, POSTFIX);
Reformat string for generating jpql
