mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed usage of iBatis namespaces
- 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
This commit is contained in:
@@ -37,9 +37,9 @@ import org.springframework.orm.ibatis.SqlMapClientTemplate;
|
||||
*/
|
||||
public class EncodingDAOImpl extends AbstractEncodingDAOImpl
|
||||
{
|
||||
private static final String SELECT_ENCODING_BY_ID = "select.EncodingById";
|
||||
private static final String SELECT_ENCODING_BY_KEY = "select.EncodingByKey";
|
||||
private static final String INSERT_ENCODING = "insert.Encoding";
|
||||
private static final String SELECT_ENCODING_BY_ID = "alfresco.content.select_EncodingById";
|
||||
private static final String SELECT_ENCODING_BY_KEY = "alfresco.content.select_EncodingByKey";
|
||||
private static final String INSERT_ENCODING = "alfresco.content.insert_Encoding";
|
||||
|
||||
private SqlMapClientTemplate template;
|
||||
|
||||
|
Reference in New Issue
Block a user