Open GoogleCodeExporter opened 8 years ago
>>1. The iBatis configuration dialog says to "make sure there is a SQL MAP
configuration file in a source directory.
Now plugin scans source directory to find the sqlmap config xml file, so you
should put the sqlmap file in
source directory.
>>2. For my web apps I have the SQL MAP configuration file in my WEB-INF
directory.
I think you can adjust your spirng configuration file and make the sqlmap
config file in source directory
>> 3. When I edit an SQL MAP I am able to resolve classes and properties with
no problem but not result maps or parameter maps. It works for me in my
non web applications where I have the SQL MAP configuration file in a
source directory.
Because iBATIS plugin can not get sqlmap config file, and it is very important
for the plugin, and the plugin
will use this file to find all sql map files. The workflow is just like
follwing: code completion for resultMap =>
find sqlmap config file => load all sqlmap files => get all resultMap names =>
code hints
>> What is the expected output? What do you see instead?
>>I would like to be able to specify the path to one or more SQL MAP
>>configuration files not in a source directory or even if I don't specify
>>the path I would like to be able to resolve result maps or paramter maps,
>>at least those that are defined within the same sql map file.
Yes, it is a problem. Now you can map external sqlmap files into IDEA by adding
content root, then make it as
source directory. I will take a look at this problem, and I will try to fix it
ASAP.
BTW, sorry for my slow feedback.
Original comment by libing.c...@gmail.com
on 28 Jun 2008 at 2:46
Original issue reported on code.google.com by
rory.far...@gmail.com
on 5 Apr 2008 at 5:29