Please use the users list for support request.
http://groups.google.com/group/nhusers

BTW the problem is in you session management (probably).

2008/12/7 Nieve <[EMAIL PROTECTED]>

>
> Hello all,
> new to the list, hope I'll be able to contribute as well :)
> Before I begin, here's a bit of background: I'm working on a library
> cataloguing application using NHibernate + Spring.Net (the latest
> versions for both) strictly for educational reasons...
>
> The exception I've mentioned is thrown whenever attempting to do a
> session.SaveOrUpdate() on an object (library Item) containing a many-
> to-many property (IList<LibTransaction> Transactions). The mapping
> (using NHibernate.Mapping.Attributes) looks like this:
>
> [Bag(0, Access = "property", Lazy = true, Inverse = true, Name =
> "Transactions", Table = "ItemTransaction")]
> [Key(1, Column = "ItemID")]
> [ManyToMany(2, ClassType = typeof(LibTransaction), Column =
> "TransactionID")]
> public virtual IList<LibTransaction> Transactions
> {
>    get { return transactions; }
>    set { transactions = value; }
> }
>
> The exception is also thrown whenever attempting
> IPersistentCollection.SetCurrentSession() with the above mentioned
> property.
>
> I would be grateful for any idea or response!
>



-- 
Fabio Maulo

Reply via email to