Yes, but usually I see that used with properties of the
Result class. How can I use that with the Result class
itself?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "Larry Meadors" <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2007 5:10 AM
To: [email protected]
Subject: Re: ResultMap and Result class
Larry
On 2/19/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]>wrote:
>
>
> I have a class named Message which has a type (REQUEST, CONFIRM) based upon
> an enum. I want to be able to define the Message class as abstract and
> define RequestMessage and ConfirmMessage classes. Based upon a select from
> the Message table and the type value contained within the type column, I
> would like to be able to return the specific type listed above. Any
> suggestions as to how I might be able to accomplish this?
>
> Thanks...
>
> Chris Mathrusse
> [EMAIL PROTECTED]
> (925) 236-5553
>
