Hi,
I am using one named query to search some result in my Project. e.g ( from StructureEventDAO as se where se.Structure.StructureId = :StructureId and se.eventMaster.eventName =:eventName ).
This is giving proper result if I pass required both the named parameter value.
I just wanted to know what if runtime I have one of the parameter as Null and I want to ignore it and get the result? (it means in my query , say StructureId = null so I will get all the StructureEventDAO which will have passed eventName )
Regards, Amit