Windows leveldb加载失败 报错信息:java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, xxxx no leveldbjni in java.library.path]1、GAV<!-- https://mvnrepository.com/artifact/org.fusesou
JPA entityManager查询转自定义对象org.hibernate.Query @deprecated (since 5.2) hibernate-core:5.3.X之前NativeQueryImplementor query = query.unwrap(org.hibernate.Query.class).setResultTransformer(Transformers.aliasToBean(FinancialProductsBeanTest.class))hibernate-core:5.3.X之后NativeQueryImplementor query = query.unwrap(NativeQueryIm.
spring boot mybatis有些字段值为空 现象:有下划线的字段赋值失败。1、application.yml开启驼峰映射mybatis: configuration: map-underscore-to-camel-case: true #版本不同,对应的配置项可能不同2、自定义SQLSessionFactorytry { bean.getObject().getConfigurat...
bootdo关闭自动执行sql class ActivitiConfigSpringProcessEngineConfiguration processEngineConfiguration = new SpringProcessEngineConfiguration();processEngineConfiguration.setDataSource(dataSource);processEngineConfigu...
Git:fatal: I don't handle protocol 'git@https'/error:Cannot pull with rebase 1、git pull git@github.com/{user name}/{repository name}.git / git push -u origin masterfatal: I don't handle protocol 'git@https'远程仓库问题,解决:git remote add origin https://github.com/{user name}/{reposit...
sql语句性能优化 1、尽量不要使用模糊查询(会导致相关列的索引不可用);2、有索引的列避免在sql语句中进行计算操作,尽量不使用not、<>、!=、is null、is not null,不进行数据类型转换、不使用函数、空值;3、复杂的update和select语句适当拆分,多子句sql语句影响性能;4、where子句中使用exist和not exist代替in和not in,having;...