on 01-07-2009 6:39 AM
Hi All ,
I want to know which query gives faster output , static(named query) or dynamic query. Also if we use dynamic query is used do we need to set flush mode before transaction?
Regards
Kavita
Hi,
Definitely static (named) queries give better performance as they can be compiled at deploy time.
I'm not sure I understand your second question.
Cheers,
\-- Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.