[
http://jira.codehaus.org/browse/MHIBERNATE-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195466#action_195466
]
Benson Margulies commented on MHIBERNATE-98:
--------------------------------------------
And here's the hibernate.xml:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory name="sessionFactory">
<property name="hbm2ddl.auto">create-drop</property>
<property name="show_sql">true</property>
<property
name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
<mapping resource="com/basistech/configdb/dao/Gazentry.hbm.xml"/>
<mapping resource="com/basistech/configdb/dao/FileGazetteer.hbm.xml"/>
<mapping resource="com/basistech/configdb/dao/Gazetteer.hbm.xml"/>
<mapping resource="com/basistech/configdb/dao/Regexpset.hbm.xml"/>
<mapping resource="com/basistech/configdb/dao/Regexpvar.hbm.xml"/>
<mapping resource="com/basistech/configdb/dao/Regexp.hbm.xml"/>
</session-factory>
</hibernate-configuration>
{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