新增常量

master
星期八 5 years ago
parent 5e3972670d
commit c3935945e3
  1. 20
      src/main/java/com/lq/code/util/sql/SqlConstant.java

@ -7,10 +7,26 @@ package com.lq.code.util.sql;
*/ */
public class SqlConstant { public class SqlConstant {
/**
* SQL 切割符
*/
public static final String SQL_SYMBOL = "_"; public static final String SQL_SYMBOL = "_";
/**
* 数据库类型常量mysql
*/
public static final String DB_TYPE_MYSQL = "mysql"; public static final String DB_TYPE_MYSQL = "mysql";
/**
* 数据库类型常量oracle
*/
public static final String DB_TYPE_ORACLE = "oracle"; public static final String DB_TYPE_ORACLE = "oracle";
/**
* 常用SQL 关键字:FROM
*/
public static final String FROM_SQL = "FROM ";
/**
* 常用SQL 关键字:order
*/
public static final String ORDER_SQL="ORDER";
} }

Loading…
Cancel
Save