我需要从查询中恢复所有数据(null和非null)
这是我正在使用的HQL:
select a.fecAltaEjProf as fecAltaEjProf, a.fecBajaEjProf as fecBajaEjProf, b.idCategoria as idCategoria
from ejerprof a, categoria b
where a.idcategoria=b.idcategoria;
返回:
fecaltaprof fecbajaprof categoria
----------- ----------- ---------
NULL 26-08-1989 whay
22-08-1898 22-01-1500 NULL