This is regarding usage of Filters in Hibernate.
When we define a filter and add it to a collection in a hbm.xml , activate the session for that filter and the execute a load or a query object within that session,
is the filtering done by Hibernate by adding additional clause in WHERE in SQL generated
or
Filter is applied to the result got from the original SQL?
ie. By using Filter, will I able to reduce the network traffic also, besides saving in the memory to hold the collection objects?
Thanks
|