|
|
@ -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"; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|