Hi all,
I have a following mapping:
set name=People lazy=true table=ProjectPeople
key column=ProjectId /
composite-element class=PersonRole
many-to-one name=Person column=PersonId cascade=save-update
not-null=true /
many-to-one name=Role column=RoleId cascade=save-update not-
Brion ral...@davybrion.com wrote:
what's the FlushMode of the session?
On Sun, Aug 9, 2009 at 3:43 PM, Andrey Shchekin (ashmind) ashm...@gmail.com
wrote:
I have a question about the way session.Save works.
I have a session, I open a transaction over this session, and then
commit
I have a question about the way session.Save works.
I have a session, I open a transaction over this session, and then
commit the transaction.
There are two different things I am doing within session and
transaction:
1. Load an entity and add another entity to one of its collections.
This works