更改osworkflow支持hibernate3[3]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

    }

 

    public void setupConfiguration(Map configurationProperties) {

        // loaded hibernate config

        try {

            configuration = new Configuration().addClass(PropertySetItem.class);

 

            Iterator itr = configurationProperties.keySet().iterator();

 

            while (itr.hasNext()) {

                String key = (String) itr.next();

 

                if (key.startsWith("hibernate")) {

                    configuration.setProperty(key, (String) configurationProperties.get(key));

                }

            }

 

            this.sessionFactory = configuration.buildSessionFactory();

本文关键:更改osworkflow支持hibernate3
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top