• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EQL question

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am a returning member, back after a long time absence, with a question.

I am brand new to EJB, using RAD6. I have developed a couple of EJB projects but now need a more advanced query, but have no experience with them. the query in SQL would look like

Select * from Violation v where v.violationValue = ?1 and
v.sourceId in (Select sourceId from Source s where s.vendorId = ?2)

How do I define this in the RAD tool, or EQL in general?
Source has a one to many relationship to Violation, It is navigable from Source to Vaiolation, but not the otherway. I am now wondering if I need to change this.

If someone can give me a little guidance here I would really appreciate it.

thanks,
Cal
 
reply
    Bookmark Topic Watch Topic
  • New Topic