org.hibernate.HibernateException: SessionFactory configured for multi-tenancy, but no tenant identifier specified

Hibernate JIRA | Stefan Schulze | 5 years ago
  1. 0

    Multi-Tenancy with Spring + Hibernate: "SessionFactory configured for multi-tenancy, but no tenant identifier specified"

    Stack Overflow | 4 years ago | Craige
    org.hibernate.HibernateException: SessionFactory configured for multi-tenancy, but no tenant identifier specified
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    多租户与Spring + Hibernate的:“配置用于多租户的SessionFactory,但没有住户标识符指定” -- IT专业问题解答 -- 他山知识网

    net.cn | 11 months ago
    org.hibernate.HibernateException: SessionFactory configured for multi-tenancy, but no tenant identifier specified

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.HibernateException

      SessionFactory configured for multi-tenancy, but no tenant identifier specified

      at org.hibernate.internal.AbstractSessionImpl.<init>()
    2. Hibernate
      SessionFactoryImpl.openSession
      1. org.hibernate.internal.AbstractSessionImpl.<init>(AbstractSessionImpl.java:82)
      2. org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:234)
      3. org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1843)
      4. org.hibernate.internal.SessionFactoryImpl.openSession(SessionFactoryImpl.java:1030)
      4 frames