Ondra Žižka edited a comment on Bug HHH-8012

Again, HHH doesn't allow issue editation.
Prepend this before the code:

// Packaging could be null in db (shouldn't, though)
        String packCond = ("jar".equals(packaging) ? "ma.packaging = 'jar' OR ma.packaging IS NULL" : "ma.packaging  = ?4" );

Hibernate should allow to set query params which are not used afterwards; perhaps log an INFO but that's it.

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