[
http://jira.codehaus.org/browse/MHIBERNATE-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Johann Reyes closed MHIBERNATE-1.
---------------------------------
Assignee: Johann Reyes
Resolution: Fixed
The hibernate3-maven-plugin contains already support for annotations.
> Hibernate 3 Annotations support
> -------------------------------
>
> Key: MHIBERNATE-1
> URL: http://jira.codehaus.org/browse/MHIBERNATE-1
> Project: Maven 2.x Hibernate Plugin
> Issue Type: New Feature
> Reporter: Sylvain Vieujot
> Assignee: Johann Reyes
> Attachments: mavenHibernateAnnotationsPlugin.tar.gz
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> 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
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email