From 9423f2936340d82b046ec615381c1c5e03698557 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期五, 27 九月 2024 17:56:53 +0800 Subject: [PATCH] 1、主要完成对获取UI上下文的定义接口的优化,优化的方向为对多次获取业务类型对象进行转换而导致耗时较久的问题继续修改,还有对多次获取属性对象进行转换对象导致耗时过长问题进行修改。 2、对树的数据查询接口的优化,对多次获取属性对象进行转换对象导致耗时过长问题进行修改。 --- Bin/properties/hibernate.cfg.xml | 60 ++++-------------------------------------------------------- 1 files changed, 4 insertions(+), 56 deletions(-) diff --git a/Bin/properties/hibernate.cfg.xml b/Bin/properties/hibernate.cfg.xml index 4249aed..ab6b058 100644 --- a/Bin/properties/hibernate.cfg.xml +++ b/Bin/properties/hibernate.cfg.xml @@ -9,8 +9,9 @@ <property name="connection.username">vcimes</property> <property name="connection.password">vcimes</property>--> - <property name="connection.url">jdbc:oracle:thin:@localhost:1521:orcl</property> - <property name="connection.username">mpm550new</property> + <property name="connection.url">jdbc:oracle:thin:@192.168.0.66:1521:orcl</property> + <property name="connection.username">PLT2024</property> + <!-- <property name="connection.username">NMPM112</property> --> <property name="connection.password">vcitest</property> <!--<property name="connection.username">mpm112</property> <property name="connection.password">vcitest</property>--> @@ -32,60 +33,7 @@ <property name="hibernate.current_session_context_class">com.vci.server.mw.SessionContext4JBPM</property> <property name="hibernate.connection.isolation">2</property> - <!-- framework鏄犲皠鏂囦欢 --> - <mapping resource="com/vci/server/framework/hbm/AppConfigCategory.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/AppConfigDetail.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/Combination.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/CombinationValue.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/Department.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/Role.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/User.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/Function.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/Operate.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/RoleRight.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/PasswordStrategy.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/UserLogon.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/SystemCfg.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/SpecialChar.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/SpecialCharClfy.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/Log.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/MachSecurity.hbm.xml"/> - <mapping resource="com/vci/server/framework/hbm/Pvolume.hbm.xml"/> - - <!-- QT鏄犲皠鏂囦欢 --> - <mapping resource="com/vci/server/omd/qt/hbm/QT.hbm.xml"/> - - <!-- portal_START--> - <mapping resource="com/vci/server/portal/hbm/PLActionClsEntity.hbm.xml"/> - <mapping resource="com/vci/server/portal/hbm/PLActionParamEntity.hbm.xml"/> - <mapping resource="com/vci/server/portal/hbm/PLTypeActionEntity.hbm.xml"/> - <mapping resource="com/vci/server/portal/hbm/PortalVIEntity.hbm.xml"/> - <mapping resource="com/vci/server/portal/hbm/PLActionEntity.hbm.xml"/> - <mapping resource="com/vci/server/portal/hbm/PLUILayoutEntity.hbm.xml"/> - <mapping resource="com/vci/server/portal/hbm/PLTabPageEntity.hbm.xml"/> - <mapping resource="com/vci/server/portal/hbm/PLTabButtonEntity.hbm.xml"/> - <mapping resource="com/vci/server/portal/hbm/PLCommandParameterEntity.hbm.xml"/> - <mapping resource="com/vci/server/portal/hbm/PLPageDefinationEntity.hbm.xml"/> - <!-- portal_END--> - - <!-- workflow鏄犲皠鏂囦欢 --> - <mapping resource="com/vci/server/workflow/server/hbm/ProcessCategory.hbm.xml"/> - <mapping resource="com/vci/server/workflow/server/hbm/Plflowapproveopinion.hbm.xml"/> - <mapping resource="com/vci/server/workflow/server/hbm/PLFlowObject.hbm.xml"/> - <mapping resource="com/vci/server/workflow/server/hbm/NodeHide.hbm.xml"/> - <mapping resource="com/vci/server/workflow/server/hbm/TaskDesc.hbm.xml"/> - <mapping resource="com/vci/server/workflow/server/hbm/TaskRevoke.hbm.xml"/> - <mapping resource="com/vci/server/workflow/server/hbm/TasksAssigned.hbm.xml"/> - <mapping resource="com/vci/server/workflow/server/hbm/FlowApproveContent.hbm.xml"/> - <mapping resource="jbpm.repository.hbm.xml"/> - <mapping resource="jbpm.execution.hbm.xml"/> - <mapping resource="jbpm.history.hbm.xml"/> - <mapping resource="jbpm.task.hbm.xml"/> - <mapping resource="jbpm.identity.hbm.xml"/> - - <mapping resource="com/vci/server/workflow/server/hbm/Plwfinstancetemplate.hbm.xml"/> - <mapping resource="com/vci/server/workflow/server/hbm/Plwfpersonset.hbm.xml"/> - + <!-- 鏆傛椂绂佺敤Hibernate鐨勪簨浠剁洃鍚� <listener type="post-insert" class="com.vci.base.server.persistence.history.HistoryListener" /> -- Gitblit v1.10.0