| CascadeTest.java | Class | According to the JPA spec, persist()ing an entity should throw an exception
when said entity contains a reference to a transient entity through a mapped
association where that association is not marked for cascading the persist
operation.
This test-case tests that requirement in the various association style
scenarios such as many-to-one, one-to-one, many-to-one (property-ref),
one-to-one (property-ref). |