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

Document use of 'DelegatingLocalSessionFactoryObject' and 'UserCredentialsDbProvider'

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.1
    • Component/s: Spring-NET-NH
    • Labels:
      None

      Description

      The documentation for UserCredentialsDbProvider should make note of the fact that using it alone with NHibernate is not sufficient due to NHibernate's use of first and second level caching. This forum thread http://forum.springframework.net/showthread.php?t=4462 has the basis of an implementation of a LocalDelegatingSessionFactoryObject that will create multiple SessionFactories for each database connection.

      This is also related to the issue Erich raised regarding providing an implementation of NHibernate's ConnectionProvider instead of digging out the ADO.NET connection via the NHibernate API in order to bind it to the current thread so that AdoTemplate may pick it up easily.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sbohlen Steve Bohlen
              Reporter:
              mark.pollack Mark Pollack
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: