今天我们来说一下关于JDBC的相关知识,关于JDBC我想大家都不陌生了,而且我记得早就开始使用它了,记得那是大二的时候做课程设计,但是那时候是为了完成任务,所以遇到问题就google,那时候也没有时间去整理,所以这次就来详细说一下关于JDBC的知识
摘要:
JDBC(Java Data Base Connectivity,java数据库连接),由一些接口和类构成的API。
J2SE的一部分,...
分类:
数据库 时间:
2014-05-23 07:57:33
阅读次数:
668
以Oracle为例吧
Statement为一条Sql语句生成执行计划,
如果要执行两条sql语句
select colume from table where colume=1;
select colume from table where colume=2;
会生成两个执行计划
一千个查询就生成一千个执行计划!
PreparedStatement用于使用绑定变量重用执行计划
...
分类:
数据库 时间:
2014-05-22 13:44:55
阅读次数:
380
zTree实现删除树节点
1、实现源码
zTree实现基本树
<!--
var setting = {
data: {
simpleData: {
enable: true
}
}
};
var zNodes =[
{ id:1, pId:0, name:"湖北省", open:true},...
分类:
其他好文 时间:
2014-05-22 12:40:44
阅读次数:
288
zTree实现多选树
1、实现源码
多选树
<!--
var setting = {
check: {
enable: true,
chkStyle: "checkbox",
chkboxType: { "Y": "s", "N": "ps" }
},
data: {
simpleData:...
分类:
其他好文 时间:
2014-05-22 12:05:34
阅读次数:
245
【题目】
原文:
2.1 Write code to remove duplicates from an unsorted linked list.
FOLLOW UP
How would you solve this problem if a temporary buffer is not allowed?
译文:
从一个未排序的链表中移除重复的项
...
分类:
其他好文 时间:
2014-05-22 12:04:13
阅读次数:
196
如何使用oracle 的DBMS_SQLTUNE package 来运行 Sql Tuning Advisor 进行sql 自动调优
1》。这里简单举个例子来说明DBMS_SQLTUNE 的使用
首先现执行下某个想要调优的sql,然后获取sqlid
SQL> select * from v$sqltext where sql_text like 'select * from dua...
分类:
数据库 时间:
2014-05-22 10:47:51
阅读次数:
328
1.在工程下新建 jni/libs 文件夹 , jni 是和原来的libs 同级 ,将所有的.so文件放入 新建的libs文件下
2.在build.gradle 文件中新增以下内容到android{ } 下
task copyNativeLibs(type: Copy) {
from(new File(project(':HealthCare'...
分类:
移动开发 时间:
2014-05-22 08:50:52
阅读次数:
381
#include
#include
using namespace std;
struct node
{
int shi;
int xu;
int data;
};
int main()
{
int shinum=0;
int xunum=0;
int n;
cin>>n;
node*num=ne...
分类:
其他好文 时间:
2014-05-20 15:28:05
阅读次数:
256
zTree实现基本树
1、实现源码
zTree实现基本树
<!--
var setting = {
data: {
simpleData: {
enable: true
}
}
};
var zNodes =[
{ id:1, pId:0, name:"湖北省", open:true},...
分类:
其他好文 时间:
2014-05-20 14:48:51
阅读次数:
230
最近看了看extjs,以前对这方面没有学习,只所以没有学习,听到别人说这个框架比较占用内存,最近用了几天时间在研究这,感觉不错。如果要是做简单的,建设用easyUi
var st1 = new Ext.data.Store({
fields: ["name", "id"],
data: [
...
分类:
Web程序 时间:
2014-05-20 14:23:07
阅读次数:
356