We can inject java.util.Properties bean in Spring with a PropertiesFactoryBean. Here is how I did for my mybatis setting values.
<!-- mybatist setting properties -->
<bean id="mybatisConfigrations" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="properties">
<props>
<prop key="cacheEnabled">true</prop>
<prop key="safeRowBoundsEnabled">true</prop>
</props>
</property>
</bean>
Wednesday, October 9, 2013
Subscribe to:
Posts (Atom)
False fear
There is a figure they said She talks to me It's a mischievous voice I can't deny that love They say she is pretty Smart and wa...
-
Artist : Victor Rathnayaka [Intro] [ G - 4/4 ] ------------------------------------------------- | G | - | Em | - | | G...
-
The way I see it. If you are currently doing validation in a spring mvc application by implementing interface Validator undestanding spring...
-
This week I got a package from amazon and package tracker says USPS is delivering via priority mails. At the same time I find a key in my m...