Comments (8)
Can someone pls help
from schemaspy.
Could you supply a small example with just two tables and how the relationship is declared.
Implied won't find it I think, it only looks at PK.
But we do ask the jdbc driver for imported and exported columns/keys.
For me to look into this I also need to know the version of Oracle and driver so that I'm sure to reproduce the issue.
Then I can check different driver if they allow this else we might consider expanding the implied to check on both PK and UQ indexes.
from schemaspy.
Please see attached screenshot, Attendance_time table has FK to Attendance table (referring to UK for that table)
In schema spy this is not visible, hence its not showing up in relationships diagram . We are using ojdbc8-19.14.0.0 driver
Is there any fix for this? so that my FK on UK also visible
from schemaspy.
Version of Oracle is 19.14
from schemaspy.
Would you be able to supply Sql statement to produce this kind of relationship.
I'm gonna check if there is any filtering applied if a FK is returned but it doesn't reference a PK. Because
from schemaspy.
Please use this test case:
CREATE TABLE SUPPLIER_KHEM
( supplier_id numeric(10) not null,
supplier_name varchar2(50) not null,
CONSTRAINT supplier_pk PRIMARY KEY (supplier_id)
);
CREATE TABLE PRODUCTS_KHEM
( product_id numeric(10) not null,
supplier_id numeric(10) not null,
CONSTRAINT fk_supplier
FOREIGN KEY (supplier_id)
REFERENCES supplier_khem(supplier_id),
CONSTRAINT products_unique UNIQUE (product_id)
);
CREATE TABLE ORDERS_KHEM
( order_id numeric(10) not null,
prodids numeric(10) not null,
CONSTRAINT fk_orders
FOREIGN KEY (prodids)
REFERENCES products_khem(product_id)
);
You will see relation between supplier and products but Orders table is not in picture.
from schemaspy.
I'll need some additional time to look into this, since I find the Oracle 19 container images for M1 a little sketchy since I can't find a release to download of the software for M1(arm64). I'll need to have time to sitt at a different computer.
from schemaspy.
Sure, meanwhile i tried -meta option as a workaround. Its working but we cant use this method.
from schemaspy.
Related Issues (20)
- GUI does not respond to re-sizing HOT 1
- No relationships image created HOT 6
- Too much information in error.
- Sign snapshots
- Cant get line breaks in Table Comments to work. HOT 6
- I am unable to get comments
- Oracle database - null password given HOT 5
- Driver Error HOT 7
- Failed to parse [schema].meta.xml HOT 5
- Terminating null reference error when generating HTML for Constraints MSSQL HOT 1
- SchemaSpy ERD (relationship tab) is not showing lines between tables HOT 4
- ERROR - Bad config Schema (-s/-schemas) was not provided and unable to deduce schema, ... HOT 2
- Trying to set trustServerCertificate true in schemaspy.connprops Property in config file does not work HOT 2
- Getting an Exception when running against Oracle database in charset ISO-8859-15 HOT 2
- Feature request: "Comment" as title in relationships.html
- Get `AbstractMethodError` when connect to SQL Server by using `mssql17-jtds` driver. HOT 2
- Snowflake connection with private key pair HOT 4
- [Informix] Query to long when execute selectRoutineParametersSql HOT 3
- SQL/MED support (in my case PostgreSQL Foreign Data Wrappers) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schemaspy.