如果我删除Exception BreakPoint,一切都会好的。但是当我将Exception breakPoint添加到debug时,出了点错误:
String sql = "select a, b, sum (c) csum from a group by a, b";
NativeQuery<?> q = session.createNativeQuery (sql).addSynchronizedEntityClass( RankingModel.class );
List<RankingModel> results = (List<RankingModel>)q.list ();
breakpoint like this 并且运行,项目总是在[self.window makeKeyAndVisible]中断,单击“继续程序执行”按钮一些,它可以运行