News for hackers. Stuff that matters.
Re:Ask HN: How do you store your external SQL statements? by ajuc on Sunday July 19, 2015 @05:28PM (#9912892)
I imagine the problem is with assigning names to them.

Usually I've seen people keeping them in hibernate xml with named queries, or some proprietrary .xml files.

CDATA is overkill IMHO, easier to escape the few problematic characters.

There are no comments on this comment yet.