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: Is there anyway to change the suffix of the exmaple class?
Date Thu, 18 Dec 2008 16:17:08 GMT
Dan is correct that with the current version of Ibator you need to
override IntrospectedTable to accomplish this.  I'll add something to
the plugin API to make this easier in the next release.

Jeff Butler

On Thu, Dec 18, 2008 at 6:47 AM, Dan Turkenkopf <dturkenk@gmail.com> wrote:
> 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!

View raw message