The following is the sql trace of the Hibernate.
Hibernate: insert into folder (ObjectName, ObjectType, Name, Revision, VaultName, Policy, ObjectOwner, Grantee, Originated, Modified, Description, LastAction, LastActionDateTime, LastActionUserId, Status, Path, LinkType, OldStatus, CaXML, CaDefnId, Title, LockStatus, SearchKeyword, Notify, ReasonForLock, EntityType, ParentType, ContentObjectType, ElementType, ElementExists, ParentId, SpaceId, FolderId) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: update document set FolderId=null where FolderId=?
Hibernate: update folder set ParentId=null where ParentId=?
Hibernate: update document set FolderId=null where FolderId=?
Hibernate: update folder set ParentId=null where ParentId=?
Hibernate: update folder set ParentId=? where FolderId=?
I am surprised to see the updates for child folders and child documents even though there is no child folder or child document in the parent folder being created.
thanks,
TM
_________________ TM
|