Created
March 12, 2017 21:16
-
-
Save edermfl/51ca9ee7bd17b29adc9384d5e5d8fe3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DatasourceIdResolverImpl implements DatasourceIdResolver { | |
public String getCurrentDatasourceId() { | |
return TenantContext.getCurrentTenant().getTenantId(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment