mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
11410: Activity Service - iBatis mapping files for MS SQL Server (using AlfrescoSQLServerDialect) Can be Enterprised when dual build is set up 11414: Fix for missing servlet reference in repo web.xml 11415: Activity Service - iBatis mapping files for new Oracle dialects (using AlfrescoOracle10gDialect or AlfrescoOracle9iDialect) Can be Entperprised when dual build is up 11424: Remove conflicting java mail libraries. NOTE: Might affect 'CMIS web service implementation' 11426: Activity Service - use lower-case columns 11428: ETHREEOH-300: Site contributor can not delete his own blog posts 11431: Removed tutorial from Guest home 11432: ETHREEOH-198: SiteService is not MT enabled 11440: Close all ScrollableResults in try{} finally{} 11442: Fix for ETHREEOH-268, ETHREEOH-269, ETHREEOH-431, ETHREEOH-438, ETHREEOH-456, ETHREEOH-468, ETHREEOH-532 11443: Update to JSF client Help URL 11444: Build fix 11447: MT - fix ETHREEOH-530 11448: Fix for ETHREEOH-424: Edit Web Content: dojo.data.fromrfc3339 is not a function 11449: Fix for ETHREEOH-218: DM forms should be disabled git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12427 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
56 lines
2.1 KiB
XML
56 lines
2.1 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="ActivityFeedControl">
|
|
|
|
<typeAlias alias="FeedControl" type="org.alfresco.repo.activities.feed.control.FeedControlDAO"/>
|
|
|
|
<resultMap id="FeedControlResult" class="FeedControl">
|
|
<result property="id" column="id"/>
|
|
<result property="feedUserId" column="feed_user_id"/>
|
|
<result property="siteNetwork" column="site_network"/>
|
|
<result property="appTool" column="app_tool"/>
|
|
<result property="lastModified" column="last_modified"/>
|
|
</resultMap>
|
|
|
|
<select id="select.activity.feedcontrols.for.user" parameterClass="FeedControl" resultClass="FeedControl">
|
|
<![CDATA[
|
|
select id as id, feed_user_id as feedUserId, site_network as siteNetwork, app_tool as appTool
|
|
from alf_activity_feed_control
|
|
where feed_user_id = #feedUserId#
|
|
]]>
|
|
</select>
|
|
|
|
<select id="select.activity.feedcontrol" parameterClass="FeedControl" resultClass="long">
|
|
<![CDATA[
|
|
select id as id
|
|
from alf_activity_feed_control
|
|
where feed_user_id = #feedUserId#
|
|
and site_network = #siteNetwork#
|
|
and app_tool = #appTool#
|
|
]]>
|
|
</select>
|
|
|
|
<insert id="insert.activity.feedcontrol" parameterClass="FeedControl">
|
|
insert into alf_activity_feed_control (feed_user_id, site_network, app_tool, last_modified)
|
|
values (#feedUserId#, #siteNetwork#, #appTool#, #lastModified#)
|
|
|
|
<!-- optionally return auto-generated primary key - only required for debug (can be commented out) -->
|
|
<selectKey resultClass="long" keyProperty="id" type="post">
|
|
select LAST_INSERT_ID() AS value
|
|
</selectKey>
|
|
</insert>
|
|
|
|
<delete id="delete.activity.feedcontrol" parameterClass="FeedControl">
|
|
<![CDATA[
|
|
delete from alf_activity_feed_control
|
|
where feed_user_id = #feedUserId#
|
|
and site_network = #siteNetwork#
|
|
and app_tool = #appTool#
|
|
]]>
|
|
</delete>
|
|
|
|
</sqlMap> |