Handle Information Messages From Server

Description

Different ADO.NET connection providers offer different ways to retrieve informational messages from the server:

Different as all these events are, they are all EventHandlers that follow the basic signature (Object, ~EventArgs). It would be useful to have NHibernate receive an event handler for these events. Probably this would require changes in the Driver or Dialect classes.
If there is interest, I can work on a pull request. Could use some help on the definition of an API.

Environment

None

Activity

Show:

Ricardo Peres October 18, 2014 at 8:37 AM

Pull request: https://github.com/nhibernate/nhibernate-core/pull/363
Because this is has a small API change in IDriver, it should only be considered for NH 5.
Implemented support for notification events for all drivers except SQLite-related.
Waiting for feedback.

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created October 17, 2014 at 1:53 PM
Updated September 14, 2017 at 1:24 AM
Who's Looking?