[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2549?page=c...
]
Max Rydahl Andersen closed HHH-2549.
------------------------------------
Resolution: Fixed
Committed so something like the following will be printed when running
schemaexport/update:
INFO - Running Hibernate Core SchemaExport.
INFO - This is is an Ant task supporting only mapping files, if you want to use
annotations see
http://tools.hibernate.org.
Warn users explicitly about schemaexport and schemaupdate 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
Assignee: 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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira