Hi,
Try this may be it'll help
QuerySpec qss = new QuerySpec(EPMDocument.class);
EPMDocument doc = null;
qss.appendWhere(new SearchCondition(EPMDocument.class,EPMDocument.CONTAINER_NAME,SearchCondition.EQUAL,"<your container name>"),new int[] { 0 });
qss.appendAnd();
qss.appendWhere(new SearchCondition(EPMDocument.class,EPMDocument.FOLDER_PATH,SearchCondition.EQUAL,"<your folder path>"),new int[] { 0 });
QueryResult qrr = PersistenceHelper.manager.find((StatementSpec)qss);
while(qrr.hasMoreElements())
{
doc = (EPMDocument)qrr.nextElement();
}
Message was edited by: kaushik das