Re: abator and class hierarchy

2008-07-01 Thread David Evans
f a more general way to do > this - but I am far from the final authority on Java practices. This > is partly what the FactoryMethod pattern is all about - you just have > to make sure that you are using factories when creating objects. > > Jeff Butler > > > &

Re: abator and class hierarchy

2008-07-01 Thread David Evans
6 -0500, Jeff Butler wrote: > You could use iBATIS' ResultObjectFactory. When iBATIS asks for a new > com.test.model.abator.Thing, you could return com.test.model.Thing. > > Jeff Butler > > > > On Tue, Jul 1, 2008 at 1:16 PM, David Evans <[EMAIL PROTECTED]>

Re: Using Struts with Spring DAO's in IBATIS

2008-07-01 Thread David Evans
I am using Spring DAO and ibatis with struts, without tying the two together. I have basically modified the configuration explained here: http://opensource.atlassian.com/confluence/oss/display/IBATIS/Converting +iBATIS+DAO+to+Spring+DAO I have a ServeletContextListener that creates a singleton

abator and class hierarchy

2008-07-01 Thread David Evans
Hello, Apologies, This post is slightly off topic, as it has to do with java class hierarchy, but i'm hoping someone here will have solved the same problem. I have set up abator to create my sqlmaps, model and spring dao classes. I would like to use these generated model classes as base classes f