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

Alternate DB issue when using full hibernate.cfg.xml config #135

Closed
ar opened this issue Feb 19, 2020 · 0 comments
Closed

Alternate DB issue when using full hibernate.cfg.xml config #135

ar opened this issue Feb 19, 2020 · 0 comments

Comments

@ar
Copy link
Member

ar commented Feb 19, 2020

Reported in jPOS Users:

DB db = new DB();    // uses the db.properties and used by the (Qi app)

DB secondDB = new DB("secondDB.cfg.xml");  // contains all the connection properties and the mapping, used by (QRest app)

DB thirdDB = new DB("thirdDB.cfg.xml");  // contains all the connection properties and the mapping, used by (QServer app)


These connections successfully created but when calling db "The first one" after secondDB is created it uses the secondDB tables.
and the same if thirdDB created it use it's tables, the scondDB also will use the the thirdDB tables.
@ar ar closed this as completed in 9ec7493 Feb 27, 2020
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

1 participant