代码中获取hibernate 方言的方式

SpringContextHolder sch = new SpringContextHolder(); SessionFactoryImpl sessionFactory = (SessionFactoryImpl) sch.getApplicationContext().getBean( SessionFactory.class); Dialect dia = sessionFactory.g
相关文章
相关标签/搜索