In a JPQL query, the parameters are encoded in the query string as either named (preceded by a colon - for example, : age) or positional (preceded by a question mark - for example,? 3).
在JPQL查询中,查询字符串中的参数以命名方式(前面带有冒号,例如:age)或位置方式(前面带有问号,例如? 3)编码。
Period, exclamation marks, period, question mark, comma, colon.
句号,叹号,句号,问号,逗号,冒号。
Shall we put a comma, a question mark, a dash, or a semi-colon here?
这里该用逗号、问号、破折号还是分号?
应用推荐