Interface StatelessSessionProvider


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

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

    • newSession

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