ServerQuery does not use RemoteAdapterFactory for creating ServerQueryResult
----------------------------------------------------------------------------
Key: JCR-1226
URL: https://issues.apache.org/jira/browse/JCR-1226
Project: Jackrabbit
Issue Type: Bug
Components: jackrabbit-jcr-rmi
Affects Versions: 1.3
Reporter: Vladimir Bayanov
The ServerQuery sould use the Factory for creating ServerQueryResult.
Siehe the method ServerQuery.execute():
{code}
public RemoteQueryResult execute() throws RepositoryException, RemoteException {
return new ServerQueryResult(query.execute(), getFactory());
}
{code}
it should be:
{code}
public RemoteQueryResult execute() throws RepositoryException,
RemoteException {
return getFactory().getRemoteQueryResult(this.query.execute());
}
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.