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 <razumovsky.andre..mail.com>
> 2010/1/2 Kevin Menard <nirvdru..mail.com>
>
> 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
This archive was generated by hypermail 2.0.0 : Sun Jan 10 2010 - 12:51:47 EST