@@ -0,0 +1,2750 @@
+/*%0A * Copyright 2013, Mysema Ltd%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A * http://www.apache.org/licenses/LICENSE-2.0%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.mysema.query.sql;%0A%0Aimport java.util.List;%0A%0Aimport com.mysema.commons.lang.Pair;%0Aimport com.mysema.query.QueryMetadata;%0Aimport com.mysema.query.sql.dml.SQLInsertBatch;%0Aimport com.mysema.query.sql.dml.SQLMergeBatch;%0Aimport com.mysema.query.sql.dml.SQLUpdateBatch;%0Aimport com.mysema.query.types.Expression;%0Aimport com.mysema.query.types.Path;%0Aimport com.mysema.query.types.SubQueryExpression;%0A%0A/**%0A * @author tiwe%0A *%0A */%0Ainterface SQLListener %7B%0A%0A    /**%0A     * @param md%0A     */%0A    void notifyQuery(QueryMetadata md);%0A%0A    /**%0A     * @param md%0A     * @param entity%0A     */%0A    void notifyDelete(QueryMetadata md, RelationalPath%3C?%3E entity);%0A%0A    /**%0A     * @param md%0A     * @param entity%0A     * @param batches%0A     */%0A    void notifyDeletes(QueryMetadata md, RelationalPath%3C?%3E entity,%0A            List%3CQueryMetadata%3E batches);%0A%0A    /**%0A     * @param md%0A     * @param entity%0A     * @param keys%0A     * @param columns%0A     * @param values%0A     * @param subQuery%0A     */%0A    void notifyMerge(QueryMetadata md, RelationalPath%3C?%3E entity, List%3CPath%3C?%3E%3E keys,%0A            List%3CPath%3C?%3E%3E columns, List%3CExpression%3C?%3E%3E values, SubQueryExpression%3C?%3E subQuery);%0A%0A    /**%0A     * @param md%0A     * @param entity%0A     * @param batches%0A     */%0A    void notifyMerges(QueryMetadata md, RelationalPath%3C?%3E entity, List%3CSQLMergeBatch%3E batches);%0A%0A    /**%0A     * @param md%0A     * @param entity%0A     * @param columns%0A     * @param values%0A     * @param subQuery%0A     */%0A    void notifyInsert(QueryMetadata md, RelationalPath%3C?%3E entity, List%3CPath%3C?%3E%3E columns,%0A            List%3CExpression%3C?%3E%3E values, SubQueryExpression%3C?%3E subQuery);%0A%0A    /**%0A     * @param md%0A     * @param entity%0A     * @param batches%0A     */%0A    void notifyInserts(QueryMetadata md, RelationalPath%3C?%3E entity, List%3CSQLInsertBatch%3E batches);%0A%0A    /**%0A     * @param md%0A     * @param entity%0A     * @param updates%0A     */%0A    void notifyUpdate(QueryMetadata md, RelationalPath%3C?%3E entity,%0A            List%3CPair%3CPath%3C?%3E, Expression%3C?%3E%3E%3E updates);%0A%0A    /**%0A     * @param md%0A     * @param entity%0A     * @param batches%0A     */%0A    void notifyUpdates(QueryMetadata md, RelationalPath%3C?%3E entity, List%3CSQLUpdateBatch%3E batches);%0A%0A%7D

Add SQLListener interface #483