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

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Jan 27 09:33:05 EST 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard updated HSEARCH-633:
-------------------------------------

    Fix Version/s: 3.4.0

This looks like a good feature. We would need to get the list of packages to look annotations on though,

> 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
>             Fix For: 3.4.0
>
>
> 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