Community
Participate
Working Groups
Build Identifier: 3.0.0 The DB browser (org.eclipse.emf.cdo.server.db.browsers) does not show the db tables anymore. Tested with an H2 database. There seems to be a problem with the db name which is not equal the repository name. I will attach a patch which fixes the db browser but I think the problem should be fixed elsewhere. Reproducible: Always
Created attachment 167686 [details] Uses "PUBLIC" as db name.
Patch was not in "workspace unified" format ;-(
Ups I'll try again ;-)
Created attachment 167692 [details] Uses "PUBLIC" as db name.
This bug only occurs if the schema is not set to the repository name. old: dataSource.setURL("jdbc:h2:" + dbFolder.getAbsolutePath() + "/h2test); fix: dataSource.setURL("jdbc:h2:" + dbFolder.getAbsolutePath() + "/h2test;SCHEMA=" + repoName);
Great! If somebody feels that the db-schema / repo-name association should be smarter in DBBrowser please reopen this bug...