Well, line 2 and 3 are just Hibernate settings to log the SQL and to format the SQL so its not on a single line, so if there was a setting that fixed your problem then it's line 1. But why don't you try it yourself and tell us about it here? ;-)
Karsten