This content has been marked as final.
Show 3 replies
-
1. Re: NamedQuery
bill.burke Mar 5, 2005 10:48 PM (in response to schoetz)Sorry, I don't support them yet. I'm not sure they are very useful so I've been putting off implementing them. THoughts?
-
2. Re: NamedQuery
robdaemon Mar 7, 2005 10:04 PM (in response to schoetz)"bill.burke@jboss.com" wrote:
Sorry, I don't support them yet. I'm not sure they are very useful so I've been putting off implementing them. THoughts?
I was using them quite extensively in Hibernate2 but I've since started converting code to use Hibernate3 and annotations. I ended up reverting to declaring the queries in "public static final String"s instead.
One of the reasons I prefer named queries is if I need to update a query quickly, it was defined at the top of my data POJO in an XDoclet annotation, and I put all the queries that involved that bean there. I felt more organized that way :) -
3. Re: NamedQuery
kabirkhan Mar 9, 2005 10:28 PM (in response to schoetz)OK, these are implemented in cvs now. See this for more comments:
http://jira.jboss.com/jira/browse/EJBTHREE-99