
MyBatis
野生程序猿_天空蓝色
半路出家做软件,野生程序猿!
展开
-
MyBatis插入中文到MySQL数据库,对应字段乱码
请在url中增加&characterEncoding=utf8参考:mybatis连接mysql数据库插入中文乱码mybatis插入中文变成?原创 2018-04-16 11:04:42 · 639 阅读 · 0 评论 -
MySQL循环
delimiter $$ drop procedure if exists func; create procedure func() begin declare i int; set i = 1; while i<10 do insert into user (user_name)values(i); set i = i +1; end while; end $$ delimiter ...原创 2018-10-30 22:49:06 · 610 阅读 · 0 评论 -
MyBatis查看MySQL执行SQ
在下面的源代码查看sql语句。 /** * Copyright 2009-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...原创 2019-05-04 11:02:39 · 371 阅读 · 0 评论