Brett Meyer commented on Bug HHH-4084

As discussed on the pull requests, I'm not sure under what context the 'columnNames=""' would occur, but it's seems like a mistake in the application. That would generate something like:

"add constraint foo unique ()"

So, what's the point of even having @UniqueConstraint at all?

Regardless, NPE probably isn't the best there. The fix allows the AnnotationException to be thrown.

Thanks to Nikolay Shestakov for the pull request.

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