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

Sanne Grinovero (JIRA) noreply at atlassian.com
Mon Oct 24 11:00:19 EDT 2011


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

Sanne Grinovero updated HSEARCH-633:
------------------------------------

    Suitable for new contributors: [Yes, likely]
                    Fix Version/s:     (was: 4.0.0.Final)
                                   4.1

> 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
>          Components: engine, mapping
>    Affects Versions: 3.3.0.CR1
>         Environment: Hibernate 3.6, Oracle 10g
>            Reporter: Michael Mogley
>            Priority: Minor
>             Fix For: 4.1
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list