Как использовать ниже оракул-запрос в hibernate hql, здесь -2 и 5 - динамическое значение?
with data as
(
select 10254 keycol,-2 start_point,5 end_point from dual union all
select 10255 keycol,-8 start_point,1 end_point from dual
)
select keycol
,start_point + rws.column_value - 1 datapoint
from data
,table(cast(multiset
(
select level
from dual
connect by level <= end_point-start_point + 1) as sys.odcinumberlist)) rws
/