• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I change the QL???

 
Teimatini Marin
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
I need to change the QL of an EntityBean's finder method at run time... how can i do this???
Thanks
TMM
 
Dana Hanna
Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like you've come accross a business problem, and are applying an incorrect programming solution for the problem.
Could you post the specific problem and details?
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB 2.0 does not support dynamic EJBQL. However, many vendors (such as BEA) support extensions to EJBQL that does allow dynamic EJBQL.
Therefore, if you are looking for portability then you should go with a non-CMP solutions for dynamic queries. However, if portability is not a big concern then I would check your Application Server's documentation to see if they support dynamic queries in CMP beans.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!