This content has been marked as final.
Show 2 replies
-
1. Re: JPQL - Query Parameter
sherkan777 May 14, 2009 3:35 PM (in response to israel.bgf)First, try to do it in pure SQL.
Second, If u want to return ObjectB List U can map rout SQL query to Object.createNativeQuery(
your query
, Object.class);after that u can try to change it to H/EJB/JPQL query.
-
2. Re: JPQL - Query Parameter
israel.bgf May 14, 2009 8:44 PM (in response to israel.bgf)The problem is that i'm still in the first step:
try to do it in pure SQL
. :)I can concat a lot of
and
s andor
s but i dont think that it's a good practice. So that's why im asking.Thks in advance.