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

org.jooq.Meta ignores foreign key names #6887

Closed
lukaseder opened this issue Dec 7, 2017 · 0 comments
Closed

org.jooq.Meta ignores foreign key names #6887

lukaseder opened this issue Dec 7, 2017 · 0 comments

Comments

@lukaseder
Copy link
Member

When running the following program:

DSLContext ctx = using(c);

for (Table<?> t : ctx.meta().getTables())
    for (ForeignKey<?, ?> r : t.getReferences())
        System.out.println(r);

It can be seen that none of the generated foreign key instances contain a name. This causes trouble when exporting foreign keys obtained through org.jooq.Meta through DSLContext.ddl(), in case of which the generated DDL does not work.


See also:
https://groups.google.com/forum/#!topic/jooq-user/QJBMlfxOne4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant