Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8629211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:44:42+00:00 2026-06-12T08:44:42+00:00

What configuration options should be used to construct a session that will not accumulate

  • 0

What configuration options should be used to construct a session that will not accumulate updates, and will always remain read only?

It would seem that replacing the first or second level cache for a read only version might be the answer, how is that achieved using fluent configuration?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:44:44+00:00Added an answer on June 12, 2026 at 8:44 am

    See how to create a readonly session in nHiberate?

    Alternatively you can replace the default Save/Update/Delete event listeners with your own implementations that do nothing

    To do so, in your NHibernate configuration you will need to do something like:

    Fluently.Configure()
        // your config goes here
        .ExposeConfiguration(
            x => x.EventListeners.SaveOrUpdateEventListeners = 
               new ISaveOrUpdateEventListener[ ]{new NoOpEventListener() } ;
        // etc for other types
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have not changed any of the configuration options for sessions in my php.ini.
I have an application that uses Boost.Program_options to store and manage its configuration options.
The App I need to implement a web app that will be used by
We have some configuration options for the rename detection heuristics during diff ( log
I am wondering if there is any other configuration options for a default controller.
My configuration of backends.yaml backends: - name: mybackend class: B1 instances: 1 options: dynamic
I have a following configuration: IIS 7.5 Website A - Authentication: all options disabled,
I want to encode a set of configuration options into a long string of
For a MSVC9 Win32 project following options are shown under Configuration Properties -> C/C++
I have a couple Windows computers on my network that will be running a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.