[
https://issues.jboss.org/browse/JBSEAM-3857?page=com.atlassian.jira.plugi...
]
Marek Novotny commented on JBSEAM-3857:
---------------------------------------
Looking at
http://docs.jboss.org/hibernate/orm/4.1/manual/en-US/html_single/#objects...,
there is explicitly written that FlushModeType.Manual is Hibernate extension to JPA and
therefore it is ignored if you use SFSB as specification knows only AUTO and COMMIT
modes.
I will add this into Seam reference documentation as a warning.
Include in docs a entity manager flush behavior
-----------------------------------------------
Key: JBSEAM-3857
URL:
https://issues.jboss.org/browse/JBSEAM-3857
Project: Seam 2
Issue Type: Task
Components: Documentation Issues, EJB3
Affects Versions: 2.1.1.CR1
Environment: documentation
Reporter: Rodrigo Souto
Assignee: Marek Novotny
Priority: Optional
Labels: documentation, ejb3, transaction
Fix For: 2.3.0.Final
Original Estimate: 3 hours
Remaining Estimate: 3 hours
Explain on reference doc (chapter 9.2. Seam managed transactions) that even if you are
using a manual flush mode in your session bean, the entity manager is flushed before any
query.
http://www.seamframework.org/Community/WhyEjbFunctionIsTryingToFlush
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira