上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 63 下一页
摘要: http://www.cnblogs.com/xuefuwu/archive/2012/05/06/2486577.html——————————————————————————————————————————————————————————————我们在连接mysql数据库的时候一般都会在url后面添加useUnicode=true&characterEncoding=UTF-8 ,但是问什么要添加呢?添加的作用是:指定字符的编码、解码格式。 例如:mysql数据库用的是gbk编码,而项目数据库用的是utf-8编码。这时候如果添加了useUnicode=true&charact 阅读全文
posted @ 2014-01-18 09:05 网络大豆 阅读(246) 评论(0) 推荐(0)
摘要: n多方法都不成功,最后在hibernate-generic-dao官网上的例子hibernate-maven-web(使用其jar包及配置,并将hibernate更新为4.2.8,加入ehcache及c3p0数据库连接池)由于hibernate-generic-dao1.2.0只支持JPA2.0,而hibernate4.3.0开始支持JPA2.1,故选择hibernate4.2.8版本。而Spring3.2.6是spring3最后的发布版。———————————————————————————————————————————————————— 阅读全文
posted @ 2014-01-17 11:21 网络大豆 阅读(271) 评论(0) 推荐(0)
摘要: 从hibernate2.1开始ehcache已经作为hibernate的默认缓存方案(二级缓存方案 sessionfactory级别), 在项目中有针对性的使用缓存将对性能的提升右很大的帮助。 要使用 Ehcache:需要一下步骤 一,classpath添加相应的jar(ehcache,commons-logging) 二,然后在hibernate.cfg.xml中配置 org.hibernate.cache.EhCacheProvider true true 说明:如果没有配置true(默认false) 将会产生根据单个id查询的情况(产生很多sql)。 三,为需要缓存的类添加... 阅读全文
posted @ 2014-01-14 15:02 网络大豆 阅读(4473) 评论(0) 推荐(0)
摘要: http://sahits.ch/blog/?p=2372————————————————————————————————————————————————————TextFlow with JavaFX 2When ever you want to display a large portion of text in your application the Text node is your friend. Text allows you to define a wrapping width and thereby allows nice multyline text without let 阅读全文
posted @ 2014-01-14 14:17 网络大豆 阅读(887) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/springmvc-hibernate/archive/2012/05/10/2493733.html——————————————————————————————————————————————————————为什么苦逼? 原因一大堆,对于外部的因数,我们很难控制,例如中国的IT国情和对技术人员的观念。但是,在商业中有这样一句话可以借鉴一下:经济再萧条,也有人在赚钱;形式再好,也有很多人在亏本,很多的公司在倒闭。 很多的时候,我们倒苦水,但是心里要知道:是大的环境让我们苦逼,还是我们本身就得苦逼,换句话说,苦逼是我们自己应得的。这话很多人不爱听,但 阅读全文
posted @ 2014-01-13 16:16 网络大豆 阅读(339) 评论(0) 推荐(0)
摘要: http://aokunsang.iteye.com/blog/1279322—————————————————————————————————————————————————— 阅读全文
posted @ 2014-01-13 14:46 网络大豆 阅读(183) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/quqi99/article/details/1624223—————————————————————————————————————————————————————————— JetNuke笔记 ( by quqi99 ) 作者:张华 发表于:2007-05-24 ( http://blog.csdn.net/quqi99 )版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明。 JetNuke示范网站: http://www.kuayue.com... 阅读全文
posted @ 2014-01-09 16:19 网络大豆 阅读(363) 评论(0) 推荐(0)
摘要: http://stackoverflow.com/questions/936197/what-is-the-difference-between-application-server-and-web-server/936257#936257——————————————————————————————————————————————————————————Most of the times these terms Web Server and Application server are used interchangeably.Following are some of the key dif 阅读全文
posted @ 2014-01-09 09:32 网络大豆 阅读(387) 评论(0) 推荐(0)
摘要: 原帖一直打不开,通过谷歌翻译找到的http://blogs.kiyut.com/tonny/2007/10/18/customize-netbeans-platform-splash-screen-and-about-dialog/http://translate.google.com.hk/translate?hl=zh-CN&sl=en&tl=zh-CN&u=http%3A%2F%2Fblogs.kiyut.com%2Ftonny%2F2007%2F10%2F18%2Fcustomize-netbeans-platform-splash-screen-and-abo 阅读全文
posted @ 2014-01-05 15:37 网络大豆 阅读(1011) 评论(0) 推荐(0)
摘要: http://blog.sina.com.cn/s/blog_8f61307b0100ynfb.html————————————————————————————————————————————————————————这篇文章是我从ITeye上复制来的,看了一遍,觉得很深刻,决定把他复制来,对原作者表示感谢。~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~本文仅基于3.0+版本作为测试)假定spring容器中定义了两个事务管理器:transactionMa 阅读全文
posted @ 2013-12-24 15:49 网络大豆 阅读(212) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 63 下一页