Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 Hibernate 有点陌生,找不到这个问题的原因。
这是我的 HQL:
update MyEntity set field1 = :value1 || substr(field1, :pos, 100) where ...
这转化为:
update MY_TABLE set field1=(?||substr(field1||?||100) where ...
所以,我的猜测是每个逗号(,)都被翻译成||重叠括号内的连接运算符()。我错过了什么吗?
,
||