On Fri, Mar 20, 2009 at 9:37 AM, Charles F. Munat <[email protected]> wrote:
> > I have a BaseEvent object from which various other events (e.g. Seminar) > inherit. I want to pull them all out in a query, so they come out as > BaseEvents. But then as I'm looping through them, I want to find out > what type of event they really are. There is an "event_type" column in > the database, but I don't know how to get at that. Don't fancy "isInstanceOf"? > > > Anyone know offhand how to get the class of the objects? This is in Lift > with JPA/Hibernate. > > Thanks, > Chas. > > > > -- Viktor Klang Senior Systems Analyst --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
