03 2021 档案
摘要:https://segmentfault.com/a/1190000006577082 问题定位:该问题通常出现在动态sql中,使用String与char类型做比较。如: <if test="segment != null and segment != '' and segment == '1'">
阅读全文
摘要:ArrayList<String> list=new ArrayList<String>(); String strings[]=(String [])list.toArray(); 这样写编译没有什么问题,但是运行时会报ClassCastException,这是因为Java中允许向上和向下转型,但
阅读全文
摘要:(select * from table1) 错误,语法不对,()会当作一张表或一个字段(case when)来处理。
阅读全文

浙公网安备 33010602011771号