Done and committed
@Filter(s) applies to the target entity table
@FilterJoinTable(s) applies to the association table
in a symmetric way
@Where applies to the target entity table
@WhereJoinTable applies to the association table
If the book can still be updated...
Christian Bauer wrote:
On Sep 28, 2006, at 8:51 PM, Emmanuel Bernard wrote:
> @Filter (pointing to the target table)
> @FilterJoinTable (pointing to the association table)
>
> I like 2. better, it is more consistent esp when you realize that
> @OneToMany can use a join table just by changing an annotation.
> 2. would require a break to the users playing with @Filter and
> associations involving join tables.
I agree that this is better. Wouldn't worry about users who rely on
annotations _and_ filters right now, they can migrate.
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev