类 OldMySQLDaoColumnInfo
java.lang.Object
cool.scx.dao.impl.AnnotationConfigColumnInfo
cool.scx.dao.impl.OldMySQLDaoColumnInfo
- 所有已实现的接口:
ColumnInfo
已过时。
BaseDaoColumnInfo
-
构造器概要
构造器 -
方法概要
从类继承的方法 cool.scx.dao.impl.AnnotationConfigColumnInfo
autoIncrement, columnName, defaultValue, javaField, needIndex, notNull, onUpdateValue, primaryKey, type, unique从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cool.scx.sql.mapping.ColumnInfo
javaFieldName, javaFieldValue
-
构造器详细资料
-
OldMySQLDaoColumnInfo
已过时。a- 参数:
javaField- a
-
-
方法详细资料
-
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) ]
-