@@ -48,10 +48,10 @@ public void injectSessionFactoryScope(SessionFactoryScope scope) {
4848 @ ValueSource (strings = {
4949 "select z from EntityEmbedCustom z where embedCustom.value=:datum" ,
5050 "select z from EntityEmbedCustom z where :datum=embedCustom.value" ,
51- "select z from EntityEmbedCustom z where embedCustom=:datum" , // this query failed with the bug
52- "select z from EntityEmbedCustom z where :datum=embedCustom" ,
51+ "select z from EntityEmbedCustom z where embedCustom.value =:datum" , // this query failed with the bug
52+ "select z from EntityEmbedCustom z where :datum=embedCustom.value " ,
5353 "select z from EntityEmbedCustom z where embedCustom.value in (:datum)" ,
54- "select z from EntityEmbedCustom z where embedCustom in (:datum)" // failed as well
54+ "select z from EntityEmbedCustom z where embedCustom.value in (:datum)" // failed as well
5555 })
5656 void hhh18898Test_embedCustom (String hql ) {
5757
@@ -81,10 +81,10 @@ void hhh18898Test_embedCustom(String hql) {
8181 @ ValueSource (strings = {
8282 "select z from EntityEmbedNative z where embedNative.value=:datum" ,
8383 "select z from EntityEmbedNative z where :datum=embedNative.value" ,
84- "select z from EntityEmbedNative z where embedNative=:datum" , // this query failed with the bug
85- "select z from EntityEmbedNative z where :datum=embedNative" ,
84+ "select z from EntityEmbedNative z where embedNative.value =:datum" , // this query failed with the bug
85+ "select z from EntityEmbedNative z where :datum=embedNative.value " ,
8686 "select z from EntityEmbedNative z where embedNative.value in (:datum)" ,
87- "select z from EntityEmbedNative z where embedNative in (:datum)" // failed as well
87+ "select z from EntityEmbedNative z where embedNative.value in (:datum)" // failed as well
8888 })
8989 void hhh18898Test_embedSingle (String hql ) {
9090
0 commit comments