Categories


Authors:
max.ishchenko
opensource software

iBATIS/MyBatis mini-plugin

Products: IntelliJ IDEA

Vendor: Max Ishchenko

Email: N/A

Website: https://github.com/ishchenko/idea-mini-ibatis

Description:

Simple iBATIS/MyBatis plugin
Contains essential features only, no datasource integration (yet)
Works for IDEA >= 10.0.3
Downloads: 16471
Rating:
Participated in rating: 5
Version Since Build Until Build File/URL Size (Kb) Date Details
1.13. 103.255. . Download 49.67 2013-08-01 21:10:19 details
. .
13 updates are hidden show all updates

Recent change notes:

    1.13
  • Find Usages of Spring beans exception fixed
    1.12
  • Call Hierarchy support for sqlMap statements
    1.11
  • Fixed ClassCastException for groovy strings
  • Copy Reference support for sqlMap statements
    1.10
  • Not fully qualified statement names support
  • Red circle of death fixed when you had some empty namespaces and invoked auto completion
    1.9
  • Multiple dots in fully qualified statement name support
  • Any string literal is a reference now
  • Computing concatenations for literals
  • Better File Structure popup presentation
    1.8
  • Better mapper file navigation
  • Mapper method definition inspection
    1.7
  • result resultMap attribute support
    1.6
  • Occasional StringIndexOutOfBoundsException fixed
  • parameterMap attribute support
  • selectKey resultClass attribute support
    1.5
  • Quick Documentation for statement names in Java code
    1.4
  • Support for sqlMaps with no namespace attribute defined
  • Better sqlMap file navigation
    1.3
  • Error on background mapper detection fixed
  • Resolving multiple statements with same namespace and id
    1.2
  • include tags support
  • typeAlias support
  • MyBatis 3 proxies - Go to Implementation for proxy methods jumps right into xml declaration for the mapper method
  • Find Usages for sqlMap statements. Finds self-reference as well, that should be fixed
    1.1
  • Showing clickable gutter icons for mapper interface and their methods, no Go to Implementation hotkey support yet
  • Searching for sqlMaps and mappers in libraries as well
    1.0
  • Go to Declaration for string literals in method arguments
  • Autocompletion of statement names in string literals in method arguments

Comments:

12>
max.ishchenko
2013-05-07 23:06:24
aupadhye, sql navigation is out of scope of this plugin. Maybe default IDEA SQL Support plugin can do that, I don't know. Jetbrains Devnet is a nice place to ask such questions: http://www.jetbrains.com/devnet/idea/
.
aupadhye
2013-05-04 02:39:07
I liked the ability to navigate to iBatis XML file. But it doesn't navigate from XML to the Stored Procedure definition in SQL file. Is it outside the scope of this plugin? Do you know any other plugin (may be related to SQL) which supports this?
.
kravovich
Rated:
2013-04-30 12:10:38
thank you! works perfectly!
.
max.ishchenko
2013-04-25 22:26:39
Hope, I fixed kravovich's issue in IDEA 10. Now unqualified names detect statements even if their sqlMap namespace is set.
.
max.ishchenko
2013-04-22 20:12:00
kravovich, the feature you describe should work. Could you please send a sample project that reproduces the problem?
.
kravovich
Rated:
2013-01-17 16:24:56
navigation works only for names with namespaces eg "MyNamespace.mySelect" works but "mySelect" does not work
.
d.k.Brazz
Rated:
2012-10-19 14:03:26
Thank you, Max!
.
max.ishchenko
2012-05-19 17:04:04
MyBatis support is pretty limited at the moment mostly because I don't use MyBatis in my projects and not very interested in MyBatis support myself. However, you can post you suggestions to plugin page on GitHub https://github.com/ishchenko/idea-mini-ibatis/issues and I will implement them, or you can implement yourself and provide pull request for me.
.
SKelvin
2012-05-18 19:29:41
Thanks for the plugin!

I am using MyBatis 3 and frankly I do not understand most of the described features.

The navigation from mapper interface method to XML tag is very, very nice and welcome.

What other features does the plugin offer for MyBatis 3 used exclusively with mapper interfaces and xml?

I do have tons of ideas regarding auto-completion, inspections, ...
.
max.ishchenko
2012-01-27 10:09:23
If you have problems with 1.4, I suggest invalidating caches. It fixed the problem for me. Looks like, IDEA uses DomElement fqn when indexing DomElements, if fqn changes (it had in 1.4) old indexes would not detect new DomeElement's location.
.
max.ishchenko
2012-01-24 15:13:50
Yea, but looks like non-empty namespace support is broken in 1.4 )) I will fix it asap.
.
jordandev
2012-01-23 20:23:16
The changes from 1.3 (multiple files because of supporting multiple databases) and 1.4 (namespace not required) work great.

Thanks!
.
jordandev
Rated:
2012-01-10 19:19:01
.
max.ishchenko
2012-01-10 08:03:12
jordandev, thanks for suggestions, your requests will be implemented!
.
jordandev
2012-01-09 19:33:09
Also, it seems when I have two statements with the same namespace/id one overwrites the other? Would it be possible to instead map both for Go To and be given a choice of which file to jump to?

I have these multiple statements because of having to handle both Oracle and SQL Server specific statements.
.
12>