mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Fixes bug with different column types not matching generated key target type - Submitted to https://issues.apache.org/jira/browse/IBATIS-142 - MySQL and SQLServer use generated keys - Other tidy ups git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13732 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
20 lines
639 B
XML
20 lines
639 B
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">
|
|
|
|
<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#)
|
|
|
|
<selectKey resultClass="long" keyProperty="id" type="post">
|
|
KEY_COLUMN:GENERATED_KEY
|
|
</selectKey>
|
|
|
|
</insert>
|
|
|
|
</sqlMap> |