Centos6.8防火墙配置
摘要:1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # 永久关闭防火墙 chkco
阅读全文
posted @
2021-07-27 11:25
小破孩楼主
阅读(209)
推荐(0) 编辑
Spring事务管理接口:PlatformTransactionManager、TransactionDefinition和TransactionStatus
摘要:Spring 的事务管理是基于 AOP 实现的,而 AOP 是以方法为单位的。Spring 的事务属性分别为传播行为、隔离级别、只读和超时属性,这些属性提供了事务应用的方法和描述策略。 在 Java EE 开发经常采用的分层模式中,Spring 的事务处理位于业务逻辑层,它提供了针对事务的解决方案。
阅读全文
posted @
2021-07-08 12:04
小破孩楼主
阅读(1219)
推荐(0) 编辑
JPA实体类监听器@EntityListeners注解使用实例
摘要:被@Prepersist注解的方法 ,完成save之前的操作。被@Preupdate注解的方法 ,完成update之前的操作。被@PreRemove注解的方法 ,完成remove之前的操作。被@Postpersist注解的方法 ,完成save之后的操作。被@Postupdate注解的方法 ,完成up
阅读全文
posted @
2021-07-08 10:41
小破孩楼主
阅读(2231)
推荐(0) 编辑
Centos7.3防火墙配置
摘要:1、查看firewall服务状态 systemctl status firewalld 2、查看firewall的状态 firewall-cmd --state 3、开启、重启、关闭、firewalld.service服务 # 开启 service firewalld start # 重启 serv
阅读全文
posted @
2021-07-02 14:24
小破孩楼主
阅读(114)
推荐(0) 编辑