摘要:
Mybatis中出现java.sql.SQLException: 无效的列类型: 1111 解决方法: 检查where 占位符是否被传递了 NULL; 明确字段类型#{str,jdbcType=VARCHAR}(字符类型),#{num,jdbcType=NUMERIC}或#{num,jdbcType 阅读全文
posted @ 2022-06-09 16:59
iRyz
阅读(3691)
评论(0)
推荐(0)
摘要:
/** * 判断str1是否包含str2. * @param str1 数组型字符串,以逗号分割 * @param str2 * @return 如果str1包含str2,则返回1,否则返回-1 * @Author: xDer */ create or replace function exinst 阅读全文
posted @ 2022-06-09 16:31
iRyz
阅读(68)
评论(0)
推荐(0)
摘要:
1.日期和转换函数的用法(to_date,to_char) 从 dual 中选择 to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') 作为 nowTime;// 日期返回为字符串 select to_char(sysdate,'yyyy') as nowYear fro 阅读全文
posted @ 2022-06-09 16:29
iRyz
阅读(7706)
评论(0)
推荐(0)