You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error message when ON KEY finds ambiguous keys between two tables is misleading:
org.jooq.exception.DataAccessException: Key ambiguous between tables ["PUBLIC"."T_BOOK"] and ["PUBLIC"."T_AUTHOR"]. Found: null and null
at org.jooq.impl.JoinTable.onKeyException(JoinTable.java:832)
at org.jooq.impl.JoinTable.onKey(JoinTable.java:741)
at org.jooq.impl.JoinTable.onKey(JoinTable.java:1)
at org.jooq.impl.SelectQueryImpl.addJoinOnKey(SelectQueryImpl.java:4783)
at org.jooq.impl.SelectImpl.onKey(SelectImpl.java:2209)
at org.jooq.impl.SelectImpl.onKey(SelectImpl.java:1)
at org.jooq.test.all.testcases.InlineDerivedTableTests.testInlineDerivedTableWithInnerJoinOnKey(InlineDerivedTableTests.java:154)
at org.jooq.test.jOOQAbstractTest.testInlineDerivedTableWithInnerJoinOnKey(jOOQAbstractTest.java:11722)
This Found: null and null isn't really helpful. The ambiguous keys could be listed, as they're available in the onKey() method in question.
The text was updated successfully, but these errors were encountered:
The error message when
ON KEY
finds ambiguous keys between two tables is misleading:This
Found: null and null
isn't really helpful. The ambiguous keys could be listed, as they're available in theonKey()
method in question.The text was updated successfully, but these errors were encountered: