码迷,mamicode.com
首页 >  
搜索关键字:parameter    ( 3417个结果
SQL映射文件
1. 参数中直接加入%% 1 2 3 4 5 6 7 8 9 param.setUsername("%CD%"); param.setPassword("%11%"); <select id="selectPersons" resultType="person" parameterType="per ...
分类:数据库   时间:2019-10-08 16:06:22    阅读次数:126
K-th Number
题意: Alice are given an array A[1..N] with N numbers.Now Alice want to build an array B by a parameter K as following rules:Initially, the array B is e ...
分类:其他好文   时间:2019-10-07 21:34:20    阅读次数:103
c#中的异步
1.委托的BeginEnvoke/EndInvoke BeginEnvoke\EndInvoke是委托的异步版本。 BeginInvoke使得CLR创建了一个新的线程去执行Add方法。此时主线程不受影响可以继续做其他事情。直到遇到EndInvoke,需要等待异步调用结果才被阻塞。如果主线程不依赖这个 ...
分类:Windows程序   时间:2019-10-07 17:27:01    阅读次数:129
MyBatis 返回insert操作主键
    应用场景 在向数据库插入数据时,需要保留插入数据的id,以便进行后续的update操作或者将id存入其他表作为外键。但是,在默认情况下,insert操作返回的是一个int值,它并非表示主键id,而是表示当前SQL语句影响的行数。    接下来,我们依次 ...
分类:其他好文   时间:2019-10-07 12:55:29    阅读次数:66
Analysis of sort() in STL
"1. Introduction" "2. Preparations" "2.1. Inline functions" "2.2. Templates" "2.3. RandomAccessIterator" "3. Explore sort() in STL" "3.1. Introduction ...
分类:其他好文   时间:2019-10-06 20:27:44    阅读次数:75
python编码规范
1.命名 module_name, package_name, ClassName, method_name, ExceptionName, function_name, GLOBAL_VAR_NAME, instance_var_name, function_parameter_name, loc ...
分类:编程语言   时间:2019-10-06 13:17:35    阅读次数:70
S2-052 漏洞复现
Structs2框架已知的漏洞编号如下: S2-005 S2-009 S2-016 (含S2-013) S2-019 S2-020 S2-021 S2-032 S2-037(含S2-033) DevMode S2-045 S2-046 S2-048 S2-052 S2-055 S2-057 S2-0 ...
分类:其他好文   时间:2019-10-06 11:39:14    阅读次数:65
springboot整合mybatis
新增maven依赖 在application.properties配置文件中配置xml的位置 即将xml文件放在resource目录下的mapper文件夹中。 Mapper 对应的xml ...
分类:编程语言   时间:2019-10-06 00:52:57    阅读次数:92
axios五种提交方法
<template> <div class="home"> </div> </template> <script> // @ is an alias to /src /* get,post,put,patch,delete get:获取数据 post:新建,提交数据(表单提交,文件上传) put:更... ...
分类:移动开发   时间:2019-10-05 20:41:48    阅读次数:680
java.sql.SQLException: Cannot create com._51doit.pojo.User: com._51doit.pojo.User Query: select * from user where username = ? and password = ? Parameters: [AA, 123]
在从数据库中查询数据,并存入javabean中去时,报这个错误 原因:在建立User类去存储信息时没有创建无参构造方法,创建一个无参构造方法即可 ...
分类:数据库   时间:2019-10-05 16:25:56    阅读次数:118
3417条   上一页 1 ... 53 54 55 56 57 ... 342 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!