类 DB2DialectUtils


  • public class DB2DialectUtils
    extends Object
    版本:
    v1.0,Date:2015年2月28日
    作者:
    zhongxuchen
    • 构造器详细资料

      • DB2DialectUtils

        public DB2DialectUtils()
    • 方法详细资料

      • getSaveOrUpdateSql

        public static String getSaveOrUpdateSql​(IUnifyFieldsHandler unifyFieldsHandler,
                                                Integer dbType,
                                                EntityMeta entityMeta,
                                                PKStrategy pkStrategy,
                                                String[] forceUpdateFields,
                                                String fromTable,
                                                String isNullFunction,
                                                String sequence,
                                                boolean isAssignPK,
                                                String tableName)
        参数:
        unifyFieldsHandler -
        dbType -
        entityMeta -
        pkStrategy -
        forceUpdateFields -
        fromTable -
        isNullFunction -
        sequence -
        isAssignPK -
        tableName -
        返回:
      • getSaveIgnoreExistSql

        public static String getSaveIgnoreExistSql​(Integer dbType,
                                                   EntityMeta entityMeta,
                                                   PKStrategy pkStrategy,
                                                   String fromTable,
                                                   String isNullFunction,
                                                   String sequence,
                                                   boolean isAssignPK,
                                                   String tableName)
        参数:
        dbType -
        entityMeta -
        pkStrategy -
        fromTable -
        isNullFunction -
        sequence -
        isAssignPK -
        tableName -
        返回: