[英]Has Hibernate 5 implemented DISCRIMINATOR approach for Multi-tenant data?
According to hibernate 4 doc , the discriminator approach for multi-tenancy data was planned to be implemented on hibernate 5. However hibernate 5 doc is not up to date, it is still telling the same - 'Its support is planned for 5.0'. According to hibernate 4 doc , the discriminator approach for multi-tenancy data was planned to be implemented on hibernate 5. However hibernate 5 doc is not up to date, it is still telling the same - 'Its support is planned for 5.0'.
So is it implemented or not?那么它是否实施了? Any source telling more about it?
有任何消息来源可以提供更多信息吗?
HHH-6054问题仍未解决,因此 Hibernate 尚不支持此功能。
Here are the docs referring to this.这是引用此的文档。 It is now available in Hibernate 6.
它现在在 Hibernate 6 中可用。
https://docs.jboss.org/hibernate/orm/6.0/userguide/html_single/Hibernate_User_Guide.html#multitenacy https://docs.jboss.org/hibernate/orm/6.0/userguide/html_single/Hibernate_User_Guide.html#multitenacy
Here is an example with Spring Boot这是 Spring 引导的示例
https://spring.io/blog/2022/07/31/how-to-integrate-hibernates-multitenant-feature-with-spring-data-jpa-in-a-spring-boot-application https://spring.io/blog/2022/07/31/how-to-integrate-hibernates-multitenant-feature-with-spring-data-jpa-in-a-spring-boot-application
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.