DevForce Named query issue with includes on entities with inheritance -


we observed issue named query performing several includes on properties entities sharing same base entity. picture clearer, made simplified view of our model cannot publish here obvious reasons. basically, have "tasktarget" base entity children "office" , "house". these 2 entity types referenced task entity.

our problem occurs when trying retrieve set of task entities including house , office. basically, our named query doing like:

return new entityquery<task>().where(t => t.id < 1000)                    .include(t => t.house)                    .include(t => t.office); 

we receive list of tasks expected house/office not correctly included. remain null entities. checked if underlying query on database (oracle via dotconnect of devart) correct , that's case appropriate joins, etc.

i don't know if simple model such 1 depicted here enough exhibit issue, our model more complex of course had feeling inheritance root of issue did not had include issues when unrelated entities involved.

the problem observed in previous releases of devforce, tried devforce 2012 7.2.6 , still present.

enter image description here


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -