ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Rouillier <guyr-...@burntmail.com>
Subject Re: How about a Netbeans integration plugin?
Date Sun, 27 Dec 2009 07:15:13 GMT
stefcl wrote:
> Hello,
> 
> I have been using Ibatis v3 for a few weeks now. Although IBatis XML syntax
> is straightforward and easy to understand, I still spend a lot of time
> editing my mapping files, creating POJOs, looking for property names,
> ensuring that ids aren't mistyped... 

I don't use NetBeans.  Do Eclipse plugins work there?  If so, check out
Ibator from the IBATIS website.  It will handle at least some of the
tasks you've identified (generates POJOs, result maps, etc.)

> 
> I'm using the netbeans IDE, I have seen some nice examples of third party
> products integration. Having had a quick look at the netbeans APIs, I think
> it should not be too complicated to create an Ibatis integration plugin that
> would provide features such as :
> 
> - navigating to myResultMap declaration when CTRL-clicking on
> resultMap="myResultMap" in a select block.
> - opening corresponding .java files using the same hyperlinking strategy as
> above.
> - enabling autocompletion for various ids (resultMap, sql) or java class
> names.
> 
> Those would be part of a first try, I can also think of more advanced
> features (exact feasibility still to be evaluated) :
> 
> 
> - Pojo generation wizard based on a resultMap declaration.
> - "Find Usages" menu for resultMap and Sql chunks.
> - autocompletion for POJOs property names.
> - Java Interface generation wizard for mapped queries (v3). 
> - Resultmap generation wizard -> given a SELECT, it executes it using
> netbeans database toolset and suggest a basic resultmap and/or POJO.
> - CRUD generation, like in abator.
> - Validation tools, code snippets, visual explorer...
> 
> It sure would require days and days of work, so I would like to ask ibatis
> users' opinion. For now I'm just emitting the idea, but if there is a real
> interest, I think I'll take the step further.
> 
> Kind regards


-- 
--
Guy Rouillier

---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message