| Summary: | DB browser does not show db tables. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Erwin Betschart <erwin> | ||||||
| Component: | cdo.core | Assignee: | Project Inbox <emf.cdo-inbox> | ||||||
| Status: | CLOSED WORKSFORME | QA Contact: | Eike Stepper <stepper> | ||||||
| Severity: | minor | ||||||||
| Priority: | P3 | ||||||||
| Version: | 3.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Erwin Betschart
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... |