}
@SuppressWarnings("unchecked")
public final List<T> findByExample(T example, boolean exactMatch, int start, int total) {
if (example instanceof Searchable) {
Searchable criteria = (Searchable) example;
String whereClause = CrudUtil.buildJpaQueryString(criteria, exactMatch);
String orderClause = " " + appendOrderToExample(example);
String filterClause = this.buildSecurityFilterClause(example);
String append = appendClauseToExample(example, exactMatch);
whereClause = doSQLAppend(whereClause, append);