[hibernate-dev] Filters and many to many
Christian Bauer
christian.bauer at jboss.com
Thu Sep 28 14:57:30 EDT 2006
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.
More information about the hibernate-dev
mailing list