Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Utilizing value in joined table (ExpressionBuilder)
Utilizing value in joined table (ExpressionBuilder) [message #1131836] Thu, 10 October 2013 16:51
Eclipse UserFriend
We have an Insurance entity with a one to many relationship to Facility. We are having issues translating the following sql into an Expression.

SELECT *
FROM insurance ins
INNER JOIN facility fac ON
ins.source_facility_key = fac.facility_key
WHERE CURRENT_TIMESTAMP <= ins.plan_expiration_date + (INTERVAL '1 days' * fac.enrollment_expiration_ttl) ;

Thoughts?
Thanks in advance
-Brad

Previous Topic:JPA: subquery SQL generation bug
Next Topic:Tutorial ?
Goto Forum:
  


Current Time: Sat Nov 08 20:23:38 EST 2025

Powered by FUDForum. Page generated in 0.04132 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top