<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:config="http://www.anyframejava.org/schema/service"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
	http://www.anyframejava.org/schema/service http://www.anyframejava.org/schema/service/anyframe-core-service-2.5.xsd">
	
	<bean name="queryService" class="anyframe.core.query.impl.QueryServiceImpl">
		<property name="jdbcTemplate">
			<ref bean="jdbcTemplate"/>
		</property>
			
		<config:configuration>
  		    <filename>classpath:mappings/emp-user-userservice-mapping.xml</filename>
  		    <nullcheck type="VARCHAR" default-value=""/> 
     	    <sqlload dynamic="false" frequency="5"/> 
     	    <skiperror>true</skiperror>
		</config:configuration>					
	</bean>
	
	<!-- The original JdbcTemplate definition -->
    <bean id="jdbcTemplate" class="anyframe.core.query.impl.util.PagingJdbcTemplate">
      <property name="dataSource" ref="commonDataSource" />
    </bean>
</beans>	

