[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-633) Allow definition of annotations at package-level in package-info.java

Michael Mogley (JIRA) noreply at atlassian.com
Thu Nov 11 15:58:13 EST 2010


Allow definition of annotations at package-level in package-info.java
---------------------------------------------------------------------

                 Key: HSEARCH-633
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-633
             Project: Hibernate Search
          Issue Type: Improvement
    Affects Versions: 3.3.0.CR1
         Environment: Hibernate 3.6, Oracle 10g
            Reporter: Michael Mogley
            Priority: Minor


Currently, it is not possible to define package-level annotations, for example a set of analyzer definitions that are shared by all classes in a package. Having this feature would really aid in code organization, allowing global search-related annotations to be separate from model classes. The situation right now, where an AnalyzerDef annotation defined in one model class is also referencable from another model class, is not intuitive.  Please see the thread below:

https://forum.hibernate.org/viewtopic.php?f=9&t=1008145&p=2438323#p2438323

-- 
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