接口 SessionCreationOptions

    • 方法详细资料

      • shouldAutoJoinTransactions

        boolean shouldAutoJoinTransactions()
      • getInitialSessionFlushMode

        FlushMode getInitialSessionFlushMode()
      • shouldAutoClose

        boolean shouldAutoClose()
      • shouldAutoClear

        boolean shouldAutoClear()
      • getTenantIdentifier

        String getTenantIdentifier()
      • getJdbcTimeZone

        TimeZone getJdbcTimeZone()
      • getCustomSessionEventListener

        List<SessionEventListener> getCustomSessionEventListener()
        返回:
        the full list of SessionEventListener if this was customized, or null if this Session is being created with the default list.
      • getSessionOwner

        @Deprecated
        SessionOwner getSessionOwner()
        已过时。
        (since 5,2) SessionOwner is no longer pertinent due to the hibernate-entitymanager -> hibernate-core consolidation
        Access to the SessionOwner, which defines the contract for things that can wrap a Session
        返回:
        Always returns null.
      • isQueryParametersValidationEnabled

        boolean isQueryParametersValidationEnabled()