摘要:
@RunWith(MockitoJUnitRunner.class) @TestPropertySource("classpath:application-test.properties") public class DemoTest{ @InjectMocks private Service se 阅读全文
摘要:
1.import MultiThreadTransactionManager.java2.DI PlatformTransactionManager3.new MultiThreadTransactionManager<>(transactionManager)4.addTask()5.execut 阅读全文
摘要:
dbType=bit dbValue=null|0|1 javaType=boolean javaValue=false|false|true javaType=Boolean javaValue=null|false|true dbType=tinyint dbValue=null|0|not 0 阅读全文
摘要:
1.Batch update top 10 2.Backup table 3.Add/Alter column and PK 4.Create/Replace Index 5.Dynamic Create/Replace sequence 6.Create/Replace Stored Proced 阅读全文
摘要:
5 7 11 1.Creativeness 1.1 Singleton private static class InnerClass{ new Singleton()} 1.2 Prototype 实现Cloneable 使用ObjectxxxputStream ByteArrayxxxputSt 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:s 阅读全文
摘要:
1.settings.xml <servers> <server> <id>xxx-releases</id> <username>xx</username> <password>xxx</password> </server> <server> <id>xxx-snapshots</id> <us 阅读全文
摘要:
1.pom.xml <properties> <sonar.exclusions> **/model/*, **/common/*, **/dto/*, **/dao/* </sonar.exclusions> <sonar.jacoco.itReportPath>${project.basedir 阅读全文
摘要:
Spring boot 2.0.2.RELEASE --deduceWebApplicationType--org.springframework.web.reactive.DispatcherHandler/org.springframework.web.servlet.DispatcherSer 阅读全文
摘要:
BeanDefinitionRegistryPostProcessor MapperScannerConfigure -->generate BeanFactory BeanFactoryPostProcessor PropertyPlaceholderConfigure Instantiation 阅读全文