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

com.gitee.qdbp.jdbc.plugins.JdbcNamingConverter Maven / Gradle / Ivy

package com.gitee.qdbp.jdbc.plugins;

/**
 * 命名转换处理接口
* 每个项目的处理方式不一样, 抽象成接口由各项目提供实现类 * * @author zhaohuihua * @version 190601 */ public interface JdbcNamingConverter { /** BeanName转换为表名 **/ String beanNameToTableName(String beanName); /** 表名转换为BeanName **/ String tableNameToBeanName(String tableName); /** 字段名转换为列名 **/ String fieldNameToColumnName(String fieldName); /** 列名转换为字段名 **/ String columnNameToFieldName(String columnName); /** * 命名转换类设置接口 * * @author zhaohuihua * @version 190727 */ interface Aware { /** 设置命名转换类 **/ void setNamingConverter(JdbcNamingConverter namingConverter); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy