Skip to content

Commit

Permalink
HHH-7768 - Names of invalid named queries incorrectly concatenated
Browse files Browse the repository at this point in the history
  • Loading branch information
sebersole committed Nov 8, 2012
1 parent 2ecf840 commit dffb86c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -520,7 +520,7 @@ public void sessionFactoryClosed(SessionFactory factory) {
String sep = "";
for ( Map.Entry<String,HibernateException> entry : errors.entrySet() ) {
LOG.namedQueryError( entry.getKey(), entry.getValue() );
failingQueries.append( entry.getKey() ).append( sep );
failingQueries.append( sep ).append( entry.getKey() );
sep = ", ";
}
throw new HibernateException( failingQueries.toString() );
Expand Down

0 comments on commit dffb86c

Please sign in to comment.