views:

26

answers:

1

I've found some contradicting information on the net. Does anyone know whether Hibernate filters affect the generated sql, or is it just filtering the data as it's read from the database?

Thanks!

+1  A: 

Hibernate filters affect the where clause of the generated SQL.

The Introduction to Hibernate Filters is a nice article on filters and provides a demo application allowing to play with them.

Pascal Thivent