List of usage examples for org.apache.commons.dbutils QueryLoader unload
public synchronized void unload(String path)
From source file:by.jdbc.dbutils.QueryLoaderTest.java
public void testLoad() throws IOException { try {/*from w w w. jav a 2 s . co m*/ QueryLoader loader = QueryLoader.instance(); Map<String, String> q = loader.load(QUERIES); Map<String, String> q2 = loader.load(QUERIES); loader.unload(QUERIES); Map<String, String> q3 = loader.load(QUERIES); } catch (IllegalArgumentException e) { // TODO Figure out why the Maven build can't find the properties // file. The tests run fine in Eclipse so just catch this // exception for now. } }