I have 2 classes which has no reference relation between them (for some reason, I can not do any mapping in them)
For instance,
Code:
class Resource{
int uid,
int name
}
class Page{
int uid
int uuid
...
}
basically, Resource.name=Page.uuid. I can use such native SQL here:
select * from resource as r left outer join page as p on r.name = p.uuid where p.uid=1
In other words, I just want to use "on" keyword to declare joined fields. Is it possible in HSQL or others Hibernate format (except native SQL?)
Thanks