diff --git a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/avm-common-SqlMap.xml b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/avm-common-SqlMap.xml
index 35f7fa9e15..4bac3e5b14 100644
--- a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/avm-common-SqlMap.xml
+++ b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/avm-common-SqlMap.xml
@@ -137,6 +137,10 @@
+
+
+
+
@@ -419,7 +423,17 @@
(class_type = 'layereddirectory' or class_type = 'layeredfile') and
store_new_id = ?
-
+
+
+