码迷,mamicode.com
首页 >  
搜索关键字:where    ( 20257个结果
mybatis异常 :元素内容必须由格式正确的字符数据或标记组成。
今天同事写一个查询接口的时候,出错:元素内容必须由格式正确的字符数据或标记组成。 错误原因:mybatis查询的时候,需要用到运算符 小于号:,在mybatis配置文件里面,这种会被认为是标签,所以解析错误 错误事例: select from t_time_interval where status <> 99 and time_intvl_id >=29 a...
分类:其他好文   时间:2015-08-27 13:33:44    阅读次数:192
MyBatis之java.lang.UnsupportedOperationException异常解决方案
今天在使用MyBatis执行sql语句时,出现如下异常: 执行的sql语句配置信息如下: java.util.List"> select t.column_name from user_tab_columns t where t.tableName=#{tableName,jdbcType=VARCHAR} 对应的dao接口代码为: public Lis...
分类:编程语言   时间:2015-08-27 13:26:29    阅读次数:234
mysql update时报错You are using safe update mode
在使用mysql执行update的时候,如果不是用主键当where语句,会报如下错误,使用主键用于where语句中正常。update test.t_bids set product_id=1+floor(rand()*7) Error Code: 1175. You are using safe u...
分类:数据库   时间:2015-08-27 12:56:37    阅读次数:271
[LeetCode#84]Largest Rectangle in Histogram
Problem:Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in th...
分类:其他好文   时间:2015-08-27 07:06:13    阅读次数:203
zoj 3885 The Exchange of Items 【最小费用最大流】
The Exchange of Items Time Limit: 2 Seconds      Memory Limit: 65536 KB Bob lives in an ancient village, where transactions are done by one item exchange with another. Bob is very clever and he...
分类:其他好文   时间:2015-08-27 02:16:40    阅读次数:225
VGA Output from STM32F4 Discovery board
VGA Output from STM32F4 Discovery boardI love the web!There are so many cool projects out there, and some, with a tweak or two,get me where I want to ...
分类:其他好文   时间:2015-08-26 21:51:02    阅读次数:259
See You Again
It's been a long day without you my friend  没有老友你的陪伴 日子真是漫长  And I'll tell you all about it when I see you again  与你重逢之时 我会敞开心扉倾诉所有  We've come a long way from where we began  回头凝望 我们携手走过漫长的旅程  Oh I'll...
分类:其他好文   时间:2015-08-26 20:07:45    阅读次数:233
分类下热卖
function get_category_recommend_goods($type = '', $cats = '', $brand = 0, $min =0, $max = 0, $ext=''){ $brand_where = ($brand > 0) ? " AND g.brand...
分类:其他好文   时间:2015-08-26 17:16:47    阅读次数:139
Linux下配置mysql允许远程访问
1.进入mysql 进入mysql的bin目录,输入mysql -u root -p回车,输入密码进入mysql 2.使用mysql库 use mysql 3.查看用户表 select host,user from user 4.更新用户表 update user set host=‘%‘ where user=‘root‘ l...
分类:数据库   时间:2015-08-26 16:00:55    阅读次数:205
leetcode——Container With Most Water
Given?n?non-negative integers?a1,?a2, ...,?an, where each represents a point at coordinate (i,?ai).?n?vertical lines are drawn such that the two endpoints of line?i?is at (i,?ai) and (i,...
分类:其他好文   时间:2015-08-26 15:56:37    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!