Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding ejb ql in JBOSS

 
Sambasiva Suresh Kumar Dontamsetti
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys/gals,
This is Suresh.
i had a problem with the ejb ql in weblogic.
we had a query with the "LIKE" operator in EJB QL in weblogic.
we are shifting the whole application from weblogic to JBOSS.\
so when deploying the Entity bean, we have the problem with the EJB QL syntax.
and every other thing is working fine.
i want to know whether it is the problem with the Application server compatibility or the Qurey Syntax.
and i want to know the exact Syntax of the "LIKE" operator.
this is very urgent as i'm struck with this for a long time and couldnot resolve it.
i will be thankful if somebody helps me out in this issue.


with regards
Suresh
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
LIKE is a keyword in EJB QL, so it should work fine on both containers. An example of the syntax would be:

Which version of JBoss are you using?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic