Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
[b]Hibernate version:[/b]
Hibernate 2.1.6
[b]Name and version of the database you are using:[/b]
Oracle9i
I wanted to know whether HIbernate's HQL supports CONNECT BY clause or not. I have the following SQL query which I want to write through hibernate
SELECT node_id, level
FROM t_tknd_node
WHERE level <=
(
SELECT level
FROM t_tknd_node
WHERE node_id = ?
START WITH ltrim(rtrim(PRNT_NODE_ID)) is null
CONNECT BY prnt_node_id = PRIOR node_id
)
START WITH ltrim(rtrim(PRNT_NODE_ID)) is null
CONNECT BY prnt_node_id = PRIOR node_id
ORDER BY level
Any pointer will be higly appreciated.