Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html
Hello,
I have the following sequence of tables.
ITEM
itemID
description
amount
type
ITEMGROUPS
ItemID
itemGroupID
mandatory
Item has a many-to-many relationship to item, group of items. Exceptionally, there is a mandatory property added to the relationship.
What is the best way to map the above relationship.
I wish I could easily access the Items once I have a group .
My configuration
1. SqlServer2005
2. NHibernate 1.2
3. VisualStudio 2005
Thanks in Advance,
Joao,