自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 linux docker部署nginx,访问前端页面报500权限问题

docker部署nginx权限问题

2023-02-10 17:31:24 1180

原创 springboot报错:Use of @OneToMany or @ManyToMany targeting an unmapped class:

Use of @OneToMany or @ManyToMany targeting an unmapped class

2022-05-27 17:41:33 450

原创 解决jpa Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

问题jpa删除数据时,无法进行删除操作,且删除报错解决1、方法添加@Transactional(rollbackFor = Exception.class,propagation = Propagation.SUPPORTS)2、调用的Repository的方法添加@Modifying和@Transactional

2022-05-18 13:50:42 899

原创 jpa 中文排序

定义package com.htaw.cs.base.common.contents;import org.hibernate.dialect.MySQL5Dialect;import org.hibernate.dialect.function.SQLFunctionTemplate;import org.hibernate.type.StandardBasicTypes;import org.springframework.stereotype.Component;/** * @aut

2021-10-21 08:51:01 555

转载 springboot连接MongoDB

pom.xml添加依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-mongodb</artifactId></dependency>控制层package gd.adminsystem.system.controller;import gd.adminsystem.s

2020-11-23 14:42:55 815

原创 文件异步上传oss

文件异步上传oss//新开线程60s不用自动消亡ExecutorService service = Executors.newCachedThreadPool(); service.submit(new testRun("xmSubmit", dataYMD,bytes,fileName1, "3", accessKeyId, accessKeySecret));@Async class testRun implements Callable<Integer>{ S

2020-09-17 16:14:37 1801

空空如也

空空如也

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

TA关注的人

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