emacarron / mybatis

Automatically exported from code.google.com/p/mybatis
0 stars 0 forks source link

substitutable properties not working on plugins properties value #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the MyBatis are you using? 3.0.2

Please describe the problem.  Unit tests are best!

If I defined a propertie on mapper configuration file, the value of propertie 
is not substituted on plugins properties value :

<configuration>
    <properties>
        <property name="key" value="value"/>
    </properties>
    <plugins>
        <plugin interceptor="fr.pasteur.MyBatisPlugin">
            <property name="username" value="${key}"/> <--- not substitution
        </plugin>
    </plugins>
    ...

Best regards

Duto

Original issue reported on code.google.com by dutrieux...@gmail.com on 24 Sep 2010 at 8:31

GoogleCodeExporter commented 9 years ago
should be fixed in r4592. thanks for the report!

Original comment by eduardo.macarron on 19 Jan 2012 at 3:35

GoogleCodeExporter commented 9 years ago

Original comment by eduardo.macarron on 5 Feb 2012 at 6:56