Makes the session available to ISQLExceptionConverter.

Enables more advanced exception translations based on the persistence
context.