So using HQL in velocity helps a little, I have been able to get results, and for that I thank you. I did run into an unexpected issues that you might be able to help with. Below is the query that was used {{velocity}} #set($hql = "select obj.name, prop.value from BaseObject obj, StringProperty prop where obj.className='CustClasses.ToolClass' and prop.id.id=obj.id and prop.name='ProductName'") #set($results = $xwiki.search($hql, 1000, 0)) #foreach ($item in $results) * $item #end {{/velocity}} While I get a result it is an unexpected value, it appears to have returned the object ID see below: * [Ljava.lang.Object;@af0baa It should be noted when I just try to get the obj.name without the property value it works fine. Now that I know the Query generally works in Velocity, It should be the same thing to just cut and paste the Query into the DB List attribute of an object. Thanks for your continued help and timely response. On a side note, I would like to be able to create links on results (when used inside of a velocity script on a page), is there an easy way to do that as well? Martin Modus Operandi -- View this message in context: http://xwiki.475771.n2.nabble.com/DB-List-Query-Problems-tp5654730p5656001.h... Sent from the XWiki- Users mailing list archive at Nabble.com.