Fixes to only allow m2m intersection save from one direction based on

beanName.  Supports BUG 429 : Pull Request: jroper - Fixing ManyToMany
association saving bug
This commit is contained in:
rbygrave
2012-10-02 14:59:27 +13:00
parent 21d63c7424
commit bca787b54d
4 changed files with 41 additions and 3 deletions
@@ -181,4 +181,9 @@ public interface SpiTransaction extends Transaction {
* </p>
*/
public Connection getInternalConnection();
/**
* Return true if the manyToMany intersection should be persisted for this particular relationship direction.
*/
public boolean isSaveAssocManyIntersection(String intersectionTable, String beanName);
}