现在位置:首页 >
-
DbUtils 详细使用教程
软件分享 4-4 15576浏览 3评论单行数据处理:ScalarHandler ArrayHandler MapHandler BeanHandler 多行数据处理:BeanListHandler AbstractL...
-
java jdbc插入数据后返回该条数据的自增ID值
代码分享 4-3 10653浏览 1评论用户注册是向表中插入用户的基本信息并返回该记录的id值例子publiclongregist(Cusercuser){Connectioncon=Cconnection.getconnection();//Cconnection是的到数据库连接的类PreparedStatementps=null;ResultSetrs=null;longid=0;...