ResultMap and Result class

2007-02-18 Thread Christopher . Mathrusse
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,

ResultMap and Result class

2007-02-18 Thread Christopher . Mathrusse
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,

Re: Share database connection pool with Tomcat

2007-02-18 Thread Larry Meadors
Of course - if it's a JNDI data source you can tell iBATIS to use that - it's in the user guide and the book. Larry On 2/18/07, Collin Peters <[EMAIL PROTECTED]> wrote: I have some regular Tomcat database connection pooling setup with DBCP for some servlets that are not iBatis related (reports

Share database connection pool with Tomcat

2007-02-18 Thread Collin Peters
I have some regular Tomcat database connection pooling setup with DBCP for some servlets that are not iBatis related (reports running direct SQL). Is it possible to share that database pool with the one defined in iBatis? Seems counter-productive to define two database pools. Or maybe iBatis/To