Example of trasnaction to wrap a query that returns multiple assets #fabric-sdk-java

Mike Ault <mrault@...>

I have a asset, cattle, and all other transactions work against it, I am trying to issue a simple query that returns all the cattle, that haven't been processed or marked as killed owned by a specific farmer. I need to wrap this query in a transaction passing it the farmer identification and then have it return to console the list of cattle. Here is a complete code listing:

I need an example transaction to call the query and display the results, all I am finding are the vehicle transactions and a rather simplistic trade transaction that use simple queries, but don't seem to return the results.