Where clause in nhibernate map

Posted by Phil Whittaker on Stack Overflow See other posts from Stack Overflow or by Phil Whittaker
Published on 2010-06-03T09:43:54Z Indexed on 2010/06/03 9:54 UTC
Read the original article Hit count: 255

Filed under:

I have an Nhibernate hbm that maps a many to many relationship. For database simplicity it uses a where clause on the bag to filter the joining table.

this works well until I start to test and I use the hbm file to create a database from the generated schema. The root and user tags columns aren't created.

In the hbm file how do I define these two columns so they are generated in the schema?

© Stack Overflow or respective owner

Related posts about nhibernate