Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1551

Set session.DefaultReadOnly=true when using a readonly transaction [Transaction(ReadOnly = true)]

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0 M1
    • Fix Version/s: FUTURES
    • Component/s: Spring-NET-NH
    • Labels:
      None
    • Environment:
      I think this was introduced in NHibernate 3.2... NHForge is down so it's hard to say exactly when

      Description

      With a readonly session, setting DefaultReadOnly = true will disable change tracking on all entities. This will give better performance for readonly methods.

        Attachments

          Activity

            People

            • Assignee:
              sbohlen Steve Bohlen
              Reporter:
              swalters Shane Walters
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: