Questions about Named Queries

I have a few questions around Named Queries that I don't see documented:

  1. What is the maximum length allowed for a Named Query "_name" field?
  2. Do long names have any performance impact other than the matched_query results are larger?
  3. Besides escaping double quotes, is there any character limitations for a name?

I'd be fairly surprised if there was a maximum allowed length. I can't see one digging around in the code.

Not really. They take up a bit more room in the heap and they hash a tiny bit slower but overall I don't think you'll notice anything unless you are intentionally making the names many kilobytes. They are just java strings internally.

Not that I can see from the code.

Sounds good. Thanks!