I am trying to get a distinct list of one particular column.
Somehow or the other, I am just not getting what I expect back...
Here is the query that I am trying...
@NamedQuery(name="getDstResourceIDsByOrgIDs", query="SELECT DISTINCT d.resourceId FROM DistListPermission d WHERE d.organizationId in ?1")
Now if I am not correct, should that return a distinct list of resourceID's where the organizationID is in a list of organizationID's. Right now this is the result I get...
org.apache.openjpa.kernel.DistinctResultList@191f191f
I mean, what on earth is that???