Annotation Interface SqlProcessor


@Target(METHOD) @Retention(RUNTIME) public @interface SqlProcessor
Indicates that the annotated method provides custom processing of SQL statements built from SQL templates.

This annotation enables DAO methods to handle SQL execution with custom logic, giving developers more control over how SQL statements are processed.

The annotated method must be a member of a Dao annotated interface.

 @Dao
 public interface EmployeeDao {
     @SqlProcessor
     <R> R process(Integer id, BiFunction<Config, PreparedSql, R> handler);
 }