Hello all,
Why is it working WITHOUT configLocation and mapperLocations in mybatis-jpetstore-6.0.1?
mybatis-jpetstore-6.0.1 download link:
http://mybatis.github.io/spring/sample.html
In mybatis-jpetstore-6.0.1 applicationContext.xml,
<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
<property name="dataSource" ref="dataSource" />
<property name="typeAliasesPackage" value="org.mybatis.jpetstore.domain" />
</bean>
<bean class="org.mybatis.spring.mapper.MapperScannerConfigurer">
<property name="basePackage" value="org.mybatis.jpetstore.persistence" />
</bean>
I
know that typeAliasesPackage for scanning for domain objects and
basePackage for for your mapper interface files. However, where is the
setting for sqlmap/*.xml ?
Did I miss something?
Thanks in advance and have a nice weekend.
at Nabble.com.