w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
NamedQuery with multiples entities and get multiples attributes

hi Cristian Chaparro A. You have a problem in the join part of your query. In the JPA you can't use your structure(You can but it is not so simple as join :)). For more information look here Your query will be looks like :

SELECT e FROM EstadisticoRD e inner join e.codOficina as o inner
join e.depto as d ...

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.