MapSqlParameterSource esParams = new MapSqlParameterSource();
esParams.addValue("elementId", d.getId())
.addValue("pool_poolId", pool.getId())
.addValue("elementType", d.getClass().getName());
eInsert.execute(esParams);
if (this.cascadeType != null) {
if (this.cascadeType.equals(CascadeType.PERSIST)) {
Store<? super Poolable> dao = daoLookup.lookup(d.getClass());
if (dao != null) {