I've been working on a code generator for iBATIS for a few months now. It's taken me quite a bit longer than I expected to add all the features I wanted in the first release, but I'm happy with the feature set as it now stands.
I've been using it on a medium sized project I've been working on. It has been a tremendous time saver. Using it everyday on a real life project caused me to change some things about the function from my original design - hence the delay in releasing it. But I can now say that it works very well, and is quite useful.
I'm planning on releasing it pretty soon - I was hoping to have more documentation ready for it, but I think I could write documentation for the next two months and still not be fully satisfied.
As a preview, here are some of its features:
1. Generates SqlMaps
2. Generates corresponding Java objects
3. Generates DAOs of different types (including Spring, iBATIS DAO, and two generic types)
4. VERY configurable
5. Does not disturb hand-coded additions to the generated XML or Java files - you can run it over and over again as the database design evolves without fear of losing any custom changes you've made to SQL maps or Java objects (this feature has taken most of my free time in the past few weeks to get right)
6. It can run standalone but it runs the best, and is most full featured, as an Eclipse plugin. The plugin provides a simple user interface, and all the resultant files will be saved to Eclipse projects. The plugin is also where the function resides to merge old and new versions of the generated objects (becasue I use the Eclipse AST to do the heavy lifting).
I hope that talking about it publically will give me enough pressure to get the initial set of documentation finshed and get it out the door. More soon...
Jeff Butler
On 12/6/05, Alexander Panzhin <[EMAIL PROTECTED]
> wrote:
I noticed you do not have one.
I made a little something for myself, but I think that it would be a
nice util for SqlMaps.
Now how do I get to you?
--
With best regards,
Alexander Panzhin
IT systems architect