类 OldBaseDaoColumnInfo
java.lang.Object
cool.scx.dao._old.OldBaseDaoColumnInfo
- 所有已实现的接口:
ColumnInfo
- 直接已知子类:
AnnotationConfigColumnInfo
BaseDaoColumnInfo
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cool.scx.sql.ColumnInfo
autoIncrement, columnName, defaultValue, javaField, javaFieldName, javaFieldValue, needIndex, notNull, onUpdateValue, primaryKey, type, unique
-
字段详细资料
-
updateSetSQL
-
selectSQL
-
-
构造器详细资料
-
OldBaseDaoColumnInfo
public OldBaseDaoColumnInfo()
-
-
方法详细资料
-
updateSetSQL
更新时的 sql 片段 强烈建议提前生成好!!! 以提高性能
举例 :
片段 : [ user_name = :userName ]
SQL : [ update user set user_name = :userName where id = 1 ] -
selectSQL
查询时(select) 的 sql 片段 强烈建议提前生成好 !!! 以提高性能
举例 :
片段 : [ user_name as userName ] ,
如 查询列名和 java 字段名相同则直接返回列名 , 如 : [ password as password ] 简化为 [ password ]
SQL : [ select user_name as userName from user where id = 1 ]- 返回:
- a
Stringobject
-
insertValuesSQL
插入时 的 sql 片段 强烈建议提前生成好!!! 以提高性能
举例 :
片段 : [ :userName ]
SQL : [ insert into (user_name) values(:userName) ]
-