Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

DAS Config does not explicitly define relationship?

0
Posted

DAS Config does not explicitly define relationship?

0

DAS supports some Convention over Configuration when it comes to supporting implied relationships. http://cwiki.apache.org/confluence/display/TUSCANY/ConventionOverConfiguration http://cwiki.apache.org/confluence/display/TUSCANY/ForeignKeyRepresentationAndManagement http://cwiki.apache.org/confluence/display/TUSCANY/WorkingWithRelationships Also, see test: ImpliedRelationshipTests.testAddNewOrder() So, in summary, if the query has a where clause specifying the relationship, there is no need to have any relationship definition in config file as long as the column names (PK, FK) follow the naming conventions. In the absence of naming conventions, the relationship needs to be explicitly defined in the config, so that the query result is mapped against it and the necessary result DataGraph is represented reflecting the relationship. Question: When there is 1:n relationship between 2 tables, say Department:Employee, and there is a DataGraph with this relationship present, can one Employee D

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123