"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/com/openkm/dao/HibernateUtil.java" between
OpenKM-document-management-system-6.3.10.tar.gz and OpenKM-document-management-system-6.3.11.tar.gz

About: OpenKM (Knowledge Management) is a document management system that allows easy management of documents, users, roles and finding your enterprise documents and records. Community version (source code).

HibernateUtil.java  (OpenKM-document-management-system-6.3.10):HibernateUtil.java  (OpenKM-document-management-system-6.3.11)
skipping to change at line 153 skipping to change at line 153
cfg.setProperty("hibernate.connection.datasource" , Config.HIBERNATE_DATASOURCE); cfg.setProperty("hibernate.connection.datasource" , Config.HIBERNATE_DATASOURCE);
cfg.setProperty("hibernate.hbm2ddl.auto", hbm2ddl ); cfg.setProperty("hibernate.hbm2ddl.auto", hbm2ddl );
cfg.setProperty("hibernate.show_sql", Config.HIBE RNATE_SHOW_SQL); cfg.setProperty("hibernate.show_sql", Config.HIBE RNATE_SHOW_SQL);
cfg.setProperty("hibernate.generate_statistics", Config.HIBERNATE_STATISTICS); cfg.setProperty("hibernate.generate_statistics", Config.HIBERNATE_STATISTICS);
cfg.setProperty("hibernate.search.analyzer", Conf ig.HIBERNATE_SEARCH_ANALYZER); cfg.setProperty("hibernate.search.analyzer", Conf ig.HIBERNATE_SEARCH_ANALYZER);
cfg.setProperty("hibernate.search.default.directo ry_provider", "org.hibernate.search.store.FSDirectoryProvider"); cfg.setProperty("hibernate.search.default.directo ry_provider", "org.hibernate.search.store.FSDirectoryProvider");
cfg.setProperty("hibernate.search.default.indexBa se", Config.HIBERNATE_SEARCH_INDEX_HOME); cfg.setProperty("hibernate.search.default.indexBa se", Config.HIBERNATE_SEARCH_INDEX_HOME);
cfg.setProperty("hibernate.search.default.exclusi ve_index_use", Config.HIBERNATE_SEARCH_INDEX_EXCLUSIVE); cfg.setProperty("hibernate.search.default.exclusi ve_index_use", Config.HIBERNATE_SEARCH_INDEX_EXCLUSIVE);
cfg.setProperty("hibernate.search.default.optimiz er.operation_limit.max", "500"); cfg.setProperty("hibernate.search.default.optimiz er.operation_limit.max", "500");
cfg.setProperty("hibernate.search.default.optimiz er.transaction_limit.max", "75"); cfg.setProperty("hibernate.search.default.optimiz er.transaction_limit.max", "75");
cfg.setProperty("hibernate.worker.execution", "as cfg.setProperty("hibernate.search.worker.executio
ync"); n", Config.HIBERNATE_SEARCH_WORKER_EXECUTION);
cfg.setProperty("hibernate.search.worker.thread_p
ool.size", Config.HIBERNATE_SEARCH_WORKER_THREAD_POOL_SIZE);
cfg.setProperty("hibernate.search.worker.buffer_q
ueue.max", Config.HIBERNATE_SEARCH_WORKER_BUFFER_QUEUE_MAX);
// http://relation.to/Bloggers/PostgreSQLAndBLOBs // http://relation.to/Bloggers/PostgreSQLAndBLOBs
// cfg.setProperty("hibernate.jdbc.use_streams_fo r_binary", "false"); // cfg.setProperty("hibernate.jdbc.use_streams_fo r_binary", "false");
// Show configuration // Show configuration
log.info("Hibernate 'hibernate.dialect' = {}", cf g.getProperty("hibernate.dialect")); log.info("Hibernate 'hibernate.dialect' = {}", cf g.getProperty("hibernate.dialect"));
log.info("Hibernate 'hibernate.connection.datasou rce' = {}", cfg.getProperty("hibernate.connection.datasource")); log.info("Hibernate 'hibernate.connection.datasou rce' = {}", cfg.getProperty("hibernate.connection.datasource"));
log.info("Hibernate 'hibernate.hbm2ddl.auto' = {} ", cfg.getProperty("hibernate.hbm2ddl.auto")); log.info("Hibernate 'hibernate.hbm2ddl.auto' = {} ", cfg.getProperty("hibernate.hbm2ddl.auto"));
log.info("Hibernate 'hibernate.show_sql' = {}", c fg.getProperty("hibernate.show_sql")); log.info("Hibernate 'hibernate.show_sql' = {}", c fg.getProperty("hibernate.show_sql"));
log.info("Hibernate 'hibernate.generate_statistic s' = {}", cfg.getProperty("hibernate.generate_statistics")); log.info("Hibernate 'hibernate.generate_statistic s' = {}", cfg.getProperty("hibernate.generate_statistics"));
 End of changes. 1 change blocks. 
2 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)