Certainly, I can implement something like this in- or outside of
flextrine. Just wondering if this already exists.
Thank you
- rico
Dave Keen
unread,
Mar 28, 2011, 2:11:22 PM3/28/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to flex...@googlegroups.com, Rico Leuthold
Try:
if (entityManager.getUnitOfWork().size() > 0) {
entityManager.flush();
}
although if all you are doing is flushing there is no need as
entityManager.flush() shouldn't do anything unless there is
something to do!
Dave
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.894 / Virus Database: 271.1.1/3535 - Release Date: 03/28/11 08:34:00