[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4593) joinColumns element in @CollectionTable does not work as expected

Jaroslaw Lewandowski (JIRA) noreply at atlassian.com
Thu Nov 19 10:28:08 EST 2009


joinColumns element in @CollectionTable does not work as expected
-----------------------------------------------------------------

                 Key: HHH-4593
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4593
             Project: Hibernate Core
          Issue Type: Bug
          Components: annotations, core, entity-manager
    Affects Versions: 3.5.0-Beta-2
            Reporter: Jaroslaw Lewandowski
         Attachments: ElementCollectionTest.java, Foo.java

The spec says the following about joinColumns element of @CollectionTable:

"The foreign key columns of the collection table which reference the primary
table of the entity".

In my understanding this is the name of the column in the collection table.
Unfortunately setting other names then in columns in entity table does not
work.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list