You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Zach Visagie <za...@ipay.co.za> on 2008/02/15 11:31:50 UTC

Abator superclass per table

Hi

I want to be able to specify a different superclass for each model
object. So either as an option in the abator config for the table
element or abator should preserve "extends" added to the model. I
generate using the flat model.

Any ideas of how I can jump start achieving this?

thanks
Zach Visagie


Re: Abator superclass per table

Posted by Zach Visagie <za...@ipay.co.za>.
On Fri, 2008-02-15 at 08:11 -0600, Jeff Butler wrote:
> The ability to do this was very recently added to Abator (last week
> sometime).  If you build Abator from the source in SVN you'll be able
> to specify the rootClass property on each table element.
>  

Thanks will have a look!



Re: Abator superclass per table

Posted by Jeff Butler <je...@gmail.com>.
The ability to do this was very recently added to Abator (last week
sometime).  If you build Abator from the source in SVN you'll be able to
specify the rootClass property on each table element.

Jeff Butler

On Fri, Feb 15, 2008 at 4:31 AM, Zach Visagie <za...@ipay.co.za> wrote:

> Hi
>
> I want to be able to specify a different superclass for each model
> object. So either as an option in the abator config for the table
> element or abator should preserve "extends" added to the model. I
> generate using the flat model.
>
> Any ideas of how I can jump start achieving this?
>
> thanks
> Zach Visagie
>
>