1、使用原始dao开发需要编写mapper的接口和实现类 1、编写接口 2、编写实现类 3、编写测试类 2、在编写代码的过程中逐渐发现所有实现类的方方法体内的代码都是相似的,唯独不同的是调用SQLSession的方法不同。所以推荐使用mybatis的动态代理的方式来开发 3、mybatis动态代理开 ...
分类:
其他好文 时间:
2019-05-31 23:24:15
阅读次数:
140
mybatis的@Options注解能够设置缓存时间,能够为对象生成自增的key 第一个使用场景: 有一个表 其中的instance_id是自增的主键。我希望通过dao层的接口插入的数据能够返回主键的id: 接口代码如下: @Options注解中默认设置的主键对应的字段名为id、在我们的表中,主键名 ...
分类:
其他好文 时间:
2019-05-31 19:45:19
阅读次数:
103
springboot访问mysql方式三:springboot+mybaitspom文件引入依赖<!--mybatis--><dependency><groupId>org.mybatis.spring.boot</groupId><artifactId>mybatis-spring-boot-starter</artifactId
分类:
数据库 时间:
2019-05-31 18:08:59
阅读次数:
119
一、网络拓扑 二、配置步骤 以R1为例: R1#conf t R1(config)#interface s1/0 R1(config-if)#ip address 172.10.159.2 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#e ...
分类:
其他好文 时间:
2019-05-29 20:55:19
阅读次数:
194
Device interface IP mask R1 F 0/0 10.20.1.1 /24 F 0/1 14.20.1.1 /24 R2 F 0/0 10.20.1.2 /24 R3 F 0/0 10.20.1.3 /24 R4 F 0/1 14.20.1.4 /24 (1)配置默认不需要认证就 ...
分类:
其他好文 时间:
2019-05-29 20:53:22
阅读次数:
123
拓扑图 IP地址规划 设备名 端口 IP地址 子网掩码 网关 R1 S0/1/0 10.29.3.2 24 F0/0 10.29.1.1 24 R2 S0/1/0 10.29.3.1 24 S0/1/1 10.29.4.1 24 R3 S0/1/0 10.29.4.2 24 F0/0 10.29.2 ...
分类:
其他好文 时间:
2019-05-29 15:06:32
阅读次数:
102
RPC is an IPC mechanism that specifies that the processes interact via procedure call interface. Birrell, Andrew, and Bruce Nelson. https://s3.amazona ...
分类:
其他好文 时间:
2019-05-29 14:50:09
阅读次数:
183
1 建立C#类库项目 2 引用EBOS组建Kingdee.K3.BOS.PlugInModel 3 示例代码 4 DLL文件部署路径//K3ERP/KDHR/SITEFILE/WEBUI/BIN 5 插件中输入命名空间名+类名 6 可设置程序属性中的生成目录为//K3ERP/KDHR/SITEFIL ...
https://www.cnblogs.com/gaodu2003/archive/2009/06/18/1505720.html unit Unit1; interface ……type TForm1 = class(TForm) Chart1: TChart; Series1: TPieSeri ...
分类:
其他好文 时间:
2019-05-28 10:53:45
阅读次数:
118