![](/img/trans.png)
[英]Configure hibernate to process like with [] (square brackets) against maxDB and sql-server in the same way
我有以下帶有 LIKE 的 jpql 我想檢索所有以 'foo[bar]' 結尾的行。 對於maxDb ,這是可以的。 但是對於sql-server ,方括號被解釋為通配符(通常在 sql server [ad] 中,將匹配括號內包含 a、b、c 或 d 的所有行)。 我想知道為什么 hiber ...