You didn't have the HibernateAssociationFacade extend the
EntityAssociationeFacade? (if you did that getTableName() would have come
with it).

________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Cuenca
Sent: Monday, January 17, 2005 2:53 AM
To: andromda >> 'Developers AndroMDA'
Subject: [Norton AntiSpam] Re: [Andromda-devel] AndroMDA/JIRA Commented:
(HIB-37) many-to-many association association table is not being rendered

Hi,

I added the Association Facade and the Hibernate association to the
hibernate model, and the problem is that such attribute is not defined.

Carlos

Martin West (JIRA) wrote:

     [
http://team.andromda.org:8080/jira/browse/HIB-37?page=comments#action_10680
]
     
Martin West commented on HIB-37:
--------------------------------

OK, investigating

  
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.  
    

  




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to