Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Correct programmatic way to determine whether an attribute is unique?

On Wed, Oct 26, 2011 at 11:35 AM, James Sutherland <jamesssss@xxxxxxxxx> wrote:
The meta-model does not provide complete accessed to the JPA meta-data, it
provides mainly only items required for use with the criteria API.

Thanks kindly for your answer.  I was afraid of that.

I'm aware I can use reflection to investigate the annotations--if they're present.  But I can't easily take into consideration XML overrides.

Sure do wish there were a standardized helper class to do this for me--that's why I was looking at the metamodel API in the first place....

Thanks again,
Laird

--
http://about.me/lairdnelson


Back to the top