[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2906) Public access to meta-values in MetaType

Jens Bruhn (JIRA) noreply at atlassian.com
Tue Oct 23 08:26:38 EDT 2007


Public access to meta-values in MetaType
----------------------------------------

                 Key: HHH-2906
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2906
             Project: Hibernate3
          Issue Type: Improvement
          Components: metamodel
    Affects Versions: 3.2.5
         Environment: w2k, hibernate 3.2.5, postgres
            Reporter: Jens Bruhn
            Priority: Minor


I need public access to the meta-keys and values in the MetaType class. I know, that i can receive these values from the "Any" class, but i need static access without having an object of "Any" type.

Cause: I want to query, where a specific object is used. I can go through the configuration informations to see in which properties this object could be used. It works fine for all entitiy properties. But in some cases i have to use "Any" type. In the xml file i have MetaValues, which classes are allowed in this "Any" type. But i don't have access to these infos without querying one of those any objects. But i don't want to query if i don't have to... So it would be useful to make these infos public in MetaType.

Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list