ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Turkenkopf" <dturk...@gmail.com>
Subject Re: Is there anyway to change the suffix of the exmaple class?
Date Thu, 18 Dec 2008 12:47:07 GMT
I think you'll need to extend the IntrospectedTable class and override the
getExampleType method.  This isn't something that can be easily done through
the plugin mechanism.

Instructions for extending Ibator can be found here:
http://ibatis.apache.org/docs/tools/ibator/reference/extending.html

Hope this helps.

Dan

On Wed, Dec 17, 2008 at 11:04 PM, <wuxi_root-dis@yahoo.com> wrote:

> Hi,  according to the doc, the name of the class will be
> «TableName»Example by default, or «domainObjectName»Example.   How do I
> not use the default naming convention?   Can I have something like «domainObjectName»123?
> Thanks!
>

Mime
View raw message