上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: 1. jre的运行时主要jar文件rt.jar都很大,这导致了用java做的桌面客户端程序很难发布绑定jre发布。这在很大程度上限制了java桌面软件 的分发。可是,jre并不是在所有的用户计算机上都有安装,即使安装了,也未必我们期望的版本。因此,对jre做精简,减少体积是有必要的。请你给出一个 方... 阅读全文
posted @ 2014-08-25 17:35 princessd8251 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 1. ZipEntry 是包括目录的,也就是目录也被当做是一个单独的Entry,在列出它下面的文件之前先列出这个directory entry. 这个在解压ZIP文件的的时候特别有用,我们要先创建这个目录,然后在解压目录下面的文件,否则解压的时候会说目录不存在.ZipInputStream zi... 阅读全文
posted @ 2014-08-19 20:11 princessd8251 阅读(735) 评论(0) 推荐(0) 编辑
摘要: -verbose:gc -XX:+printGC 可以打印GC的简要信息[GC 4790K->374K(15872K), 0.0001606 secs][GC 4790K->374K(15872K), 0.0001474 secs][GC 4790K->374K(15872K), 0.0001563... 阅读全文
posted @ 2014-08-18 21:47 princessd8251 阅读(1836) 评论(0) 推荐(1) 编辑
摘要: SQLPlus directive "WHENEVER SQLERROR EXIT 1" will return a specified code when any SQL error throwed when run a sql file.Then we can catch the return ... 阅读全文
posted @ 2014-08-18 16:03 princessd8251 阅读(831) 评论(0) 推荐(0) 编辑
摘要: SQL> drop table test purge;SQL> create table test (id int,comments CLOB);SQL> select INDEX_NAME, INDEX_TYPE,TABLE_OWNER ,TABLE_NAME from user_indexes ... 阅读全文
posted @ 2014-08-10 18:24 princessd8251 阅读(865) 评论(0) 推荐(0) 编辑
摘要: 整数的表达–原码:第一位为符号位(0为正数,1为负数)–反码:符号位不动,原码取反–负数补码:符号位不动,反码加1–正数补码:和原码相同-6 5原码1000011000000101反码1111100101111010补码1111101000000101 ... 阅读全文
posted @ 2014-08-10 10:05 princessd8251 阅读(7157) 评论(0) 推荐(0) 编辑
摘要: Student表有三列,分别是姓名、课程、成绩 Name Curricula Mark 张三 语文 70 李四 数学 80 王朝 英语 59 城南 马哲 70 王朝 语文 90 我想得到的效果... 阅读全文
posted @ 2014-08-07 23:54 princessd8251 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 下面是一个调用已经私有化的单列的函数的列子. 这里用了静态内部类,关键就是静态内部类可以访问外部类的私有构造函数。这种算是变种继承吧。前提是可以在原来的单列类里添加代码。class Single { private Single(){ System.out.println("Single... 阅读全文
posted @ 2014-08-05 20:16 princessd8251 阅读(991) 评论(0) 推荐(0) 编辑
摘要: For PL/SQL1)Create Directory Where BLOB resides.create or replace directory temp as '/oradata2'; -- if the directory name you created not qoted, then ... 阅读全文
posted @ 2014-07-31 21:47 princessd8251 阅读(1299) 评论(0) 推荐(0) 编辑
摘要: 1. How does the invalid object come?The Oracle database will invalidate objects if a dependent object is changed. If I rebuild a table, the indexes on... 阅读全文
posted @ 2014-07-30 22:37 princessd8251 阅读(998) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页