自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 生成一个包含日期的随机编码

随机编码

2022-08-02 11:22:50 160

原创 Ubuntu 20.04 安装后端环境

linux服务器后端相关软件暗转

2022-08-01 15:11:59 341

原创 阿里云新购 ubuntu 20.04服务器初始化设置

阿里云新购 ubuntu 20.04服务器初始化设置

2022-08-01 14:59:17 404

原创 ssm pom文件依赖 web.xml配置

<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&.

2022-01-13 17:16:06 151

原创 复杂格式的json转递

jsp中格式$(function () { //定义复杂类型Person var personComplex = { "id": 1001, "name":"张三", "address":{"province":"江苏省","city":"南京市","street":"赛虹桥街道"}, //ajax对象list最外层用[] "dogs":[{"stra

2022-01-08 11:27:09 209

原创 springmybatis事务相关的application.xml

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.spring.

2022-01-06 12:25:51 182

原创 让src文件夹能读取xml文件

<build>标签里面添加<resources> <resource> <directory>${basedir}/src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource></resources>...

2022-01-04 16:31:32 95

原创 Mybatis整合Spring的ApplicationContext文件

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.sprin.

2022-01-04 16:20:37 416

原创 数据库实体类对应daoimpl,基础的增删改查。

数据库表名student,daoimpl类实现增删改查。public class StudentDaoImpl extends BaseDao implements StudentDao { /** * 查询全部学生信息 */ @Override public List<Student> selectAll() { List<Student> list = new ArrayList<>(); // 获取basedao里面通用的返回结果集

2021-12-08 17:34:06 431

原创 读取JDBC配置文件

用单例的方式,properties文件在src目录下。public class ConfigManager { private static ConfigManager configManager = null; private static Properties properties = null; // 私有的构造方法 private ConfigManager() { properties = new Properties(); // 要想 使用该对象操作文件(类型必须是后缀

2021-12-08 17:29:52 970

原创 数据库JDBC DAO层方法

jdbc dao 连接配置

2021-12-07 16:38:51 228

原创 sql常用函数

2021-12-04 14:47:48 166

原创 数据库sql的基础语句

1.建立student、grade表,并且两表之间有内外键关联。由于grade表是内外键的主键表,所以此处需先建立grade表保证表间的结构完整。#首先建立grade表CREATE TABLE IF NOT EXISTS `grade`(gradeid INT (11) NOT NULL PRIMARY KEY,gradename VARCHAR(50) NOT NULL)ENGINE =INNODB CHARSET=utf8 COLLATE=utf8_bin;#再建立student表

2021-12-02 16:42:09 455

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除