Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How Can I use MultiSchemaMultiTenantProcessEngineConfiguration.java in SpringBoot #2176

Closed
phoema opened this issue Feb 19, 2020 · 2 comments

Comments

@phoema
Copy link

phoema commented Feb 19, 2020

	    <groupId>org.flowable</groupId>
		<artifactId>flowable-spring-boot-starter-process</artifactId>
	    <version>6.5.0</version>

I want use Flowable with MultiSchemaMultiTenant Mode in Springboot

I tried to create TenantInfoHolderImpl
When I create many DataSources in Springboot With AbstractRoutingDataSource
But Flowable does not work very well.
first error like this:
Caused by: org.apache.ibatis.exceptions.PersistenceException:

Error querying database. Cause: java.sql.SQLSyntaxErrorException: Table 'wise-tree100.flw_channel_definition' doesn't exist

The error may exist in org/flowable/eventregistry/db/mapping/entity/ChannelDefinition.xml

So How Can I use MultiSchemaMultiTenantProcessEngineConfiguration.java in SpringBoot?

@filiphr
Copy link
Contributor

filiphr commented Feb 19, 2020

Can you please share an example project with how you are configuring all of this?

We currently don't support the MultiSchemaMultiTenantProcessEngineConfiguration via Spring Boot. So it can very much be that it isn't working properly.

@tijsrademakers
Copy link
Contributor

Closing the issue due to no response. Please reopen with an example project when required,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants