08 2020 档案

摘要:当你定义好数据库表后,是否在为简单代码得编写而头疼,这里分享一篇代码自动生成得方法 直接上代码了 package com.example.mpgenerator; import com.baomidou.mybatisplus.annotation.DbType; import com.baomid 阅读全文
posted @ 2020-08-31 21:53 龙欺 阅读(281) 评论(0) 推荐(0)
摘要:/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open 阅读全文
posted @ 2020-08-27 16:54 龙欺 阅读(546) 评论(0) 推荐(1)
摘要:/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open 阅读全文
posted @ 2020-08-27 16:53 龙欺 阅读(595) 评论(0) 推荐(0)
摘要:对原生JDBC程序中的问题总结 1.假在数据库驱动2.创建并获取数据库链接3.创建jdbc statement对象4.设置sql语句5.设置sql语句中的参数(使用preparedStatement)6.通过statement执行sql并获取结果7.对sql执行结果进行解析处理8.释放资源(resu 阅读全文
posted @ 2020-08-24 23:36 龙欺 阅读(243) 评论(0) 推荐(0)