-
Notifications
You must be signed in to change notification settings - Fork 17
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
Issue with multiple-db configuration #14
Comments
wangdanqing
changed the title
maybe there has a bug for multiple-db config, pls check you website doc
maybe there has a bug for multiple-db config, pls check your website doc
Sep 22, 2017
After changing Here is my
And the Java classes @DB("db1")
@Entity(name = "va")
public class VirtualAccount{
@Id
private Long id;
@Index(unique = true)
public String ownerId;
// balance in cents
public int balance;
} @DB("db2")
@Entity(name = "va2")
public class VirtualAccount2{
@Id
private Long id;
@Index(unique = true)
public String ownerId;
// balance in cents
public int balance;
} After app started I found table |
greenlaw110
changed the title
maybe there has a bug for multiple-db config, pls check your website doc
Issue with multiple-db configuration
Sep 22, 2017
@wangdanqing what is the actframework version and what is ebean version? |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i saw config about below:
The
db.mongo.uri
should be changed todb.mongo.url
The other thing is I tried to configure mysql db along with mongo db config, however console throws h2 driver class not found exception.
The text was updated successfully, but these errors were encountered: