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 td...@freenet.de on 2007/07/02 15:01:09 UTC
javaModelGenerator: toString method?, name of "*Example" configurable?
- Is there a way to get a toString method generated so it does contain the member names and its values
for e.g debugging purpose ?
- Find the name "***Example" not very approbiate. Sounds for me if I can delete it onetime from project.
Is there a way to configure the name of the ***Example classes to e.g ***Criteria ?
Re: javaModelGenerator: toString method?, name of "*Example" configurable?
Posted by Jeff Butler <je...@gmail.com>.
You can easily accomplish both of these items by providing your own
implementation of JavaModelGenerator - subclass one of the existing
implementations and override the appropriate methods
(afterBaseRecordGenerationHook and getExampleType in this case).
Jeff Butler
On 7/2/07, tdev@freenet.de <td...@freenet.de> wrote:
>
> - Is there a way to get a toString method generated so it does contain
> the member names and its values
> for e.g debugging purpose ?
>
> - Find the name "***Example" not very approbiate. Sounds for me if I can
> delete it onetime from project.
> Is there a way to configure the name of the ***Example classes to e.g***Criteria ?
>
>
>
>
>
>
>
>
>
>
>
>
>
>