摘要: 在optional中添加这段话:-Xmx1024M -Xms256M -XX:MaxPermSize=256m 阅读全文
posted @ 2014-03-04 14:19 哎呦喂,我的小祖宗╰つ 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2014-02-20 21:59 哎呦喂,我的小祖宗╰つ 阅读(891) 评论(0) 推荐(0) 编辑
摘要: 1 注意:1.最大的div,id为test,overflow:hidden; 这个多余的必须是隐藏 2.注意最大的div和它的仔的width和height,否则效果很难出现 1 1 2 3 4 5 6 7 8 9 阅读全文
posted @ 2014-02-17 16:56 哎呦喂,我的小祖宗╰つ 阅读(786) 评论(0) 推荐(0) 编辑
摘要: 1.导出 也可以跟where条件 SELECT * FROM tablename where ......INTO OUTFILE 'E:\accessdetail.txt';SELECT * FROM tablename INTO OUTFILE 'E:\accessdetail.txt';2.导入LOAD DATA LOCAL INFILE 'E:\accessdetail.txt' INTO TABLE tablename; 阅读全文
posted @ 2014-01-17 13:03 哎呦喂,我的小祖宗╰つ 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 首先要确保你的oracle和mysql连接没有问题,我的oracle10g和mysql5.2,工具是mysql-gui-tools-5.0-r17-win32.msi叫MySQL Migration Tookit 然后安装这个MySQL Migration Tookit,下载地址是http://dev.mysql.com/downloads/gui-tools/5.0.html,按照你本地的环境下载,我下载的是Windows版本安装成功后打开软件,这个名字叫做:MySQL Mi个ration Tookit 。打开软件后前两步不用管直接Next到Source Database,第一次使用这... 阅读全文
posted @ 2014-01-15 14:38 哎呦喂,我的小祖宗╰つ 阅读(5731) 评论(0) 推荐(0) 编辑
摘要: 1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ... 阅读全文
posted @ 2014-01-14 17:04 哎呦喂,我的小祖宗╰つ 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 1 EXEC sp_configure 'show advanced options', 1 2 3 GO 4 5 RECONFIGURE 6 7 GO 8 9 EXEC sp_configure 'xp_cmdshell', 110 11 GO12 13 RECONFIGURE14 15 GO16 //导出17 EXEC userinfo..xp_cmdshell 'bcp userinfo.dbo.students out D:studentes.txt -c -T -U''sa'' -P''12345 阅读全文
posted @ 2014-01-10 14:27 哎呦喂,我的小祖宗╰つ 阅读(729) 评论(0) 推荐(0) 编辑
摘要: 内省:操作javabean的属性,属性指的是字段拥有get或set方法叫做属性 /* 内省 Introspector */ public void test() throws Exception{ BeanInfo info = Introspector.getBeanInfo(Person.class); PropertyDescriptor[] pds = info.getPropertyDescriptors(); for(PropertyDescriptor pd : pds){ System.o... 阅读全文
posted @ 2014-01-08 14:25 哎呦喂,我的小祖宗╰つ 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 反射:就是加载类,然后在解剖类的各个组成部分(反射都是用于做框架的) 1 /** 2 * 反射--->提取构造方法-->public 3 * @throws Exception 4 */ 5 public void test() throws Exception{ 6 Class clazz = Class.forName("com.tkbs.du.refle.Person"); 7 Constructor c = clazz.getConstructor(null); 8 Person... 阅读全文
posted @ 2014-01-08 14:10 哎呦喂,我的小祖宗╰つ 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 1.spring-serlvet.xml 1 2 3 4 5 6 7 8 9 注:这里bean的Id一定要写multipartResolver,前面不能加commons。 2.Controller(一共有两种方法) 1 @RequestMapping("/load") 2 public String downLoad( 3 @RequestParam("wenjian")CommonsMultipartFile multiFi... 阅读全文
posted @ 2014-01-08 14:03 哎呦喂,我的小祖宗╰つ 阅读(367) 评论(0) 推荐(0) 编辑