I can do something similar using SqlProjection, however, there seems
to be no way to define custom parameters in SqlProjection/Criteria.
Concatenating strings with a note text is certainly not something I
want to do due to Sql injection concerns. I wonder if there is at
least a way to define a strongly typed query parameter from a criteria
query.


On Feb 22, 7:18 am, Diego Mijelshon <[email protected]> wrote:
> My bad. I didn't look well and thought Notes was an entity collection.
> I'm not really sure how to do it with Criteria then.
> With HQL, I believe you can do it with the "in" operator using the
> collection's elements as an argument.
>
>    Diego

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to