I am using Spring and Mybatis in my project . Project can run in any platform like SQL Server Oracle etc.
I am facing 1 Problem i want to access variable value From properties file,application Context file to Mybatis Mapper file.
For.eg :
ApplicationContext.xml - Spring file
config.properties file
in above file want to decalare variable lets say
pName = XYZ
i want to access this pName in Mybatis Mapper XML file.
<select id="getValue" parameterType="java.lang.String" >
${pName}
</select>
How is it possible ?if have any other solution most welcome.