JRebel not reloading mybatis xml map files

ZeroTurnaround Homepage Forums JRebel Support JRebel not reloading mybatis xml map files

This topic contains 9 replies, has 8 voices, and was last updated by  dylan__liang 4 weeks ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #14907

    zzem77
    Participant

    Class files are working successfully with JRebel log messages, but mybatis xml mapper files do not work.

    I checked out mybatis plugin at ‘JRebel config centre’s plugins tab’.

    Here are my configurations.

    springweb3.1, mybatis(spring-mybatis-1.1.1)

    eclipse4.2 + JRebel plugin 5.0.1(social ver) + tomcat 7.0.29

    context-mybatis.xml

    =============================================

    <bean id=”sqlSessionFactory” class=”org.mybatis.spring.SqlSessionFactoryBean”>

    <property name=”dataSource” ref=”dataSource” />

    <property name=”configLocation” value=”classpath:/config/mybatis/config-mybatis.xml” />

    <property name=”mapperLocations” value=”classpath*:com.company/**/mapper/*.xml” />

    <property name=”typeAliasesPackage” value=”com.company.persistence” />

    </bean>

    <bean class=”org.mybatis.spring.mapper.MapperScannerConfigurer”>

    <property name=”basePackage” value=”com.company.persistence” />

    </bean>

    =============================================

    config-mybatis.xml

    =============================================

    <?xml version=”1.0″ encoding=”UTF-8″?>

    <!DOCTYPE configuration PUBLIC “-//mybatis.org//DTD Config 3.0//EN” “http://mybatis.org/dtd/mybatis-3-config.dtd”>

    <configuration>

    <settings>

    <setting name=”cacheEnabled” value=”false” />

    <setting name=”useGeneratedKeys” value=”true” />

    <setting name=”defaultExecutorType” value=”REUSE” />

    <setting name=”defaultStatementTimeout” value=”25000″/>

    </settings>

    </configuration>

    =============================================

    #21798

    Dmitri Danilkin
    Participant

    Hello,

    Could you please send us a log?

    http://zeroturnaround.com/software/jrebel/sending-log/

    #21799

    jevgenim
    Participant

    This feature is not yet implemented, we are working on it.

    #21800

    anonymous
    Participant

    I have the same problem. Do you know when will be implemented this feature?

    Thanks.

    #21801

    jevgenim
    Participant

    We do not have an exact ETA for this feature, but it’s on our short-term todo list

    #65095

    mgorgon
    Member

    Was working in Eclipse, but isn’t working again in 7.0.13 for IntelliJ.

    #65117

    Valerie Avramenko
    Rebel Staff

    Please let us know what exactly is not working after switching to IntelliJ IDEA?
    Would also be helpful if you could send your trace level jrebel.log file after reproducing the issue to support@zeroturnaround.com with the link to this forum topic?

    To generate it just add -Drebel.log=trace to your VM arguments, restart your server and reproduce the issue.

    Kind regards,
    Valerie

    #65525

    Meelis
    Moderator

    The above issue was with <sql> tags not being reloaded in mybatis xml configuration.
    This is fixed in the nightly(https://zeroturnaround.com/software/jrebel/download/nightly-build/) and will be available in 7.1.0 release.

    #66809

    dylan__liang
    Member

    it seem not available in 7.1.3 yet.

    #66810

    dylan__liang
    Member

    oh. It work. It’s other plugin cause the xml not build.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.