ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher.Mathru...@sybase.com
Subject ResultMap and Result class
Date Mon, 19 Feb 2007 07:50:02 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<DIV><SPAN class=040004207-19022007><FONT face=Arial size=2>I have a class
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&nbsp;RequestMessage 
and&nbsp;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?</FONT></SPAN></DIV>
<DIV><SPAN class=040004207-19022007><FONT face=Arial 
<DIV><SPAN class=040004207-19022007><FONT face=Arial 
<DIV align=left><FONT face=Arial size=2>Chris Mathrusse</FONT></DIV>
<DIV align=left><FONT face=Arial size=2><A 
<DIV align=left><FONT face=Arial size=2>(925) 236-5553</FONT></DIV>

View raw message