...so It was my fault... sorry for the inconveniences, I am at your
disposal for corrections if you want.
Carlos
Martin West (JIRA) wrote:
[ http://team.andromda.org:8080/jira/browse/HIB-37?page=comments#action_10681 ]
Martin West commented on HIB-37:
--------------------------------
The SpringEntityAssociation is a subclass of EntityAssociation whereas HibernateAssociation is a subclass of Association. EntityAssociation has the tableName attribute.
many-to-many association association table is not being rendered
----------------------------------------------------------------
Key: HIB-37
URL: http://team.andromda.org:8080/jira/browse/HIB-37
Project: Hibernate Cartridge
Type: Bug
Reporter: Chad Brandon
Assignee: Martin West
Priority: Blocker
If you take a look at the test output in the andromda-hibernate cartridge directory you'll see that it has this:
/**
*
*
* @hibernate.set
* lazy="true"
* table="$associationEnd.association.tableName"
* @hibernate.collection-key
* column="ENTITY_FIVES_FK"
* @hibernate.collection-many-to-many
* column="ENTITY_FOURS_FK"
* class="org.andromda.cartridges.hibernate.EntityFour"
*/
public java.util.Collection getEntityFours()
{
return this.entityFours;
}
on the EntityFive test entity, as you can see from "$associationEnd.association.tableName" the association table name is not correctly rendered.
|
- Re: [Andromda-devel] AndroMDA/JIRA Commented: (HIB-37) many-... Carlos Cuenca
-