private RepositoryHelper repositoryHelper;
protected BaseTreeableService() {
Class<M> entityClass = ReflectUtils.findParameterizedType(getClass(), 0);
repositoryHelper = new RepositoryHelper(entityClass);
String entityName = repositoryHelper.getEntityName(entityClass);
DELETE_CHILDREN_QL = String.format("delete from %s where id=?1 or parentIds like concat(?2, %s)", entityName, "'%'");