摘要:
转自:https://segmentfault.com/a/1190000010646125 代码打成Jar之后,要如何进行Debug呢? 下面以 IDEA 来例进行说明: 1、在IntelliJ IDEA的run/debug configuration中增加一个remote类型的配置 2、以以下方 阅读全文
摘要:
当使用JPA的Specification处理like查询时,如果含有特殊字符%和_,则需要使用以下API处理问题: hibernate-jpa-2.1-api-1.0.2.Final.jar Predicate like(Expression<String> var1, String var2, c 阅读全文
摘要:
Java 8新增的Lambda表达式,我们可以用简洁高效的代码来处理List。 1、遍历 public static void main(String[] args) { List<User> userList = Lists.newArrayList(); User user1 = new Use 阅读全文
摘要:
让开发部署提速的 IDEA 插件神器攻略 用户2781897发表于服务端思维订阅 448 转自:https://cloud.tencent.com/developer/article/1467258 在这篇文章中: 第一步:配置服务器信息 第二步:配置 Maven 打包插件 第三步:部署 Jar 包 阅读全文
摘要:
文章目录Spring Boot 2.X - Spring Boot整合AMQP之RabbitMQRabbitMQ简介引入依赖编写配置编写接口启用Rabbit注解消息监听消息测试Spring Boot 2.X - Spring Boot整合AMQP之RabbitMQSpring Boot 2 整合Ra 阅读全文
摘要:
1、React Native获取组件的宽高 2、以及React Native屏幕dp与px转换计算; 3、参考:https://www.jianshu.com/p/1198be7e3344 阅读全文
摘要:
linux下activemq安装与配置 转自:https://www.cnblogs.com/shamo89/p/7645651.html 一、下载:apache-activemq-5.14.0-bin.tar.gz http://activemq.apache.org/activemq-5140- 阅读全文
摘要:
Spring Cache集成redis的运行原理: Spring缓存抽象模块通过CacheManager来创建、管理实际缓存组件,当SpringBoot应用程序引入spring-boot-starter-data-redi依赖后吗,容器中将注册的是CacheManager实例RedisCacheMa 阅读全文
摘要:
Spring的缓存机制非常灵活,可以对容器中任意Bean或者Bean的方法进行缓存,因此这种缓存机制可以在JavaEE应用的任何层次上进行缓存。 Spring缓存底层也是需要借助其他缓存工具来实现,例如EhCache(Hibernate缓存工具),上层则以统一API编程。 要使用Spring缓存,需 阅读全文
摘要:
1、docker mongo 1.1、docker pull mongo1.2、docker run --name mongo -p 27017:27017 -d mongo --auth1.3、进入bash:docker exec -it mongo bin/bash1.4、mongo目录:/us 阅读全文