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'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
-- 
View this message in context: 
http://old.nabble.com/How-about-a-Netbeans-integration-plugin--tp26926675p26926675.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


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

Reply via email to