i am using hibernate 3 all i want to achieve is to make a query using select and in the where clause there is a property may be null, if this property is null at run time it throws Null Pointer Exception at the statement that set this property please tell me how can i do it .
this the code :
and this is the exception i got:
the exception is thrown at line 9 in the code
subject: making hibernate query [select] using null value