Editing the attributes of annotation编辑注记属性 Editing the attributes of annotation You can edit annotation attributes in the Attributes window, which pro... ...
分类:
其他好文 时间:
2020-10-21 20:40:20
阅读次数:
20
最近公司有开发项目,是基于Springboot、Hibernate和JPA搭建的项目框架,由于本人之前没有搭建过此类框架,故记载一下项目搭建过程,作为自己的知识储备。
分类:
编程语言 时间:
2020-10-20 16:30:14
阅读次数:
27
spring导入properties配置文件 将外部属性文件的数据配置到bean的配置文件,依赖于context标签下的property-placeholder标签 1、准备properties文件 url=jdbc:mysql://localhost:3306/hibernate_db usern ...
分类:
编程语言 时间:
2020-10-16 10:57:20
阅读次数:
24
hibernate双向多对多映射关系的配置 1、实体类 package com.yl.bean; import java.io.Serializable; import java.util.Set; /** * 商品实体类 */ public class Goods implements Seria ...
分类:
Web程序 时间:
2020-10-13 17:11:28
阅读次数:
23
简单配置hibernate二级缓存 开启二级缓存 <!-- 开启 Hibernate 的二级缓存 --> <property name="hibernate.cache.use_second_level_cache">true</property> 配置encache <!-- 引入 EhCache ...
分类:
Web程序 时间:
2020-10-12 20:48:23
阅读次数:
43
1、概述 JSR相关的概念就不赘述了,网上一搜一大把。只要知道以下内容的区别即可: Bean Validation,(javax.validation)包下的接口规范。 Hibernate Validation,Hibernate对于上述规范的具体实现。 Spring Validation,是对Hi ...
分类:
编程语言 时间:
2020-10-12 20:10:38
阅读次数:
26
package org.springframework.web.bind.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.ann ...
分类:
其他好文 时间:
2020-10-07 21:05:52
阅读次数:
22
戴着假发的程序员出品 抖音ID:戴着假发的程序员 欢迎关注 [查看视频教程] 源码: 1 @org.springframework.core.annotation.AliasFor("name") 2 java.lang.String[] value() default {}; 3 4 @org.s ...
分类:
其他好文 时间:
2020-10-07 20:51:51
阅读次数:
28
戴着假发的程序员出品 抖音ID:戴着假发的程序员 欢迎关注 [查看视频教程] 源码: 1 @java.lang.Deprecated 2 org.springframework.beans.factory.annotation.Autowire autowire() default org.spri ...
分类:
其他好文 时间:
2020-10-07 20:49:39
阅读次数:
23
之前有零零散散整理过一些专题给大家参考学习,这次一次性来个终极手撕之架构大全,包含开源框架、分布式、微服务、性能优化等四个大专题共17个小专题,全部一锅端,送给大家一起学习~ 注意:需要全部完整版架构大全答案的点赞后扫一扫 01 开源框架(Spring +SpringMVC+Mybatis) 开源框 ...
分类:
其他好文 时间:
2020-10-06 21:14:09
阅读次数:
29