Mybatis insert 序列
<insert id="addAreaServiceMapping" parameterType="AreaServiceMappings"><selectKey keyProperty="id" resultType="long" order="BEFORE">
select IE_SQE_AREASERVICEMAPPINGS.Nextval from dual
</selectKey>
insert into IE_AREASERVICEMAPPINGS (ID,SERVICEURL,SERVICEDES)
values(#{id},#{serviceUrl,jdbcType=VARCHAR},#{serviceDes,jdbcType=VARCHAR})
</insert>
页:
[1]