07 2016 档案

摘要:http://blog.csdn.net/lue2009/article/details/46553829 配置ssh连接: http://blog.csdn.net/lue2009/article/details/46551201 阅读全文
posted @ 2016-07-28 18:08 Bigben 阅读(277) 评论(0) 推荐(0) 编辑
摘要:有时需要写属性文件,保存配置值,当然也可以写在数据库。这里我们用文件方式。 最简单做法: 写在wildfly的配置目录里面: 用cdi的复杂做法: http://piotrnowicki.com/2012/06/inject-java-properties-in-java-ee-using-cdi/ 阅读全文
posted @ 2016-07-28 16:59 Bigben 阅读(745) 评论(0) 推荐(0) 编辑
摘要:这句必须先执行: SET SQL_LOG_BIN = 0; 全局修改:使用global修饰符(set global sql_log_bin=0) 版本低得无法用。 从服务器导入:这里导出只能导出到服务器上,不会在本地。如果数据库装在linux服务器,输出文件名目录要用"/tmp/xxx.csv", 阅读全文
posted @ 2016-07-19 15:04 Bigben 阅读(301) 评论(0) 推荐(0) 编辑
摘要:@javax.faces.bean.ViewScoped public class Controlador { private List<List> estadistico; @PostConstruct public void inicializar(){ this.estadistico = n 阅读全文
posted @ 2016-07-13 15:41 Bigben 阅读(315) 评论(0) 推荐(0) 编辑
摘要:http://lobert.iteye.com/blog/1955841 前些天拿到一个表,将近有4000w数据,没有任何索引,主键。(建这表的绝对是个人才) 这是一个日志表,记录了游戏中物品的产出与消耗,原先有一个后台对这个表进行统计。。。。。(这要用超级计算机才能统计得出来吧),只能帮前人填坑了 阅读全文
posted @ 2016-07-12 14:32 Bigben 阅读(552) 评论(0) 推荐(0) 编辑
摘要:p:fileDownload and p:dataExporter : for p:fileDownload, the Content-Disposition header should be set like this: externalContext.setResponseHeader("Con 阅读全文
posted @ 2016-07-09 11:24 Bigben 阅读(608) 评论(0) 推荐(0) 编辑
摘要:DELETE删除多表数据,怎样才能同时删除多个关联表的数据呢?这里做了深入的解释:1、 delete from t1 where 条件2、delete t1 from t1 where 条件3、 delete t1 from t1,t2 where 条件4、delete t1,t2 from t1, 阅读全文
posted @ 2016-07-05 14:51 Bigben 阅读(911) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示