View previous topic :: View next topic |
Author |
Message |
Ivasi
Joined: 10 Apr 2004
Posts: 3
|
Posted: Sun Nov 14, 2004 9:24 pm Post subject: Database connection problems in Linux
|
|
|
OS: Linux Fedora Core 2
Eclipse Version: 3.0.0
Build id:
GEF: 3.0.1
Eclipse UML: Eclipse UMLStudio 1.1.0
When creating database connection to Oracle database 2 files gets created some-name.odc.xml and some-name.ods.xml. Creation of the database diagram from created connection fails with the following message:
004-11-14 22:21:59 Unable to read Database Schema file /proj/example/src/sql/oracle_linux/proj/example/src/sql/oracle_linux/some-name.ods.xml
2004-11-14 22:21:59 java.io.FileNotFoundException: /proj/example/src/sql/oracle_linux/proj/example/src/sql/oracle_linux/some-name.ods.xml (No such file or directory)
So path to the schema constructed incorrectly when quering schema file. (the path doubled)
There is a workaround by manually editing the database connection xml file and exchanging the
|
|
Back to top |
|
|
xavier
Site Admin
Joined: 14 Mar 2003
Posts: 81
|
Posted: Thu Nov 18, 2004 9:22 am Post subject:
|
|
|
Hi,
There is a regression bug on linux.
This is fixed in our internal build.
As a workaround :
Preferences->Database->Path Policy
Choose the Workspace Relative Path option.
Manually patch your existing odc and/or ods file to have something like :
file:WORKSPACE_HOME/Database/Employ%C3%A9e/schema.ods.xml
Regards.
|
|
Back to top |
|
|
|