在View的UITextField中经常需要输入完文字后隐藏软键盘,要实现着一点要让View的Controller实现UITextFieldDelegate代理,然后编写相应的代码。#import @interface TestVeiwController : UIViewController {I...
分类:
移动开发 时间:
2014-06-21 08:25:09
阅读次数:
253
Hibernate的二级缓存策略的一般过程如下: 1) 条件查询的时候,总是发出一条select * from table_name where …. (选择所有字段)这样的SQL语句查询数据库,一次获得所有的数据对象。 2) 把获得的所有数据对象根据ID放入到第二级缓存中。 3) 当Hibe...
分类:
系统相关 时间:
2014-06-21 07:19:44
阅读次数:
295
DECLARE @TAB TABLE( [科室编号] [varchar](50) NULL, [科室编码] [varchar](50) NULL, [科室名称] [varchar](50) NULL, [拼音] [varchar](50) NULL)INSERT INTO @TABSELECT * ...
分类:
数据库 时间:
2014-06-21 06:55:07
阅读次数:
236
首先,p,q>=2,所以p,q=10000时,p 2 #include 3 4 using namespace std; 5 6 bool num[10005]; 7 int m,a,b; 8 int pnum[10000]; int n; 9 void type_table(){10 ...
分类:
其他好文 时间:
2014-06-21 06:52:28
阅读次数:
236
no sh (no shutdown : start the interface)router rspf 1network x.x.x.x x.x.x.x area 0int (interface)show ip route (to see routing table entries)RIPRtr(...
分类:
其他好文 时间:
2014-06-21 00:03:48
阅读次数:
319
刚刚遇到的两个错误,。1,Terminating app due to uncaught exception'NSGenericException', reason: 'Push segues can only be used when the sourcecontroller is managed...
分类:
其他好文 时间:
2014-06-20 23:08:13
阅读次数:
318
YUYV是YUV的一种一个像素占用两个字节,存放顺序为[Y0 U0][Y1 V0][Y2 U1][Y3 V1]..... Y表示亮度,UV是色差信号奇数(在前)和偶数(在后)像素共用色差信号UV 下面是用查表法转换YUYV(YUV422)为RGB32位的代码int y_table[256];//查....
分类:
其他好文 时间:
2014-06-20 22:38:54
阅读次数:
542
Oracle没有自增字段这样的功能,但是通过触发器(trigger)和序列(sequence)可以实现。先建一个测试表了:create table userlogin( id number(6) not null, name varchar2(30) not null primary key)tab...
分类:
数据库 时间:
2014-06-20 18:51:30
阅读次数:
277
Bulk Insert命令具体 BULK INSERT以用户指定的格式复制一个数据文件至数据库表或视图中。 语法:Sql代码 BULKINSERT[['database_name'.]['owner'].]{'table_name'FROM'data_file'} WITH( [BATCHSIZE[...
分类:
其他好文 时间:
2014-06-20 18:50:45
阅读次数:
265