Add missing import to generated JdbcMapper classes

This commit is contained in:
Travis Burtrum 2017-06-07 02:50:36 -04:00
parent 783b51b810
commit 53a8c4032e

View File

@ -125,6 +125,7 @@ public class JdbcMapperProcessor extends AbstractProcessor {
w.write("import javax.sql.DataSource;\n");
}
w.write("import java.sql.*;\n\n");
w.write("import static com.moparisthebest.jdbc.util.ResultSetUtil.*;\n");
w.write("import static com.moparisthebest.jdbc.TryClose.tryClose;\n\n");
w.write("public class ");
w.write(className);