-
Notifications
You must be signed in to change notification settings - Fork 22
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 to add another datasource #4
Comments
please help me , i like ebean |
The best place to get help is on the google group - https://groups.google.com/forum/#!forum/ebean For this question you will need to outline what you are doing (if you are using the Ebean singleton and properties mechanism or a FactoryBean or other mechanism) and what you are trying to achieve (what is the use case for the multiple EbeanServer instances). Thanks, Rob. |
I want to konw ,this project is only support h2 ? |
@wangli-it and @zhangweilun you can create two object of EbeanServer with it's own data source, here I have the sample for you:
There are two methods that return EbeanServer with different datasource. Hope it helps. |
i want to use springboot and Ebean,and i have two datasource, how to do it
The text was updated successfully, but these errors were encountered: