public T findByName(String name) {
final String query = String.format("select * from %s where name like '%%s'",
tableName,
name);
List<T> result = executeSelectQuery(query);
if (!result.isEmpty())
return result.get(0);
return null;
}