05 2013 档案
摘要:http://www.kafeitu.me/tools/2013/03/26/intellij-deal-chinese-disorderly-code.htmlIntelliJ IDEA中文乱码解决办法1. 预热刚刚接触IntelliJ IDEA几天,在易用性方面的确比Eclipse好很多,比较智能,各种插件、工具都已经集成,和Mac OS X类似——开箱即用,并且在试用了之后在开源中国三折(后悔2折的时候没有下手)购买了授权。但是还是老大难问题——中文乱码,让我不得不花费了一些时间去折腾它,这一点就不如Eclipse了,没有遇到过乱码问题。乱码问题表现在使用Web Server(Tomca
阅读全文
摘要:UUID生成类 3 import org.apache.commons.logging.Log; 4 import org.apache.commons.logging.LogFactory; 5 import org.hibernate.HibernateException; 6 import org.hibernate.MappingException; 7 import org.hibernate.dialect.Dialect; 8 import org.hibernate.engine.SessionImplementor; 9 import org.hibernate.excep.
阅读全文