DefaultReadOnly not working for Future() queries

Description

When DefaultReadOnly=true and entities are queried using a Future(), dirty properties are persisted to the database.
When List() is used changes are not persisted as expected.

Environment

Visual Studio 2013 on Windows 8.1 Windows Server 2008R2 using .NET 4.5.1

Attachments

1

Activity

Show:

Oskar Berggren September 21, 2014 at 11:24 AM

Merged in 6802fb3c1168405ec287e166fd0b485622780fcc.

Ricardo Peres September 2, 2014 at 11:46 PM
Edited

Pull request: https://github.com/nhibernate/nhibernate-core/pull/318
This fixes the problem and adds unit tests for Future to HQL, Criteria, QueryOver and LINQ APIs

Ricardo Peres September 2, 2014 at 11:30 PM

Confirmed. Problem only happens with QueryOver.

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created December 4, 2013 at 12:12 PM
Updated April 23, 2015 at 12:35 PM
Resolved September 21, 2014 at 11:24 AM
Who's Looking?