大家看看这段配置错在那里了
错误提示This SQL map does not contain a MappedStatement named ActivityMap.insert
<?xml version="1.0" encoding="utf-8" ?>
<sqlMap namespace="ActivityMap" xmlns="http://ibatis.apache.org/mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<alias>
<typeAlias alias="Activity" type="AS.GroupOn.Domain.Spi.Activity,AS.GroupOn" />
</alias>
<cacheModels>
<cacheModel id="c" implementation="MEMORY" readOnly="true">
<flushInterval seconds="3" />
<flushOnExecute statement="insert"/>
<property name="CacheSize" value="10000" />
</cacheModel>
</cacheModels>
<statements>
<insert id="insert" parameterClass="Activity" >
insert into [Activity]
(signup,brand_id,recommend,title,city_id,level_cityid,areaid,circleid,
seotitle,seokeyword,seodescription,theprice,activityprice,start_time,expire_time,
partner_id,Image,tosignup,partici,traffic,busHours,thePhone,address,flv,process,summary,state,sort)
values
(#signup#,#brand_id#,#recommend#,#title#,#city_id#,#level_cityid#,#areaid#,#circleid#,
#seotitle#,#seokeyword#,#seodescription#,#theprice#,#activityprice#,#start_time#,#expire_time#,
#partner_id#,#Image#,#tosignup#,#partici#,#traffic#,#busHours#,#thePhone#,#address#,#flv#,#process#,
#summary#,#state#,#sort#)
<selectKey type="post" resultClass="System.Int32" property="id">
select @@identity as value
</selectKey>
</insert>
</statements>
</sqlMap>