I've done some refactoring of attributes in 1.2.2.  I think that some of the
prior methods were a bit misleading - for example, changing the DAO package
in a plugin would have no real effect.  So, the new methods are limited to
those that will actually do something useful.
To that end, look at get/setDAOImplementationType and
get/setDAOInterfaceType - they do what you need.

I've just made a new WIKI page for Ibator plugins here:

http://opensource.atlassian.com/confluence/oss/display/IBATIS/3rd+Party+Ibator+Plugins

Feel free to add to the page with links or code you wish to share.  I'll add
a link to the WIKI page on the Ibator home page.

Jeff Butler



On Sun, Jul 5, 2009 at 4:40 PM, Benjamin Klatt <benja...@bar54.de> wrote:

>  Hi Jeff,
>
>
>
> If implemented such a plugin based on the new Version 1.2.2 from SVN and it
> works pretty good.
>
> There are just two question:
>
>
>
> 1.  I am missing separate access to DAO package and interface/class names.
> In version 1.2.1, there was for example a method like
> getDAOInterfacePackage()
>
>  2.  What do you think about a common place to share plugins? We have up
> to know developed 4 Extensions/Plugins that may be helpful. Other OpenSource
> projects have a link list for external hosted downloads in their wiki.
> That should not be that hard to be created for iBator, right?
>
>
>
> All the best
>
> Benjamin
>
>
>
>
>
> *Von:* Jeff Butler [mailto:jeffgbut...@gmail.com]
> *Gesendet:* Samstag, 4. Juli 2009 17:12
> *An:* user-java@ibatis.apache.org
> *Betreff:* Re: Suffix for DAOs
>
>
>
> You can do it with a plugin.  There's an example supplied with Ibator that
> shows how to rename the example classes - same concept.
>
>
>
> Jeff Butler
>
>
>
> On Sat, Jul 4, 2009 at 5:58 AM, Benjamin Klatt <benja...@bar54.de> wrote:
>
> Hi List,
>
>
>
> is there an out-of-the-box way to generate the DAO objects with a suffix?
>
> The only way I found so far is by extending an existing DAO generator.
>
>
>
> Thanks for any feedback
>
>
>
> br
>
> benjamin
>
>
>
>
>

Reply via email to