How you will implement join query for JDO -
you have query :-
select p profiles p, group g p.profileid = g.profileid how implement using jdo. basic new jdo , not able goolge meaningful.
in jdo , other object-relational mapping frameworks such jpa join condition relation between 2 entities inferred meta-model.
in example presumably have 2 entities profile , group , n-1 relationship group profile. given following entities:
@persistencecapable public class group { private profile profile; ... } and
@persistencecapable public class profile { ... } executing following jdo query select profiles referenced group:
select g.profile group g
Comments
Post a Comment