ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: Abator enhancement
Date Wed, 01 Aug 2007 14:59:48 GMT
This sounds interesting.  I assume this is primarily a patch to one of the
JavaModelGenerator implementations.  If you add the patch to a JIRA
enhancement request, I'll take a look at it.

Jeff Butler

On 8/1/07, Ashok Madhavan <ashok.madhavan@gmail.com> wrote:
> hi abator guys,
> Abator has the concept of rootClass for the javaModelGenerator. Many of
> our POJOs need to extend from a parent class. we use this feature. But
> abator overrides all the methods in the parent class and i manually cleaned
> up these methods in the generated pojo.
> i had some free time and tweaked the abator source so that if the parent
> class has a particular field, the pojo will not override it.
> this is done by having hte <property> elements. The 'classPathEntry' will
> lead to the jar file which must contain the rootClass.
>     <javaModelGenerator targetPackage="xx.yy"  targetProject="Prject_Name"
> >
>         <property name="rootClass" value="x.y.z.AbstractBaseDomain" />
>         <property name="classPathEntry"
> value="/eclipse_Workspace/Prject_Name/test.jar"/>
>     </javaModelGenerator>
> do you think that this is something which will be useful for the
> community. If it is useful how should this be sent and obviously code-review
> etc.
> regards
> Ashok

View raw message