Flush « Seam « JPA Q&A

1. JPA/Hibernate selective flush    stackoverflow.com

I guess I'll start with

The Question

Is there a way to ensure that only entities that have been explicitly 'marked' in some way are flushed to the database?

The Environment

We are using JEE ...

2. Hibernate flush error when using Render.instance().render()...    seamframework.org

I tried setting cascade to ALL for that collection, but then the problem just moves to another collection. I followed this until I had cascade all for every collection in the given package of Entities and the error was still occurring! This leads me to believe that it might be something with the way my entity is getting used. Here's what ...