[
http://jira.codehaus.org/browse/MHIBERNATE-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195465#action_195465
]
Benson Margulies commented on MHIBERNATE-98:
--------------------------------------------
How's this?
{code:xml}
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>codegen</id>
<goals>
<goal>hbm2java</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<components>
<component>
<name>hbm2java</name>
</component>
</components>
<componentProperties>
<configurationfile>src/main/hibernate/codegen-hibernate.xml</configurationfile>
</componentProperties>
</configuration>
</execution>
</executions>
</plugin>
{code}
> Classes not generated for <component> keys
> ------------------------------------------
>
> Key: MHIBERNATE-98
> URL: http://jira.codehaus.org/browse/MHIBERNATE-98
> Project: Maven 2.x Hibernate Plugin
> Issue Type: Bug
> Components: hbm2java
> Affects Versions: 2.2
> Reporter: Benson Margulies
> Assignee: Johann Reyes
>
> If I have a composite-id in my hbm.xml file, hbm2java obediently creates the
> necessary class. If I do likewise with <component/> to define a multi-column
> unique item constraint, it does not. Further, I can't spot anything in the
> plugin doc that would let me give it a classpath for finding such a class if
> I had one of my own.
--
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