Skip to content

Commit

Permalink
Fix loading of Hibernate rules on MyBatis
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrandhof committed Mar 25, 2014
1 parent 53bfde1 commit e93b51a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -85,7 +85,7 @@ public void start() {
session = sessionFactory.getSession();

// hibernate session can contain an invalid cache of rules
session.getEntityManager().clear();
session.commit();

ListMultimap<String, RulesProfile> profilesByLanguage = loadDefinitions();
for (String language : profilesByLanguage.keySet()) {
Expand Down

0 comments on commit e93b51a

Please sign in to comment.