一天一小步,人生一大步。
├学会总结╀学会记录╀学会生活┦
12 2012 档案
memcached 学习资料整理
摘要:下载:http://www.splinedancer.com/memcached-win32/ windows下安装的图文教程:http://www.cr173.com/html/15392_1.html xmemcached 是memcached的java客户端:https://code.google.com/p/xmemcached/ 测试与开发:http://www.cnblogs.com/cczhoufeng/archive/2012/02/09/2344220.html在Hibernate中使用Memcached作为一个二级分布式缓存(hibernate-memcached):www 阅读全文
posted @ 2012-12-27 13:25 .Xm 阅读(155) 评论(0) 推荐(0)
hibernate 注解的问题(异常)集合
摘要:1,问题:An AnnotationConfiguration instance is required to use <mapping class="vo.Student"/>解答:错误:SessionFactory factory = new Configuration().configure().buildSessionFactory(); //这句是用映射文件为xml的 正确:SessionFactory factory = new AnnotationConfiguration().configure().buildSessionFactory();/ 阅读全文
posted @ 2012-12-17 22:49 .Xm 阅读(2459) 评论(0) 推荐(0)
php,mysql,apache整合
摘要:安装mysql下载:mysql 5.5.28安装mysql: select 'custom' -->next-->指定安装路径-->next-->install(安装没什么好说的,主要是mysql配置)到了安装完成页面后,选中:Configurae the MySql Server now-->finish(这时候会打开mysql配置窗口)这时候弹出窗口:有两个选项Detailed Configuration(详细配置)、Standard Configuration(标准配置),我们选择:Detailed Configuration,next这时候 阅读全文
posted @ 2012-12-07 15:51 .Xm 阅读(439) 评论(0) 推荐(0)
oracle 自己常用命令
摘要:创建用户:create user 用户名 identified by 密码;(如果是数字则要加双引号”111111”,如果是字母就不用)eg:create user simpler identified by simpler;授权给某个用户:grant 权限 to 用户名eg:grant connect,resource,create session to simpler; grant dba to simpler; 阅读全文
posted @ 2012-12-03 12:57 .Xm 阅读(126) 评论(0) 推荐(0)