[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6601) Change hibernate logging of missing package-info messages.

Jeremy Whiting (JIRA) noreply at atlassian.com
Wed Aug 24 10:18:02 EDT 2011


Change hibernate logging of missing package-info messages.
----------------------------------------------------------

                 Key: HHH-6601
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6601
             Project: Hibernate Core
          Issue Type: Improvement
          Components: core
    Affects Versions: 4.0.0.CR1
         Environment: RHEL 5.5
            Reporter: Jeremy Whiting
            Priority: Minor
         Attachments: package-warnings.txt

When starting the server logging messages with level WARN are generated. These messages indicate the imported package does not contain a package-info.java file.
But the package does not contain entities so it is irrelevant.

Either of the following would be better than the current situation. Change the behaviour to detect if the package contains any entities before checking for the presence of the file. Or change the logging level of the message.


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