mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
47 lines
1.5 KiB
XML
47 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="alfresco.avm.insert">
|
|
|
|
<insert id="insert_AVMStore" parameterType="AVMStore">
|
|
|
|
<selectKey resultType="long" keyProperty="id" order="BEFORE" >
|
|
select nextVal('avm_stores_seq')
|
|
</selectKey>
|
|
|
|
<include refid="alfresco.avm.insert_AVMStore_Sequence"/>
|
|
|
|
</insert>
|
|
|
|
<insert id="insert_AVMStoreProperty" parameterMap="alfresco.avm.parameter_IdStorePropertyPatternMap">
|
|
|
|
<selectKey resultType="long" keyProperty="id" order="BEFORE" >
|
|
select nextVal('avm_store_properties_seq')
|
|
</selectKey>
|
|
|
|
<include refid="alfresco.avm.insert_AVMStoreProperty_Sequence"/>
|
|
|
|
</insert>
|
|
|
|
<insert id="insert_AVMNode" parameterType="AVMNode">
|
|
|
|
<selectKey resultType="long" keyProperty="id" order="BEFORE" >
|
|
select nextVal('avm_nodes_seq')
|
|
</selectKey>
|
|
|
|
<include refid="alfresco.avm.insert_AVMNode_Sequence"/>
|
|
|
|
</insert>
|
|
|
|
<insert id="insert_AVMVersionRoot" parameterType="AVMVersionRoot">
|
|
|
|
<selectKey resultType="long" keyProperty="id" order="BEFORE" >
|
|
select nextVal('avm_version_roots_seq')
|
|
</selectKey>
|
|
|
|
<include refid="alfresco.avm.insert_AVMVersionRoot_Sequence"/>
|
|
|
|
</insert>
|
|
|
|
</mapper> |