Find an entity within same transaction

10 views
Skip to first unread message

Manu Joy

unread,
Jan 9, 2017, 4:38:15 AM1/9/17
to kundera-discuss
Hi,

When I persist an entity(first time) in a transaction and try to find the same entity in that transaction itself,  I was unable to find the entity. When I read through the source code, during the persist of the entity, Node(represents the entity in Transaction area) is marked dirty and during the find, if the Node is dirty, we directly search for the entity in Data Store. Normally in hibernate, we can achieve this use case. Why Kundera doesn't support this use case? 
Reply all
Reply to author
Forward
0 new messages