[security-dev] relationship query not working
Pedro Igor Silva
psilva at redhat.com
Thu Aug 1 18:02:58 EDT 2013
There is no difference, usually I use it only in fields. But i have already used in methods and worked fine.
But the point is the entity mapping, if you're using the JPA store. Are u using the JPA store ?
If so, take a look at how I'm mapping the following entity:
----- Original Message -----
From: "Bill Burke" <bburke at redhat.com>
To: "Pedro Igor Silva" <psilva at redhat.com>
Cc: security-dev at lists.jboss.org
Sent: Thursday, August 1, 2013 6:31:28 PM
Subject: Re: [security-dev] relationship query not working
So @AttributeProperty has to go on the field? Not the getter method?
On 8/1/2013 5:20 PM, Pedro Igor Silva wrote:
> That is a mapping issue, I think.
> Can you take a look at following test case / mapping ?
> ----- Original Message -----
> From: "Bill Burke" <bburke at redhat.com>
> To: "Pedro Igor Silva" <psilva at redhat.com>
> Cc: security-dev at lists.jboss.org
> Sent: Thursday, August 1, 2013 5:00:59 PM
> Subject: Re: [security-dev] relationship query not working
> Its not only the query, but no @AttributeProperty is loaded. You have
> to do all ad-hoc attributes for Relationships.
> On 8/1/2013 11:44 AM, Pedro Igor Silva wrote:
>> JIRA updated. It will be fixed for Beta7.
>> If you like you can use ad-hoc attributes for now. They are queriable.
>> ----- Original Message -----
>> From: "Bill Burke" <bburke at redhat.com>
>> To: security-dev at lists.jboss.org
>> Sent: Thursday, August 1, 2013 10:34:19 AM
>> Subject: [security-dev] relationship query not working
>> I have a custom relationship that only has @AttributeProperty values. I
>> am querying based on an AttributeParameter and not getting any results
>> back. I don't know if this is a bug or something I'm doing wrong.
>> testCreate2() is the test
JBoss, a division of Red Hat
More information about the security-dev