01 2013 档案

摘要:在xml配置Hibernate hbm定义时候,catelog用于定义数据库\数据分区。如果该hbm中同时定义了one-to-one关系,会抛出异常。暂未找到原因,去掉catelog即可。 阅读全文
posted @ 2013-01-26 12:08 荒土 阅读(198) 评论(0) 推荐(0) 编辑
摘要:今天遇到个问题,Eclipse在Splash启动阶段对多线程的支持有点不同。根据某人的见解,org.eclipse.ui.internal.StartupThreading 可以解决这个问题我看了一眼Eclipse自己的Splash实现是这样的: private void updateUI(final Runnable r) { Shell splashShell = getSplash(); if (splashShell == null || splashShell.isDisposed()) return; ... 阅读全文
posted @ 2013-01-08 10:49 荒土 阅读(1456) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示