if (hasFileAttribute)
{
String fileName = sqlElem.getAttribute(FILE_ATTRIBUTE);
BeanDefinitionBuilder queryFileBuilder = BeanDefinitionBuilder.genericBeanDefinition(QueryFileFactoryBean.class);
queryFileBuilder.addConstructorArgValue(fileName);
queryFileBuilder.addConstructorArgValue(new DefaultFileReader());
queryTemplateFactory.addConstructorArgValue(queryFileBuilder.getBeanDefinition());
}
else
{
Node node = sqlElem.getFirstChild();