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

InformationSchema and KeyColumnUsage not generate on Oracle DB. #52

Closed
dhaalves opened this issue Aug 23, 2020 · 3 comments
Closed

InformationSchema and KeyColumnUsage not generate on Oracle DB. #52

dhaalves opened this issue Aug 23, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@dhaalves
Copy link

dhaalves commented Aug 23, 2020

I got all my entities generated except InformationSchema and KeyColumnUsage classes

image

Kind lost how to get this generated;

@dhaalves dhaalves changed the title InformationSchema not generate on Oracle DB. InformationSchema and KeyColumnUsage not generate on Oracle DB. Aug 23, 2020
@dhaalves
Copy link
Author

dhaalves commented Aug 23, 2020

Nevermind, just dig in and checked that your code won't be compatible with Oracle and DBs that don't provide a information_schema... Maybe this issue can be treated as a feature request...

A also did a simple smoke test with POSTGRES and although it has a information_schema, it also fail for me, some constants were not present (optional?). Check the image above.
image

@Blackdread
Copy link
Owner

Thanks for this issue.

I have modified the README to help better understand this project and how to make it work with other databases.
Changes needed should be very easy, I am not taking the taking to implement; Big thanks if you get something working and send a PR.

This implementation works with mysql 5.7.

Only few changes are required to make it work with mysql 8+, oracle db, POSTGRES, etc; Changes should be made on Repository used, probably remove jooq maven generation, use pure SQL with jdbc and have one repository implementation per database type supported then define the appropriate bean based on connection string or other.

@Blackdread Blackdread added the enhancement New feature or request label Aug 24, 2020
@Blackdread Blackdread mentioned this issue Dec 18, 2020
@octgsoftware
Copy link
Contributor

octgsoftware commented Dec 4, 2022

Can be closed as the project no longer uses jOOQ and #142 covers Oracle support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants