JDBC连接数据库 1、加载JDBC驱动程序。 Class.forName("com.mysql.jdbc.Driver"); Connection conn = DriverManager.getConnection(url, user, password); 注意:通过DriverManager ...
分类:
数据库 时间:
2016-12-14 18:42:26
阅读次数:
191
一、htop 简介 This is htop, an interactive process viewer for Linux. It is a text-mode application (for console or X terminals) and requires ncurses. Comp ...
分类:
系统相关 时间:
2016-12-12 19:43:28
阅读次数:
373
1.glance 功能 对外提供image的管理功能 2.glance架构 api : REST API,提供对外调用接口 registry: 数据库管理逻辑处理 backen:image的实际存放位置 3.config: /etc/glance/ 4.log:/var/log/glance 5.数 ...
分类:
其他好文 时间:
2016-12-11 10:21:50
阅读次数:
170
虚拟机及云计算模型介绍OpenStackOverviewOpenStack演示架构、Keystone基础及部署Glance基础原理及部署应用
分类:
其他好文 时间:
2016-12-10 07:19:24
阅读次数:
167
div 加滚动条的方法:<div style="position:absolute; height:400px; overflow:auto"></div>div 设置滚动条显示:overflow :yesdiv 设置滚动条自适应显示:overflow :autodiv 设置上下滚动条显示:over ...
分类:
其他好文 时间:
2016-12-09 16:14:07
阅读次数:
135
Which left me with nothing to do but try to not look at him…unsuccessfully. 我没什么事情可以做但是我尝试不去看他,但是失败了。 I glanced up, and he was staring at me, that sam ...
分类:
其他好文 时间:
2016-12-09 08:01:27
阅读次数:
139
package com.cn.jdbc; import java.sql.Connection;import java.sql.DriverManager;import java.sql.PreparedStatement;import java.sql.ResultSet;import java. ...
分类:
数据库 时间:
2016-12-06 20:43:09
阅读次数:
209
###**Statement安全漏洞(sql注入问题)****产生原因:**因为SQL语句拼接,传入了SQL语句的关键字,绕过了安全检查.客户端利用JDBC-【Statement】的缺点,传入非法的参数,从而让JDBC返回不合法的值,我们将这种情况下,统称为SQL注入。**解决方案:**使用Prep ...
分类:
数据库 时间:
2016-12-02 13:42:27
阅读次数:
255
3.Mybatis框架原理 3.1 功能架构设计 功能架构讲解: 我们把Mybatis的功能架构分为三层: (1)API接口层:提供给外部使用的接口API,开发人员通过这些本地API来操纵数据库。接口层一接收到调用请求就会调用数据处理层来完成具体的数据处理。 (2)数据处理层:负责具体的SQL查找、 ...
分类:
其他好文 时间:
2016-12-01 14:43:22
阅读次数:
346
OpenStack镜像服务Glance[三]OpenStack镜像服务Glance[三]openstack时间:2016年11月28日OpenStack镜像服务Glance介绍创建虚拟机我们需要有glance的支持,因为glance是提供镜像服务glance有两个比较重要的服务Glance-api接受云系统镜像的构建、删除、读取请求Glance-Registry云..
分类:
其他好文 时间:
2016-11-29 00:17:27
阅读次数:
285