• HOME
  • SEARCH
  • TOPICS
  • DATA

  • Maven 常用命令

    Maven 指令解析 mvn:主命令 archetype:generate:子命令 archetype:插件 generate:目标 mvn archetype

    2023-03-18, Views: 1587 , Topics: Maven

  • Maven Fatal error compiling: 错误: 无效的目标发行版:17 -> [Help 1]

    尝试解决 pom.xml中添加如下配置,但未能解决 <properties> <maven.compiler.source>17&l

    2023-03-17, Views: 6507 , Topics: Maven Java

  • OpenLens 6.3.0 无法查案日志和进入 Pod Shell 解决方法

    原因 OpenLens 6.3.0开始移除了Pod的查看日志和进入Pod Shell按钮,无法查看日志和进入Pod操作。 解决办法 OpenLens 6.3.0

    2023-03-15, Views: 5461 , Topics: OpenLens Kubernetes

  • HTTP Bad chunk header 和 Illegal or missing hexadecimal sequence in chunked-encoding 解决方法

    错误信息 错误一 org.apache.http.MalformedChunkCodingException: Bad chunk header: {"a":[

    2023-03-14, Views: 3291 , Topics: HTTP

  • Nginx 502 Bad Gateway

    现象 请求页面得到502 Bad Gateway。 日志 查看error.log日志,发现有upstream sent too big header while

    2023-03-13, Views: 1634 , Topics: Nginx

  • SSH 客户端工具

    WindTerm 功能:SHH、SCP、SFTP、Telnet、Shell、CMD。 https://github.com/kingToolbox/WindTe

    2023-03-12, Views: 2167 , Topics: SSH

  • 开源邮件服务器

    说明 Star数统计于2023-03-11。 Mail-in-a-Box Star:11.6k License:CC0 1.0 Universal 语言:Pyt

    2023-03-11, Views: 2401 , Topics: GitHub

  • PowerShell、CMD、Linux 命令换行

    场景 运行docker命令,该命令由多行组成。在Linux中使用\表示换行。 docker run \ --name nginx \ -p 80:80 \ ng

    2023-03-10, Views: 4335 , Topics: Linux cmd PowerShell

  • Windows 命令中使用 WSL 命令

    说明 Windows中可以直接使用WSL子系统的命令,PowerShell和CMD都支持。 格式 wsl+command,如使用date查看日期,可以使用wsl

    2023-03-09, Views: 1957 , Topics: WSL Windows

  • Python 启动简易 HTTP 服务

    Python3 python3 -m http.server 7800 Python2 python -m SimpleHTTPServer 7800

    2023-03-08, Views: 2281 , Topics: Python

  • Spring Shell 基本使用

    添加命令 @ShellComponent:等同于@Component,使Spring扫描进IoC容器。 @ShellMethod:定义命令。 - val

    2023-03-07, Views: 2007 , Topics: Spring Shell Spring Boot

  • Spring Shell 基本设置

    框架 以Spring Boot为底座,加上spring-shell-starter为框架。 不显示 Banner 在application.yaml中配置 sp

    2023-03-06, Views: 2818 , Topics: Spring Shell Spring Boot

  • Spring Boot i18n 国际化

    IDEA 插件 Resources Bundle Editor,方便查看和编辑多个i18n文件。 Accept-Language Accept-Language

    2023-03-05, Views: 2234 , Topics: Spring Boot i18n IDEA

  • Spring 与 JPA 中的 @Transactional 注解的区别

    配置不同 隔离级别 Spring提供事务范围内的隔离级别,JPA只能在链接范围。 传播性 Spring中使用propagation属性。 JPA中使用va

    2023-03-04, Views: 2186 , Topics: Spring Boot JPA Spring

  • Spring Boot JPA 打印 SQL 语句及参数

    需求 JPA执行SQL语句时,打印最终生成的SQL以及传入的参数。 方法一 show-sql设置为true表示打印SQL语句。 format_sql设置为tru

    2023-03-03, Views: 8446 , Topics: Spring Boot JPA

  • Spring Boot JPA 打印 SQL 执行时间

    需求 打印出JPA执行SQL语句时花费的时间。 添加配置 generate_statistics设置为true,表示生成统计信息。 spring: jpa:

    2023-03-02, Views: 2780 , Topics: Spring Boot JPA

  • Spring Boot JPA 打印慢查询 SQL 语句

    开启配置 注意:配置的1000表示1000毫秒 spring: jpa: properties: hibernate:

    2023-03-01, Views: 2510 , Topics: Spring Boot JPA

  • Spring Boot JPA 关键字自动添加双引号

    说明 对于一些数据库中保留的关键字,如果我们使用这些关键字去命名表名字、字段名可能会出现报错。 如:PostgreSQL中使用user作为表名,则必须在写SQL

    2023-02-28, Views: 4058 , Topics: Spring Boot JPA

  • Spring Boot JPA 开启审计字段自动注入

    需求 对于一些审计字段,如:创建时间,更新时间,创建人,更新人。 注解 Spring提供了这几种审计字段的注解,分别是: @CreatedDate:创建时间

    2023-02-27, Views: 2094 , Topics: Spring Boot

  • Spring Boot JPA 使用 @Index 为字段添加索引

    需求 使用JPA创建:唯一索引、普通索引、联合索引。 代码 使用@Table中的indexes属性,指定@Index索引。 @Setter @Getter @E

    2023-02-25, Views: 3855 , Topics: Spring Boot JPA

  • First Prev
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • Next Last

©2025 沪ICP备18012661号-1 阿里云

Messages Sitemap GitHub