mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
- Turned namespacing on - Collapsed SqlMapConfig.xml files with the exception of that for activities, which uses a different datasource bean - Tried to use it and discovered a "feature": If any ID has a '.' in it, then it is assumed to be namespaced already ... - Fixed up all IDs for iBatis objects; replaced '.' with '_' except in our namespaces - Don't panic! It's a find/replace job of ID strings. Errors will be hard and fast, if there are any. All DAO and activities tests run. - The AVM refactor will get some conflicts in the ibatis-context.xml - Either follow the same pattern and fix up the IDs, or - Keep a separate bean until some later time. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16106 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
37 lines
1.3 KiB
XML
37 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!DOCTYPE sqlMap
|
|
PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
|
|
"http://ibatis.apache.org/dtd/sql-map-2.dtd">
|
|
|
|
<sqlMap namespace="alfresco.content">
|
|
|
|
<insert id="insert_Mimetype" parameterClass="Mimetype" >
|
|
<include refid="alfresco.content.insert_Mimetype_AutoIncrement"/>
|
|
<selectKey resultClass="long" keyProperty="id" type="post">
|
|
KEY_COLUMN:GENERATED_KEY
|
|
</selectKey>
|
|
</insert>
|
|
|
|
<insert id="insert_Encoding" parameterClass="Encoding" >
|
|
<include refid="alfresco.content.insert_Encoding_AutoIncrement"/>
|
|
<selectKey resultClass="long" keyProperty="id" type="post">
|
|
KEY_COLUMN:GENERATED_KEY
|
|
</selectKey>
|
|
</insert>
|
|
|
|
<insert id="insert_ContentUrl" parameterClass="ContentUrl" >
|
|
<include refid="alfresco.content.insert_ContentUrl_AutoIncrement"/>
|
|
<selectKey resultClass="long" keyProperty="id" type="post">
|
|
KEY_COLUMN:GENERATED_KEY
|
|
</selectKey>
|
|
</insert>
|
|
|
|
<insert id="insert_ContentData" parameterClass="ContentData" >
|
|
<include refid="alfresco.content.insert_ContentData_AutoIncrement"/>
|
|
<selectKey resultClass="long" keyProperty="id" type="post">
|
|
KEY_COLUMN:GENERATED_KEY
|
|
</selectKey>
|
|
</insert>
|
|
|
|
</sqlMap> |