Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: NHibernate 1.0.1
Is there a way to map the key of a bag so that it refers to an property that has been mapped using <any>?
I want to have a Document class that can have an Owner property (mapped using <any>) which will accept any type of entity. I then want to have a User class with a collection of Document objects that have the User entity as the Owner.
Is this even possible? I've been digging at the documentation but it's not particularly clear on the <any> side of things when trying to map collections to them.
Help?
Symon.