Okay, this is somewhat wrong test.
Null is set to parameter "a" in "select p from Painting p WHERE
p.toArtist=:x"
This is surely (and correctly) generates something like SELECT ... FROM
PAINTING WHERE ARTIST_ID=NULL.
Postgres needs IS NULL statement. Since EJBQL supports IS NULL, I think this
is not a bug and we either remove this test completely or mark it as
non-postgres when we'll have such feature

2010/1/10 Andrey Razumovsky <[email protected]>

> 2010/1/2 Kevin Menard <[email protected]>
>
> PostgreSQL 8.4.0:
>> =============
>> Tests in error:
>>  testNullParameter(org.apache.cayenne.query.EJBQLQueryTest)
>>
>>
> This is test I introduced after beta. Will look after it before RC2
>



-- 
Andrey

Reply via email to