[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2549) Warn users explicitly about schemaexport does not support annotations

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Fri Apr 6 04:15:04 EDT 2007


Warn users explicitly about schemaexport does not support annotations
---------------------------------------------------------------------

                 Key: HHH-2549
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2549
             Project: Hibernate3
          Issue Type: Improvement
          Components: core
    Affects Versions: 3.2.3
            Reporter: Max Rydahl Andersen
             Fix For: 3.2.4


Users does not realize hibernate core doesn't do annotation and thus the builtin schemaexport ant task
does not help them.

Printing something like the following when running could help them in the right direction (since no error 
might not occur if their cfg.xml is empty)
""This is an Ant task for JDK 1.4, if you want to use annotations, use  http://tools.hibernate.org/""

The error message could be improved similarily (see  http://forum.hibernate.org/viewtopic.php?t=972724)



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