Hibernate 3 Annotations support
-------------------------------

         Key: MHIBERNATE-1
         URL: http://jira.codehaus.org/browse/MHIBERNATE-1
     Project: Maven 2.x Hibernate Plugin
        Type: New Feature

    Reporter: Sylvain Vieujot
 Attachments: mavenHibernateAnnotationsPlugin.tar.gz

As the current Hibernate mojo doesn't support the Annotations, I did a new 
plugin that search for the annotated @Entity and include a corresponding 
<mapping class="..."/> in the hibernate.cfg.xml.

I attach the source code.
It's quite simple, but with the com.seanergie package name.
If this can be contributed to the project, I can work to make it a little 
cleaner and with the right package name.

In your hibernate.cfg.xml you should include the following tag where you want 
the mappings to be inserted :
<!-- Include Mapping classes here -->

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to