我正致力于使我的整个应用程序具有多租户功能,但却停留在redis上。throw new Exception("No tenant context found"); LOGGER.info("Returning redis模板,如下所示: @CrossOrigin("*")@RequestMapping("/redis")
public class Redis
我一直在一个多租户项目中使用spring data jpa,在hibernate (使用MultiTenantConnectionProvider和CurrentTenantIdentifierResolver)的帮助下,我使用http头在租户之间正确地路由数据,但是当我切换到spring data rest并使用其端点时,所有数据都转到公共模式,为什么路由不再起作用?>spring-boot-starter-web</artifactId>