You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by GitBox <gi...@apache.org> on 2020/04/05 10:48:50 UTC
[GitHub] [cayenne] lbane opened a new pull request #418: Exception in
dbimport when relationships should be imported,
but no explicit configuration exists
lbane opened a new pull request #418: Exception in dbimport when relationships should be imported, but no explicit configuration exists
URL: https://github.com/apache/cayenne/pull/418
If there is no explicit database import configuration (e.g. included or excluded tables) then the database import may fail with a NullPointerException when 'Skip relationship loading' is *not* activated. When relationships are skipped, the import succeeds.
Check if `sourceTableFilter` in `RelationshipFilter.checkAndAddRelationship(DbEntity, DbRelationship` is null and skip then the include check (under the assumption that then all relationships should get imported).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [cayenne] stariy95 commented on issue #418: Exception in dbimport
when relationships should be imported, but no explicit configuration exists
Posted by GitBox <gi...@apache.org>.
stariy95 commented on issue #418: Exception in dbimport when relationships should be imported, but no explicit configuration exists
URL: https://github.com/apache/cayenne/pull/418#issuecomment-609907291
Nice catch. Thank you!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [cayenne] asfgit merged pull request #418: Exception in dbimport
when relationships should be imported, but no explicit configuration exists
Posted by GitBox <gi...@apache.org>.
asfgit merged pull request #418: Exception in dbimport when relationships should be imported, but no explicit configuration exists
URL: https://github.com/apache/cayenne/pull/418
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services