01 2014 档案

摘要:show variables like '%func%';set global log_bin_trust_function_creators=1;use scm_wuliudelimiter $$create function getDistance( lon1 float(10,7) ,lat1 float(10,7) ,lon2 float(10,7) ,lat2 float(10,7)) RETURNS doublebegin declare d double; declare radius int; set radius = 6378140; #假设地球为正球形,直径 阅读全文
posted @ 2014-01-17 17:13 cncoffee 阅读(353) 评论(0) 推荐(0)
摘要:检查hibernate实体类的映射文件日期类型把date 改为 java.util.Date 阅读全文
posted @ 2014-01-14 13:46 cncoffee 阅读(247) 评论(0) 推荐(0)
摘要:我原先的IE是系统默认自带的IE7,升级到IE8之后,就出现了此现象:打开一个窗口(window.open方式)后,再打开时,新窗口的页面显示空白,无法加载其内容。关闭ie后,重新偿亦是如此,第一次能打开,第二次就不行。无论是ie7模式,还是兼容模式。 解决方法1:ie设置重置(工具-Internet选项-高级-重置),删除所有个性化设置,完成后,重试后该问题不再出现,窗口能正常打开。回想,可能是装完ie后,ie设置向导中做了某些不当的设置有关,但具体是哪项尚不得而知。 解决方法2:window.open(url);改为var win = window.open(url,"" 阅读全文
posted @ 2014-01-14 13:34 cncoffee 阅读(634) 评论(0) 推荐(0)