All Downloads are FREE. Search and download functionalities are using the official Maven repository.

alfresco.ibatis.org.hibernate.dialect.H2Dialect.avm-insert-SqlMap.xml Maven / Gradle / Ivy

There is a newer version: 5.0
Show newest version
<?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>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy