Skip to content

Commit

Permalink
WELD-704
Browse files Browse the repository at this point in the history
  • Loading branch information
mgencur authored and pmuir committed Oct 11, 2010
1 parent ce6f086 commit 15c633f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -100,6 +100,7 @@ public String addCodeFragment(CodeFragment code, boolean privateFragment)
else
{
entityManager.persist(code);
entityManager.flush();
event.fire(code);
// Make sure we have the latest version (with the generated id!)
entityManager.refresh(code);
Expand Down

0 comments on commit 15c633f

Please sign in to comment.