Created
July 12, 2013 13:26
-
-
Save mcantrell/5984442 to your computer and use it in GitHub Desktop.
Spring string from a text file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="userByUserNameQuery" class="org.apache.commons.io.IOUtils" factory-method="toString"> | |
<constructor-arg type="java.io.InputStream"> | |
<bean class="java.io.FileInputStream" destroy-method="close"> | |
<constructor-arg type="java.io.File" value="classpath:/jdbc/userByName.sql"/> | |
</bean> | |
</constructor-arg> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment