摘要:
主机设置/etc/my.cnf #ID 必须唯一 server-id=1 ##二进制文件名称前缀,生成的文件mysql-bin.000001,mysql-bin.000002 log-bin=mysql-bin ##记录目前有哪些mysql-bin文件 SHOW MASTER STATUS; log 阅读全文
摘要:
spring事务用到了aop,aop用到了拦截器,用到了动态代理。 自己的类尽量扫描,jar包中的类配置 构造器-->自动注入-->PostConstrut-->InitializingBean-->xml中配置init方法PreDestroy--》DisposableBean-->xml中dest 阅读全文