Interface SessionProvider


public interface SessionProvider
Allow to customize a Session before opening it.
Since:
2.5.1
Author:
edgar
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hibernate.Session
    newSession(org.hibernate.SessionBuilder builder)
    Creates a new session.
  • Method Details

    • newSession

      @NonNull org.hibernate.Session newSession(@NonNull org.hibernate.SessionBuilder builder)
      Creates a new session.
      Parameters:
      builder - Session builder.
      Returns:
      A new session.