Skip to content

Instantly share code, notes, and snippets.

@wendal
Created November 3, 2013 02:08
Show Gist options
  • Save wendal/7285677 to your computer and use it in GitHub Desktop.
Save wendal/7285677 to your computer and use it in GitHub Desktop.
nutzdao直接运行sql, 用于测试或直接运行sql语句
dao.run(new ConnCallback() {
public void invoke(Connection conn) throws Exception {
ResultSet rs = conn.prepareStatement("你的sql语句").executeQuery();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment