Created
November 3, 2013 02:08
-
-
Save wendal/7285677 to your computer and use it in GitHub Desktop.
nutzdao直接运行sql, 用于测试或直接运行sql语句
This file contains hidden or 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
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