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

alfresco.ibatis.org.hibernate.dialect.H2Dialect.content-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.content.insert">
   
   <insert id="insert_Mimetype" parameterType="Mimetype" >
        
        <selectKey resultType="long" keyProperty="id" order="BEFORE" >
            select nextVal('alf_mimetype_seq')
        </selectKey>
        
        <include refid="alfresco.content.insert_Mimetype_Sequence"/>
        
    </insert>
    
    <insert id="insert_Encoding" parameterType="Encoding" >
    
        <selectKey resultType="long" keyProperty="id" order="BEFORE" >
             select nextVal('alf_encoding_seq')
        </selectKey>
        
        <include refid="alfresco.content.insert_Encoding_Sequence"/>
        
    </insert>
    
    <insert id="insert_ContentUrl" parameterType="ContentUrl" >
        
        <selectKey resultType="long" keyProperty="id" order="BEFORE" >
            select nextVal('alf_content_url_seq')
        </selectKey>
        
         <include refid="alfresco.content.insert_ContentUrl_Sequence"/>
        
    </insert>
    
    <insert id="insert_ContentData" parameterType="ContentData" >
    
        <selectKey resultType="long" keyProperty="id" order="BEFORE" >
            select nextVal('alf_content_data_seq')
        </selectKey>
        
        <include refid="alfresco.content.insert_ContentData_Sequence"/>
        
    </insert>
    
</mapper>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy