Can you "traverse" from Milk to Honey (or vise-versa)? If so, then just use a nested property expression (like "honey.hiveName" or whatever).
On Sun, Jan 10, 2010 at 9:51 AM, Ivan Dudko <[email protected]> wrote: > I have two Pojo classes. For example, Milk and Honey. > And also database tables with same structure. I am do not use ORM mapping. > > I write DAO class for class Milk that fetches data from the tables > milk and honey at once. > But i am in trouble how i can display this result set. > > I think that writing third Pojo MilkHoney for displaying this data is > bad idea... > > Thank you! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
