我用传统的配置方式 但发现要是加上某几个bean时,然后启动就会特别慢,死在那不动了。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans default-autowire="byType">
<!-- DBCP数据库连接-->
<bean id="dataSource"
class="org.apache.commons.dbcp.BasicDataSource" autowire="no">
<property name="driverClassName"
value="oracle.jdbc.driver.OracleDriver" />
<property name="url"
value="jdbc:oracle:thin:@。。。" />
<property name="username" value="jy" />
<property name="password" value="jy" />
<property name="maxActive" value="100" />
<property name="maxIdle" value="30" />
<property name="maxWait" value="1000" />
<property name="defaultAutoCommit" value="true" />
<property name="removeAbandoned" value="true" />
<property name="removeAbandonedTimeout" value="60" />
</bean>
<!-- 事务管理 -->
<bean id="transactionManager"
class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource">
<ref local="dataSource" />
</property>
</bean>
<!-- 事务模板 -->
<bean id="basetx" autowire="byType"
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"
abstract="true">
<property name="transactionManager" ref="transactionManager"></property>
<property name="optimize" value="true"></property>
<property name="transactionAttributes">
<props>
<prop key="insert*">PROPAGATION_REQUIRED</prop>
<prop key="delet*">PROPAGATION_REQUIRED</prop>
<prop key="update*">PROPAGATION_REQUIRED</prop>
<prop key="get*">PROPAGATION_REQUIRED,readOnly</prop>
<prop key="save*">PROPAGATION_REQUIRED</prop>
<prop key="*">PROPAGATION_REQUIRED</prop>
</props>
</property>
</bean>
<!-- 需要添加事务的类 -->
<!-- 楼院基本信息 数据维护 -->
<bean id="buildingMgr" parent="basetx">
<property name="target">
<ref bean="buildingMgrTarget" />
</property>
</bean>
<!-- 房屋基本信息 数据维护 -->
<bean id="houseMgr" parent="basetx">
<property name="target">
<ref bean="houseMgrTarget" />
</property>
</bean>
<!-- 户籍相关信息 start -->
<!-- 侨属 -->
<bean id="overSeaMgr" parent="basetx">
<property name="target">
<ref bean="overSeaMgrTarget" />
</property>
</bean>
<!-- 农户 -->
<bean id="farmerMgr" parent="basetx">
<property name="target">
<ref bean="farmerMgrTarget" />
</property>
</bean>
<!-- 农机 -->
<bean id="farmerMachineMgr" parent="basetx">
<property name="target">
<ref bean="farmerMachineMgrTarget" />
</property>
</bean>
<!-- 直补 -->
<bean id="farmerSubSidyMgr" parent="basetx">
<property name="target">
<ref bean="farmerSubSidyMgrTarget" />
</property>
</bean>
<!-- 水产养殖 -->
<bean id="farmerAquicultureMgr" parent="basetx">
<property name="target">
<ref bean="farmerAquicultureMgrTarget" />
</property>
</bean>
<!-- 农作物 -->
<bean id="farmerGrantMgr" parent="basetx">
<property name="target">
<ref bean="farmerGrantMgrTarget" />
</property>
</bean>
<!-- 经济作物 -->
<bean id="farmereGrantMgr" parent="basetx">
<property name="target">
<ref bean="farmereGrantMgrTarget" />
</property>
</bean>
<!-- 军烈属 -->
<bean id="armyInfoMgr" parent="basetx">
<property name="target">
<ref bean="armyInfoMgrTarget" />
</property>
</bean>
<!-- 低保 -->
<bean id="lowProtectMgr" parent="basetx">
<property name="target">
<ref bean="lowProtectMgrTarget" />
</property>
</bean>
<!-- 居民数据维护 -->
<bean id="peopleBearManager" parent="basetx">
<property name="target">
<ref bean="peopleBearManagerTarget" />
</property>
</bean>
<bean id="peopleSpecialityMgr" parent="basetx">
<property name="target">
<ref bean="peopleSpecialityMgrTarget" />
</property>
</bean>
<bean id="peopleIllManager" parent="basetx">
<property name="target">
<ref bean="peopleIllManagerTarget" />
</property>
</bean>
<bean id="peopleExinMgr" parent="basetx">
<property name="target">
<ref bean="peopleExinMgrTarget" />
</property>
</bean>
<bean id="peopleExinFocMgr" parent="basetx">
<property name="target">
<ref bean="peopleExinFocMgrTarget" />
</property>
</bean>
<bean id="peopleOldManMgr" parent="basetx">
<property name="target">
<ref bean="peopleOldManMgrTarget" />
</property>
</bean>
<bean id="peopleDeathMgr" parent="basetx">
<property name="target">
<ref bean="peopleDeathMgrTarget" />
</property>
</bean>
<bean id="peopleHandicappedMgr" parent="basetx">
<property name="target">
<ref bean="peopleHandicappedMgrTarget" />
</property>
</bean>
<bean id="peopleHelpMgr" parent="basetx">
<property name="target">
<ref bean="peopleHelpMgrTarget" />
</property>
</bean>
<bean id="peopleMoveMgr" parent="basetx">
<property name="target">
<ref bean="peopleMoveMgrTarget" />
</property>
</bean>
<bean id="peopleYfdxMgr" parent="basetx">
<property name="target">
<ref bean="peopleYfdxMgrTarget" />
</property>
</bean>
<bean id="nativeJdbcExtractor"
class="org.springframework.jdbc.support.nativejdbc.CommonsDbcpNativeJdbcExtractor"
lazy-init="true" />
<!-- 大字段处理 -->
<bean id="lobHandler"
class="org.springframework.jdbc.support.lob.OracleLobHandler"
lazy-init="true" />
<!-- -->
<bean id="functionManager"
class="com.centit.sys.service.FunctionManager" />
<bean id="deptManager"
class="com.centit.sys.service.DepartmentManager" />
<bean id="roleManager" class="com.centit.sys.service.RoleManager" />
<bean id="userManager" class="com.centit.sys.service.UserManager" />
<bean id="passwordEncoder"
class="org.acegisecurity.providers.encoding.Md5PasswordEncoder" />
<bean id="codeCategoryManager"
class="com.centit.sys.service.CodeCategoryManager" />
<bean id="codeItemManager"
class="com.centit.sys.service.CodeItemManager" />
<bean id="dataExportManager"
class="com.centit.ca.service.DataExportManager" />
<bean id="checkMgr"
class="com.centit.ca.service.DwellkindCheckManager" />
<bean id="generalStatMgr"
class="com.centit.ca.service.GeneralStatisticManager" />
<!-- 主键生成 -->
<bean id="incrementer"
class="org.springframework.jdbc.support.incrementer.OracleSequenceMaxValueIncrementer">
<property name="incrementerName" value="NJMZ_SEQUENCE" />
<property name="paddingLength" value="8" />
</bean>
<bean id="areaMgr" class="com.centit.ca.service.AreaManager" />
<bean id="belongMgr" class="com.centit.ca.service.BelongManager" />
<bean id="commonCodeRepository"
class="com.centit.ca.util.CommonCodeRepository" init-method="init" />
<bean id="updateMgr"
class="com.centit.ca.service.UpdateDataManager" />
<bean id="updateData" class="com.centit.ca.service.UpdateData"
init-method="update" />
<!-- 人口查询模块 -->
<!-- 小区基本信息数据维护 -->
<bean id="committeeMgr"
class="com.centit.ca.service.CommitteeManager">
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="userOptManager" ref="userOptMgr"></property>
</bean>
<!-- 村居基本信息 -->
<bean id="communityMgr"
class="com.centit.ca.service.CommunityManager">
<property name="incrementer" ref="incrementer" />
<property name="vilInfoMgr" ref="vilInfoMgr"></property>
<property name="vilYearInfoMgr" ref="vilYearInfoMgr"></property>
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="userOptMgr" ref="userOptMgr"></property>
</bean>
<!-- 农村相关信息 -->
<bean id="vilInfoMgr"
class="com.centit.ca.service.VilInfoManager">
<property name="deptMgr" ref="deptManager"></property>
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="userOptMgr" ref="userOptMgr"></property>
</bean>
<!-- 农村 年度 信息 -->
<bean id="vilYearInfoMgr"
class="com.centit.ca.service.VilYearInfoManager">
<property name="communityMgr" ref="communityMgr"></property>
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="userOptMgr" ref="userOptMgr"></property>
</bean>
<!-- 楼院基本信息 数据维护 -->
<bean id="buildingMgrTarget"
class="com.centit.ca.service.BuildingManager">
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="committeeMgr" ref="committeeMgr"></property>
<property name="userOptManager" ref="userOptMgr"></property>
</bean>
<!-- 房屋基本信息 数据维护 -->
<bean id="houseMgrTarget"
class="com.centit.ca.service.HouseManager">
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="userOptManager" ref="userOptMgr"></property>
</bean>
<!-- 户籍相关信息 start -->
<!-- 户籍 -->
<bean id="houseHoldMgr"
class="com.centit.ca.service.HouseHoldManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="codeItemManager" ref="codeItemManager" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 侨属 -->
<bean id="overSeaMgrTarget"
class="com.centit.ca.service.OverSeaManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 农户 -->
<bean id="farmerMgrTarget"
class="com.centit.ca.service.FarmerManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 农机 -->
<bean id="farmerMachineMgrTarget"
class="com.centit.ca.service.FarmerMachineManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 直补 -->
<bean id="farmerSubSidyMgrTarget"
class="com.centit.ca.service.FarmerSubSidyManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 水产养殖 -->
<bean id="farmerAquicultureMgrTarget"
class="com.centit.ca.service.FarmerAquicultureManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 农作物 -->
<bean id="farmerGrantMgrTarget"
class="com.centit.ca.service.FarmerGrantManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 经济作物 -->
<bean id="farmereGrantMgrTarget"
class="com.centit.ca.service.FarmereGrantManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 军烈属 -->
<bean id="armyInfoMgrTarget"
class="com.centit.ca.service.ArmyInfoManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 低保 -->
<bean id="lowProtectMgrTarget"
class="com.centit.ca.service.LowProtectManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<bean id="userOptMgr"
class="com.centit.ca.service.UserOptManager">
</bean>
<bean id="proletConfigMgr"
class="com.centit.ca.service.ProletConfigManager">
<property name="customerStatMgr" ref="customerStatMgr" />
</bean>
<bean id="communityStatMgr"
class="com.centit.ca.service.CommunityStatManager">
</bean>
<bean id="customerStatMgr"
class="com.centit.ca.service.CustomerStatManager">
</bean>
<!-- 户籍相关信息 end -->
<!-- 审核配置 start -->
<bean id="audConfigMgr"
class="com.centit.ca.service.AudConfigManager">
</bean>
<!-- 审核配置 end -->
<bean id="houseHoldExtraMgr"
class="com.centit.ca.service.HouseHoldExtraManager" />
<bean id="peopleExtraMgr"
class="com.centit.ca.service.PeopleExtraManager" />
<!-- 组合查询 -->
<bean id="combineQueryMgr"
class="com.centit.ca.service.CombineQueryManager" />
<!-- 自定义查询 -->
<bean id="customQueryMgr"
class="com.centit.ca.service.CustomQueryManager" />
<!-- 数据结构程序更新模块 -->
<bean id="clientVersionUpdatorMgr"
class="com.centit.ca.service.ClientVersionUpdatorManager" />
<bean id="clientProgramUpdatorMgr"
class="com.centit.ca.service.ClientProgramUpdatorManager" />
<!-- 组织机构模块 -->
<bean id="orgMgr" class="com.centit.ca.service.OrganizationManager" />
<!-- 人员操作查询模块 -->
<bean id="optLogMgr" class="com.centit.ca.service.OptLogManager" />
<bean id="updateCheckMgr"
class="com.centit.ca.service.UpdateCheckManager" />
<bean id="updatecheckmMgr"
class="com.centit.ca.service.UpdateCheckMManager" />
<bean id="loginLogMgr"
class="com.centit.ca.service.LoginLogManager" />
<bean id="versionLogMgr"
class="com.centit.ca.service.VersionLogManager" />
<!-- 通知公告 -->
<bean id="noticeMgr" class="com.centit.ca.service.NoticeManager" />
<!-- 验证码 -->
<bean id="registerMgr"
class="com.centit.ca.service.RegisterManager" />
<!-- 验证 -->
<bean id="AuditingConfigMgr"
class="com.centit.ca.service.AuditingConfigManager" />
<!-- 统计分析模块 -->
<bean id="generalStatisticChart"
class="com.centit.ca.chart.GeneralStatisticChart" />
<bean id="fiveprotect" class="com.centit.ca.stat.FiveProtect_T" />
<bean id="farmersubsidy" class="com.centit.ca.stat.FarmerSubsidy_T" />
<bean id="lowincome" class="com.centit.ca.stat.LowIncome_T" />
<bean id="avgincome" class="com.centit.ca.stat.AvgIncome_T" />
<bean id="lowlive" class="com.centit.ca.stat.LowLive_T" />
<bean id="fiveinfo" class="com.centit.ca.stat.FiveProInfo_T" />
<bean id="bearing" class="com.centit.ca.stat.Bearing_T" />
<bean id="threemoney" class="com.centit.ca.stat.ThreeMoney_T" />
<bean id="labor" class="com.centit.ca.stat.Labor_T" />
<bean id="land" class="com.centit.ca.stat.Land_T" />
<!-- 社区管理模块 -->
<bean id="workRecMgr" class="com.centit.ca.service.WorkRecManager" />
<bean id="preQueryMgr"
class="com.centit.ca.service.PreQueryManager" />
<!-- 居民基本信息维护 -->
<bean id="peopleMgr" class="com.centit.ca.service.PeopleManager">
<property name="incrementer" ref="incrementer" />
</bean>
<!-- 居民数据维护 -->
<bean id="audManager"
class="com.centit.ca.service.AuditingConfigManager">
</bean>
<bean id="peopleBearManagerTarget"
class="com.centit.ca.service.PeopleBearManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleSpecialityMgrTarget"
class="com.centit.ca.service.PeopleSpecialityManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleIllManagerTarget"
class="com.centit.ca.service.PeopleIllManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleExinMgrTarget"
class="com.centit.ca.service.PeopleExinFovManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleExinFocMgrTarget"
class="com.centit.ca.service.PeopleExinFocManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleOldManMgrTarget"
class="com.centit.ca.service.PeopleOldManManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleDeathMgrTarget"
class="com.centit.ca.service.PeopleDeathManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleHandicappedMgrTarget"
class="com.centit.ca.service.PeopleHandicappedManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleHelpMgrTarget"
class="com.centit.ca.service.PeopleHelpManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleMoveMgrTarget"
class="com.centit.ca.service.PeopleMoveManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleYfdxMgrTarget"
class="com.centit.ca.service.PeopleYfdxManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<!-- excel数据导入 -->
<bean id="importLogMgr"
class="com.centit.ca.service.ImportLogManager">
<property name="incrementer" ref="incrementer" />
<property name="logErrorMgr" ref="logErrorMgr"/>
</bean>
<bean id="logErrorMgr"
class="com.centit.ca.service.LogErrorManager">
<property name="incrementer" ref="incrementer" />
</bean>
<bean id="bearExcelRead"
class="com.centit.ca.util.BearExcelRead" >
<property name="peopleMgr" ref="peopleMgr" />
</bean>
<!-- 自定义统计 -->
<bean id="customStatMgr"
class="com.centit.ca.service.CustomStatManager" />
<!-- 民政局上传数据 -->
<bean id="smzUploadMgr"
class="com.centit.ca.service.SMZUploadService">
<property name="paraMgr" ref="paraMgr"></property>
</bean>
<!-- 系统参数 -->
<bean id="paraMgr" class="com.centit.sys.service.AppParaManager">
</bean>
</beans>
以上是我的整个配置文件 在把
<!-- 农村相关信息 -->
<!-- 农村 年度 信息 -->
<!-- 户籍 -->
等bean加入事务就会启动不了,死在那,不加入就正常,是不是事务嵌套的问题啊?
请各位帮我看下
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans default-autowire="byType">
<!-- DBCP数据库连接-->
<bean id="dataSource"
class="org.apache.commons.dbcp.BasicDataSource" autowire="no">
<property name="driverClassName"
value="oracle.jdbc.driver.OracleDriver" />
<property name="url"
value="jdbc:oracle:thin:@。。。" />
<property name="username" value="jy" />
<property name="password" value="jy" />
<property name="maxActive" value="100" />
<property name="maxIdle" value="30" />
<property name="maxWait" value="1000" />
<property name="defaultAutoCommit" value="true" />
<property name="removeAbandoned" value="true" />
<property name="removeAbandonedTimeout" value="60" />
</bean>
<!-- 事务管理 -->
<bean id="transactionManager"
class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource">
<ref local="dataSource" />
</property>
</bean>
<!-- 事务模板 -->
<bean id="basetx" autowire="byType"
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"
abstract="true">
<property name="transactionManager" ref="transactionManager"></property>
<property name="optimize" value="true"></property>
<property name="transactionAttributes">
<props>
<prop key="insert*">PROPAGATION_REQUIRED</prop>
<prop key="delet*">PROPAGATION_REQUIRED</prop>
<prop key="update*">PROPAGATION_REQUIRED</prop>
<prop key="get*">PROPAGATION_REQUIRED,readOnly</prop>
<prop key="save*">PROPAGATION_REQUIRED</prop>
<prop key="*">PROPAGATION_REQUIRED</prop>
</props>
</property>
</bean>
<!-- 需要添加事务的类 -->
<!-- 楼院基本信息 数据维护 -->
<bean id="buildingMgr" parent="basetx">
<property name="target">
<ref bean="buildingMgrTarget" />
</property>
</bean>
<!-- 房屋基本信息 数据维护 -->
<bean id="houseMgr" parent="basetx">
<property name="target">
<ref bean="houseMgrTarget" />
</property>
</bean>
<!-- 户籍相关信息 start -->
<!-- 侨属 -->
<bean id="overSeaMgr" parent="basetx">
<property name="target">
<ref bean="overSeaMgrTarget" />
</property>
</bean>
<!-- 农户 -->
<bean id="farmerMgr" parent="basetx">
<property name="target">
<ref bean="farmerMgrTarget" />
</property>
</bean>
<!-- 农机 -->
<bean id="farmerMachineMgr" parent="basetx">
<property name="target">
<ref bean="farmerMachineMgrTarget" />
</property>
</bean>
<!-- 直补 -->
<bean id="farmerSubSidyMgr" parent="basetx">
<property name="target">
<ref bean="farmerSubSidyMgrTarget" />
</property>
</bean>
<!-- 水产养殖 -->
<bean id="farmerAquicultureMgr" parent="basetx">
<property name="target">
<ref bean="farmerAquicultureMgrTarget" />
</property>
</bean>
<!-- 农作物 -->
<bean id="farmerGrantMgr" parent="basetx">
<property name="target">
<ref bean="farmerGrantMgrTarget" />
</property>
</bean>
<!-- 经济作物 -->
<bean id="farmereGrantMgr" parent="basetx">
<property name="target">
<ref bean="farmereGrantMgrTarget" />
</property>
</bean>
<!-- 军烈属 -->
<bean id="armyInfoMgr" parent="basetx">
<property name="target">
<ref bean="armyInfoMgrTarget" />
</property>
</bean>
<!-- 低保 -->
<bean id="lowProtectMgr" parent="basetx">
<property name="target">
<ref bean="lowProtectMgrTarget" />
</property>
</bean>
<!-- 居民数据维护 -->
<bean id="peopleBearManager" parent="basetx">
<property name="target">
<ref bean="peopleBearManagerTarget" />
</property>
</bean>
<bean id="peopleSpecialityMgr" parent="basetx">
<property name="target">
<ref bean="peopleSpecialityMgrTarget" />
</property>
</bean>
<bean id="peopleIllManager" parent="basetx">
<property name="target">
<ref bean="peopleIllManagerTarget" />
</property>
</bean>
<bean id="peopleExinMgr" parent="basetx">
<property name="target">
<ref bean="peopleExinMgrTarget" />
</property>
</bean>
<bean id="peopleExinFocMgr" parent="basetx">
<property name="target">
<ref bean="peopleExinFocMgrTarget" />
</property>
</bean>
<bean id="peopleOldManMgr" parent="basetx">
<property name="target">
<ref bean="peopleOldManMgrTarget" />
</property>
</bean>
<bean id="peopleDeathMgr" parent="basetx">
<property name="target">
<ref bean="peopleDeathMgrTarget" />
</property>
</bean>
<bean id="peopleHandicappedMgr" parent="basetx">
<property name="target">
<ref bean="peopleHandicappedMgrTarget" />
</property>
</bean>
<bean id="peopleHelpMgr" parent="basetx">
<property name="target">
<ref bean="peopleHelpMgrTarget" />
</property>
</bean>
<bean id="peopleMoveMgr" parent="basetx">
<property name="target">
<ref bean="peopleMoveMgrTarget" />
</property>
</bean>
<bean id="peopleYfdxMgr" parent="basetx">
<property name="target">
<ref bean="peopleYfdxMgrTarget" />
</property>
</bean>
<bean id="nativeJdbcExtractor"
class="org.springframework.jdbc.support.nativejdbc.CommonsDbcpNativeJdbcExtractor"
lazy-init="true" />
<!-- 大字段处理 -->
<bean id="lobHandler"
class="org.springframework.jdbc.support.lob.OracleLobHandler"
lazy-init="true" />
<!-- -->
<bean id="functionManager"
class="com.centit.sys.service.FunctionManager" />
<bean id="deptManager"
class="com.centit.sys.service.DepartmentManager" />
<bean id="roleManager" class="com.centit.sys.service.RoleManager" />
<bean id="userManager" class="com.centit.sys.service.UserManager" />
<bean id="passwordEncoder"
class="org.acegisecurity.providers.encoding.Md5PasswordEncoder" />
<bean id="codeCategoryManager"
class="com.centit.sys.service.CodeCategoryManager" />
<bean id="codeItemManager"
class="com.centit.sys.service.CodeItemManager" />
<bean id="dataExportManager"
class="com.centit.ca.service.DataExportManager" />
<bean id="checkMgr"
class="com.centit.ca.service.DwellkindCheckManager" />
<bean id="generalStatMgr"
class="com.centit.ca.service.GeneralStatisticManager" />
<!-- 主键生成 -->
<bean id="incrementer"
class="org.springframework.jdbc.support.incrementer.OracleSequenceMaxValueIncrementer">
<property name="incrementerName" value="NJMZ_SEQUENCE" />
<property name="paddingLength" value="8" />
</bean>
<bean id="areaMgr" class="com.centit.ca.service.AreaManager" />
<bean id="belongMgr" class="com.centit.ca.service.BelongManager" />
<bean id="commonCodeRepository"
class="com.centit.ca.util.CommonCodeRepository" init-method="init" />
<bean id="updateMgr"
class="com.centit.ca.service.UpdateDataManager" />
<bean id="updateData" class="com.centit.ca.service.UpdateData"
init-method="update" />
<!-- 人口查询模块 -->
<!-- 小区基本信息数据维护 -->
<bean id="committeeMgr"
class="com.centit.ca.service.CommitteeManager">
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="userOptManager" ref="userOptMgr"></property>
</bean>
<!-- 村居基本信息 -->
<bean id="communityMgr"
class="com.centit.ca.service.CommunityManager">
<property name="incrementer" ref="incrementer" />
<property name="vilInfoMgr" ref="vilInfoMgr"></property>
<property name="vilYearInfoMgr" ref="vilYearInfoMgr"></property>
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="userOptMgr" ref="userOptMgr"></property>
</bean>
<!-- 农村相关信息 -->
<bean id="vilInfoMgr"
class="com.centit.ca.service.VilInfoManager">
<property name="deptMgr" ref="deptManager"></property>
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="userOptMgr" ref="userOptMgr"></property>
</bean>
<!-- 农村 年度 信息 -->
<bean id="vilYearInfoMgr"
class="com.centit.ca.service.VilYearInfoManager">
<property name="communityMgr" ref="communityMgr"></property>
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="userOptMgr" ref="userOptMgr"></property>
</bean>
<!-- 楼院基本信息 数据维护 -->
<bean id="buildingMgrTarget"
class="com.centit.ca.service.BuildingManager">
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="committeeMgr" ref="committeeMgr"></property>
<property name="userOptManager" ref="userOptMgr"></property>
</bean>
<!-- 房屋基本信息 数据维护 -->
<bean id="houseMgrTarget"
class="com.centit.ca.service.HouseManager">
<property name="auditingConfigMgr" ref="audManager"></property>
<property name="userOptManager" ref="userOptMgr"></property>
</bean>
<!-- 户籍相关信息 start -->
<!-- 户籍 -->
<bean id="houseHoldMgr"
class="com.centit.ca.service.HouseHoldManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="codeItemManager" ref="codeItemManager" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 侨属 -->
<bean id="overSeaMgrTarget"
class="com.centit.ca.service.OverSeaManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 农户 -->
<bean id="farmerMgrTarget"
class="com.centit.ca.service.FarmerManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 农机 -->
<bean id="farmerMachineMgrTarget"
class="com.centit.ca.service.FarmerMachineManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 直补 -->
<bean id="farmerSubSidyMgrTarget"
class="com.centit.ca.service.FarmerSubSidyManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 水产养殖 -->
<bean id="farmerAquicultureMgrTarget"
class="com.centit.ca.service.FarmerAquicultureManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 农作物 -->
<bean id="farmerGrantMgrTarget"
class="com.centit.ca.service.FarmerGrantManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 经济作物 -->
<bean id="farmereGrantMgrTarget"
class="com.centit.ca.service.FarmereGrantManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 军烈属 -->
<bean id="armyInfoMgrTarget"
class="com.centit.ca.service.ArmyInfoManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="houseHoldMgr" ref="houseHoldMgr" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<!-- 低保 -->
<bean id="lowProtectMgrTarget"
class="com.centit.ca.service.LowProtectManager">
<property name="auditingConfigMgr" ref="audManager" />
<property name="userOptMgr" ref="userOptMgr" />
</bean>
<bean id="userOptMgr"
class="com.centit.ca.service.UserOptManager">
</bean>
<bean id="proletConfigMgr"
class="com.centit.ca.service.ProletConfigManager">
<property name="customerStatMgr" ref="customerStatMgr" />
</bean>
<bean id="communityStatMgr"
class="com.centit.ca.service.CommunityStatManager">
</bean>
<bean id="customerStatMgr"
class="com.centit.ca.service.CustomerStatManager">
</bean>
<!-- 户籍相关信息 end -->
<!-- 审核配置 start -->
<bean id="audConfigMgr"
class="com.centit.ca.service.AudConfigManager">
</bean>
<!-- 审核配置 end -->
<bean id="houseHoldExtraMgr"
class="com.centit.ca.service.HouseHoldExtraManager" />
<bean id="peopleExtraMgr"
class="com.centit.ca.service.PeopleExtraManager" />
<!-- 组合查询 -->
<bean id="combineQueryMgr"
class="com.centit.ca.service.CombineQueryManager" />
<!-- 自定义查询 -->
<bean id="customQueryMgr"
class="com.centit.ca.service.CustomQueryManager" />
<!-- 数据结构程序更新模块 -->
<bean id="clientVersionUpdatorMgr"
class="com.centit.ca.service.ClientVersionUpdatorManager" />
<bean id="clientProgramUpdatorMgr"
class="com.centit.ca.service.ClientProgramUpdatorManager" />
<!-- 组织机构模块 -->
<bean id="orgMgr" class="com.centit.ca.service.OrganizationManager" />
<!-- 人员操作查询模块 -->
<bean id="optLogMgr" class="com.centit.ca.service.OptLogManager" />
<bean id="updateCheckMgr"
class="com.centit.ca.service.UpdateCheckManager" />
<bean id="updatecheckmMgr"
class="com.centit.ca.service.UpdateCheckMManager" />
<bean id="loginLogMgr"
class="com.centit.ca.service.LoginLogManager" />
<bean id="versionLogMgr"
class="com.centit.ca.service.VersionLogManager" />
<!-- 通知公告 -->
<bean id="noticeMgr" class="com.centit.ca.service.NoticeManager" />
<!-- 验证码 -->
<bean id="registerMgr"
class="com.centit.ca.service.RegisterManager" />
<!-- 验证 -->
<bean id="AuditingConfigMgr"
class="com.centit.ca.service.AuditingConfigManager" />
<!-- 统计分析模块 -->
<bean id="generalStatisticChart"
class="com.centit.ca.chart.GeneralStatisticChart" />
<bean id="fiveprotect" class="com.centit.ca.stat.FiveProtect_T" />
<bean id="farmersubsidy" class="com.centit.ca.stat.FarmerSubsidy_T" />
<bean id="lowincome" class="com.centit.ca.stat.LowIncome_T" />
<bean id="avgincome" class="com.centit.ca.stat.AvgIncome_T" />
<bean id="lowlive" class="com.centit.ca.stat.LowLive_T" />
<bean id="fiveinfo" class="com.centit.ca.stat.FiveProInfo_T" />
<bean id="bearing" class="com.centit.ca.stat.Bearing_T" />
<bean id="threemoney" class="com.centit.ca.stat.ThreeMoney_T" />
<bean id="labor" class="com.centit.ca.stat.Labor_T" />
<bean id="land" class="com.centit.ca.stat.Land_T" />
<!-- 社区管理模块 -->
<bean id="workRecMgr" class="com.centit.ca.service.WorkRecManager" />
<bean id="preQueryMgr"
class="com.centit.ca.service.PreQueryManager" />
<!-- 居民基本信息维护 -->
<bean id="peopleMgr" class="com.centit.ca.service.PeopleManager">
<property name="incrementer" ref="incrementer" />
</bean>
<!-- 居民数据维护 -->
<bean id="audManager"
class="com.centit.ca.service.AuditingConfigManager">
</bean>
<bean id="peopleBearManagerTarget"
class="com.centit.ca.service.PeopleBearManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleSpecialityMgrTarget"
class="com.centit.ca.service.PeopleSpecialityManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleIllManagerTarget"
class="com.centit.ca.service.PeopleIllManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleExinMgrTarget"
class="com.centit.ca.service.PeopleExinFovManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleExinFocMgrTarget"
class="com.centit.ca.service.PeopleExinFocManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleOldManMgrTarget"
class="com.centit.ca.service.PeopleOldManManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleDeathMgrTarget"
class="com.centit.ca.service.PeopleDeathManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleHandicappedMgrTarget"
class="com.centit.ca.service.PeopleHandicappedManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleHelpMgrTarget"
class="com.centit.ca.service.PeopleHelpManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleMoveMgrTarget"
class="com.centit.ca.service.PeopleMoveManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<bean id="peopleYfdxMgrTarget"
class="com.centit.ca.service.PeopleYfdxManager">
<property name="peopleMgr" ref="peopleMgr" />
<property name="audManager" ref="audManager" />
</bean>
<!-- excel数据导入 -->
<bean id="importLogMgr"
class="com.centit.ca.service.ImportLogManager">
<property name="incrementer" ref="incrementer" />
<property name="logErrorMgr" ref="logErrorMgr"/>
</bean>
<bean id="logErrorMgr"
class="com.centit.ca.service.LogErrorManager">
<property name="incrementer" ref="incrementer" />
</bean>
<bean id="bearExcelRead"
class="com.centit.ca.util.BearExcelRead" >
<property name="peopleMgr" ref="peopleMgr" />
</bean>
<!-- 自定义统计 -->
<bean id="customStatMgr"
class="com.centit.ca.service.CustomStatManager" />
<!-- 民政局上传数据 -->
<bean id="smzUploadMgr"
class="com.centit.ca.service.SMZUploadService">
<property name="paraMgr" ref="paraMgr"></property>
</bean>
<!-- 系统参数 -->
<bean id="paraMgr" class="com.centit.sys.service.AppParaManager">
</bean>
</beans>
以上是我的整个配置文件 在把
<!-- 农村相关信息 -->
<!-- 农村 年度 信息 -->
<!-- 户籍 -->
等bean加入事务就会启动不了,死在那,不加入就正常,是不是事务嵌套的问题啊?
请各位帮我看下