join « Stored Procedure « JPA Q&A





2. can I join a hql to a stored procedure or sql function?    forum.hibernate.org

I want to use hql to get some data from a table. These data are under some restrictions, which implemented as complex stored procedures or functions. So I need to join the hql to the stored procedures or functions. What I want is as below: Class someclazzor; String q = "select object(o) from " + someclazzor.getName() + " as o " ...