It's a typo in this post. code compiles just fine. Cascade type shouldn't matter because I'm not persisting Voucher here (it's already a persistent entity as it's reloaded in dao). As a test, CascadeType.All doesn't make any difference.
-- View this message in context: http://openjpa.208410.n2.nabble.com/Update-statements-not-generated-for-a-OneToMany-mapping-with-persistent-entity-tp6476296p6476707.html Sent from the OpenJPA Users mailing list archive at Nabble.com.