1 AWT和Swing是sun公司的GUI组件, Swing以AWT为基础,实现了更强大的功能,但速度偏慢。2 SWT和JFace是IBM公司的GUI组件,JFace以SWT为基础,实现了MVC模式。。。 Read More
posted @ 2014-10-17 10:27 junfantasy Views(120) Comments(0) Diggs(0) Edit
更改一下workspace的位置。下面有几种方法可以更改workspace的目录。1、进入 Window > Preferences > General > Startup and Shutdown 选中 Prompt for workspace on startup Read More
posted @ 2014-10-11 17:41 junfantasy Views(187) Comments(0) Diggs(0) Edit
pg_restore 如果之前没有数据库,回复之前需先建立一个空的数据库,详细过程后续再贴;pg_dump-h127.0.0.1-Upostgres-dM2000-p5432-Fc-v-O>F:/M2000.sqlpg_restore -U user -h 192.168.0.250 -p 5432... Read More
posted @ 2014-10-09 14:29 junfantasy Views(174) Comments(0) Diggs(0) Edit
JDK1.5增加了新的特性1 对类集增加了泛型的支持所谓泛型就是在对象建立时不指明属性的具体类型,而由外部在声明和实例化对象时指定类型。2 可变参数在调用一个方法时必须根据方法声明传递指定的参数,但是1.5之后,产生了可变参数---即方法中可以接受的参数不再是固定的,而是根据需要传递的3 forea... Read More
posted @ 2014-09-23 12:00 junfantasy Views(182) Comments(0) Diggs(0) Edit
不走索引的情况还是蛮多的1、条件字段选择性弱,查出的结果集较大,不走索引;2、where条件等号两边字段类型不同,不走索引;3、优化器分析的统计信息陈旧也可能导致不走索引;4、索引字段 is null 不走索引;5、对于count(*)当索引字段有not null约束时走索引,否则不走索引;6、li... Read More
posted @ 2014-09-22 16:18 junfantasy Views(2182) Comments(0) Diggs(0) Edit
先贴地址吧:http://www.cnblogs.com/itech/archive/2012/09/16/2687378.htmlhttp://www.cnblogs.com/acpp/archive/2010/02/09/1666649.html没有ftp命令,所以先装ftp服务器吧,查了下,v... Read More
posted @ 2014-09-03 17:56 junfantasy Views(164) Comments(0) Diggs(0) Edit
目前没发现什么问题,原谅我只是一个只看结果的家伙……验证格式为yyyyMMdd格式的。http://www.cnblogs.com/oliver_zh/archive/2009/08/18/1548713.htmlvar p = /^(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9... Read More
posted @ 2014-08-28 09:41 junfantasy Views(1366) Comments(0) Diggs(0) Edit
默认是public,如果要切换: set search_path to '_schema,public';这样之后的查询就方便了,不用麻烦的拼schema.table .但是遇到的问题是:要查询 表的index,查出来的表的索引定义是不带schema的,坑....也就是在当前schema的表名都不带... Read More
posted @ 2014-08-26 17:02 junfantasy Views(6591) Comments(0) Diggs(0) Edit
之前新建了张表,如下: 1 CREATE TABLE hl_14.cells 2 ( 3 cid integer NOT NULL DEFAULT nextval('cells_cid_seq'::regclass), 4 datetime timestamp without time zo... Read More
posted @ 2014-08-26 16:55 junfantasy Views(739) Comments(0) Diggs(0) Edit
口令文件:如果在客户端命令执行时没有提供该文件,PostgreSQL的所有客户端命令均会被口令输入提示中断。 在当前用户的HOME目录下,创建文件名为 .pgpass的口令文件,这样就可以在我们连接PostgreSQL服务器时,客户端命令自动读取该文件已获得登录时所需要的口令信息。该文件的格式如下... Read More
posted @ 2014-07-29 17:05 junfantasy Views(901) Comments(0) Diggs(0) Edit