mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Schema changes and ID-based node storage
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -376,10 +376,10 @@ public abstract class BaseNodeServiceTest extends BaseSpringTest
|
||||
private int countNodesById(NodeRef nodeRef)
|
||||
{
|
||||
String query =
|
||||
"select count(node.key.guid)" +
|
||||
"select count(node.uuid)" +
|
||||
" from " +
|
||||
NodeImpl.class.getName() + " node" +
|
||||
" where node.key.guid = ?";
|
||||
" where node.uuid = ?";
|
||||
Session session = getSession();
|
||||
List results = session.createQuery(query)
|
||||
.setString(0, nodeRef.getId())
|
||||
@@ -710,7 +710,7 @@ public abstract class BaseNodeServiceTest extends BaseSpringTest
|
||||
"select node.childAssocs" +
|
||||
" from " +
|
||||
NodeImpl.class.getName() + " node" +
|
||||
" where node.key.guid = ?";
|
||||
" where node.uuid = ?";
|
||||
Session session = getSession();
|
||||
List results = session.createQuery(query)
|
||||
.setString(0, nodeRef.getId())
|
||||
|
Reference in New Issue
Block a user