DataSource Configuration and Many-to-Many Relationship
Posted: Thu Mar 08, 2012 10:41 am
Hello:
I'm currently experiencing difficulty setting up a DataSourceFactory for a many-to-many bi-directional relationship in the admin tool. I'm able to get this working from the owning side of the relationship, but it doesn't work from the opposite side. From that side, no records are persisted in my association table.
Is there something I need to be doing to create a DataSourceFactory for listing/persisting entities of the non-owning side of the relationship? I looked at the example from the guide related to AdminRole and AdminPermission and changed my JPA mappings to be similar, but still no luck.
Thanks.
I'm currently experiencing difficulty setting up a DataSourceFactory for a many-to-many bi-directional relationship in the admin tool. I'm able to get this working from the owning side of the relationship, but it doesn't work from the opposite side. From that side, no records are persisted in my association table.
Is there something I need to be doing to create a DataSourceFactory for listing/persisting entities of the non-owning side of the relationship? I looked at the example from the guide related to AdminRole and AdminPermission and changed my JPA mappings to be similar, but still no luck.
Thanks.