Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A 由于数据库太大,即数据库中的表非常多,所以如果预读数据库信息,将非常慢,所以就卡住了.解决这种情况的的办法: 进入数据库是,加上参数-A ----->mysql -hHostName -uUserName -pPassord -PPort…
下载地址:http://pan.baidu.com/s/1eQstR2M 一.Reveal使用步骤 1.启动Reveal --> Help --> Show Reveal Library in Finder,拖动添加Reveal.framework到工程中.选中 Copy items into destination group's folder (if needed)以及当前的targets.展开查看Reveal.framework中所有h文件都正确加入工程中: 确保Summary-->…
java转换成秒数 Date类有一个getTime()可以换回秒数,例如: public class DateToSecond { public static void main(String[] args) { Date date = new Date(System.currentTimeMillis()); System.out.println(date.getTime()); } } 或者直接使用long类型存储毫秒数, long base = System.currentTimeMill…
数据库里存储的是long型的时间,现在想输出到jsp页面,由于使用的是jstl标签,而要显示的是可读的时间类型,找来找去有个fmt:formatDate可以转化,但是只能转date型,long型则不可以,思考了好久,又不想破环jsp页面这种标签结构,决定自己下个转换的标签,说干就干,开始干,参考网上jstl标签编写方法,如下: 第一步,写一个类继承TagSupport,实现doStartTag() 方法[以下方法结果是1970年]. public class DateTag extends T…
鉴于前后端分离发展的迅速.前端很多时间控件都会读UTC时间. 安利一个小知识 // // 摘要: // Creates a new System.DateTime object that has the same number of ticks as the // specified System.DateTime, but is designated as either local time, Coordinated // Universal Time (UTC), or neither, a…