2020年3月26日

idea 自动生成 hibernate 实体类

摘要: 1. DataBase -> + -> Data Source -> MySQL 2. 填写 host、port、URL等信息后 -> TestConection(注:第一次测试连接需先安装插件) 测试连接:成功 3. 4.添加hibernate配置文件 <?xml version='1.0' en 阅读全文

posted @ 2020-03-26 18:35 无聊人123 阅读(734) 评论(0) 推荐(0)

URL编码解码

摘要: public class URLEncodeUtil { public static String encode(final String str, final String charset) { try { return URLEncoder.encode(str, charset); } cat 阅读全文

posted @ 2020-03-26 11:12 无聊人123 阅读(155) 评论(0) 推荐(0)

导航