select
server
from
org.alfresco.repo.domain.hibernate.ServerImpl as server
where
server.ipAddress = :ipAddress
select
txn
from
org.alfresco.repo.domain.hibernate.TransactionImpl as txn
where
txn.id = :txnId
order by
txn.commitTimeMs
= :fromTimeInclusive and
txn.commitTimeMs < :toTimeExclusive and
txn.id not in (:excludeTxnIds)
order by
txn.commitTimeMs
]]>
= :fromTimeInclusive and
txn.commitTimeMs < :toTimeExclusive and
txn.id not in (:excludeTxnIds)
order by
txn.commitTimeMs desc
]]>
select
count(txn.id)
from
org.alfresco.repo.domain.hibernate.TransactionImpl as txn
select
count(status.key.guid)
from
org.alfresco.repo.domain.hibernate.NodeStatusImpl as status
join status.transaction as txn
where
txn.id = :txnId and
status.node is not null
select
count(status.key.guid)
from
org.alfresco.repo.domain.hibernate.NodeStatusImpl as status
join status.transaction as txn
where
txn.id = :txnId and
status.node is null
select
status
from
org.alfresco.repo.domain.hibernate.NodeStatusImpl as status
where
status.transaction.id = :txnId and
status.key.protocol = :protocol and
status.key.identifier = :identifier
select
status
from
org.alfresco.repo.domain.hibernate.NodeStatusImpl as status
where
status.transaction.id = :txnId