All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cory.dao.SqlDao Maven / Gradle / Ivy

There is a newer version: 0.0.35
Show newest version
package com.cory.dao;

import com.cory.db.annotations.Dao;
import com.cory.db.annotations.Sql;
import com.cory.db.enums.CustomSqlType;
import com.cory.model.SqlModel;

import java.util.List;
import java.util.Map;

/**
 * generated by CodeGenerator on 2017/5/10.
 */
@Dao(model = SqlModel.class)
public interface SqlDao extends BaseDao {

    @Sql(type = CustomSqlType.DDL)
    void customDDLSql(String sql);

    @Sql(type = CustomSqlType.EXECUTE)
    int customExecuteSql(String sql);

    @Sql(type = CustomSqlType.QUERY)
    List> customQuerySql(String sql);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy