This has come up a few times so I thought I'd write up the ways to handle multi-tenancy in Hibernate. This is not an exhaustive list. We wont go into database vendor specific features (Oracle VPD, etc) for example. Generally speaking there are 3 ways to factor multi-tenancy into your database design:
I will be giving a talk at the Atlanta JUG next Tuesday (18th).
This is a pretty big day for the Hibernate family. We welcome three new top level projects: