@Test @Features("issues/292") public void testNormalizeTwoInStatements() { assertEquals( "select orders0_.customer_id as customer4_1_, orders0_.id as id1_, orders0_.id as id1_0_, orders0_.customer_id as customer4_1_0_, orders0_.description as descript2_1_0_, orders0_.orderId as orderId1_0_ from ORDERS orders0_ where orders0_.customer_id in (?) or orders0_.customer_id in (?)", normalizeInStatement("select orders0_.customer_id as customer4_1_, orders0_.id as id1_, orders0_.id as id1_0_, orders0_.customer_id as customer4_1_0_, orders0_.description as descript2_1_0_, orders0_.orderId as orderId1_0_ from ORDERS orders0_ where orders0_.customer_id in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) or orders0_.customer_id in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)") ); }
public static String normalizeInStatement(String sql) { return null == sql ? null : NORMALIZE_IN_STATEMENT_PATTERN.matcher(sql).replaceAll(" in (?)").intern(); }
SqlUtil { public static String normalizeInStatement(String sql) { return null == sql ? null : NORMALIZE_IN_STATEMENT_PATTERN.matcher(sql).replaceAll(" in (?)").intern(); } }
SqlUtil { public static String normalizeInStatement(String sql) { return null == sql ? null : NORMALIZE_IN_STATEMENT_PATTERN.matcher(sql).replaceAll(" in (?)").intern(); }  }
SqlUtil { public static String normalizeInStatement(String sql) { return null == sql ? null : NORMALIZE_IN_STATEMENT_PATTERN.matcher(sql).replaceAll(" in (?)").intern(); }  static String normalizeInStatement(String sql); static SqlStatement guessQueryType(String sql); }
SqlUtil { public static String normalizeInStatement(String sql) { return null == sql ? null : NORMALIZE_IN_STATEMENT_PATTERN.matcher(sql).replaceAll(" in (?)").intern(); }  static String normalizeInStatement(String sql); static SqlStatement guessQueryType(String sql); static final Pattern NORMALIZE_IN_STATEMENT_PATTERN; }