greptilian logo

IRC log for #friendlyjava, 2017-10-05

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
11:47 dka joined ##friendlyjava
11:48 dka Can anybody help me understand how I can insert the sql fragment here to not have the default one? https://github.com/hatunet/spring-data-mybatis/blob/adeae420c8f09a88c0c7aed5676ccc1401954c33/src/main/java/org/springframework/data/mybatis/repository/support/MybatisSimpleRepositoryMapperGenerator.java#L125
11:48 dka hi
11:48 aditsu dka: hi
11:49 aditsu oh, ibatis
11:49 dka hi
11:49 dka I've been looking for some help everywhere
11:49 dka but no one is enough patient to help somebody who use a non documented ORM framework
11:49 dka I have only 4years XP in java
11:49 dka I know there is something to do but I don't know  how
11:50 aditsu from what I remember, ibatis defines the queries in xml files
11:50 dka yes
11:50 dka Do you want to dig into that and help ? :)
11:50 aditsu so you'd probably have to change it there
11:50 dka i'll perform that chan
11:51 dka I did, but I can't inject the SELECT_CONDITION_INNER in my xml because it complain it already exist because there is already an injected one, the default one from the link
11:51 aditsu you can modify that one, or add one with a different name
11:51 aditsu or you could use something else instead of ibatis
11:51 dka The author of spring-data-mybatis send me a src file showing me how to use, in the .properties I can see he preload mapper using a beforemapper proroperties
11:51 dka but I can't see how it is injected at the right moment
11:52 dka I need when the code is executed that L125 as loaded my beforemapper/UserMapper.xml
11:52 dka I want ibatis
11:52 dka :)
11:54 aditsu what do you mean by injected? isn't that what line 126 does?
11:58 dka it check if a fragment is present in the configuration
11:58 dka do you want to see a runable client+backend app ?
11:58 dka i have  aone liner for each
11:58 dka then with intellij we can play debugging
11:58 dka I know where to put the brakepoint
11:58 dka I am just completely stuck understand how I can hack the thing
11:59 aditsu well, if you add your fragment in the xml, it should be present
12:09 dka I have tried
12:09 dka Do you want to try ?
12:09 dka I keep trying
12:12 aditsu what did you try and what happened?
13:15 philbot joined ##friendlyjava
13:15 Topic for ##friendlyjava is now Be friendly :) This channel is publicly logged at http://irclog.greptilian.com/friendlyjava/today ⚫ Please use a pastebin for pasting code
13:28 mr_lou joined ##friendlyjava
23:17 dka joined ##friendlyjava

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode