sockeqwe/sqlbrite-dao

is it possible to map the results of a join query to two different java objects ?

Closed this issue · 0 comments

Hi,

I am trying to fetch results from db using a LEFT OUTER JOIN query and i want to map the results to a java object like below:

class Person{
int a;
String b;
Email email;

}

class Email{
int a ;
String email one;
String email two;
}

ultimately i want a List, Is it possible ?