qxo
qxo
之前除SqlServerDialect外,其他Dialect之前没有sql解析缓存. 优化前项目中每次此plugin的SQL解析基本在7/8到几十毫秒之间,有时比sql本身数据库执行还慢时! 经分析这个慢原因是其依赖的jsqlparser本身解析就慢,且在4.5时有反向优化(采用线程池却没每次重新线程!) `jad net.sf.jsqlparser.parser.CCJSqlParserUtil parseStatement` 测试发现jsqlparser 4.7和pagehelper不兼容, 4.6 和4.5有同样的问题 增加SQL解析缓存后,重复访问的耗时基本0.5毫秒以下 *需要说明的这次重构目前只在mysql下测试,其他Dialect未经测试*
原来fatjar类库改加-fat后缀, 打包到本地maven缓存仓库时如不需要fatjar可加-P!fatjar 即: `mvn install -P!fatjar` 默认ruoyi-admin jar不再包括依赖类库,用于第三方扩展时依赖。 这种方式第三升级ruoyi版本只用修改pom的对应依赖版本即可 ``` @SpringBootApplication(scanBasePackages = { "com.ruoyi" }, exclude = { DataSourceAutoConfiguration.class }) public class CustomRuoyiApplication { public static void main(String[] args) throws...
This commit remove below warning: [WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
For the stability of the build, we need to specify these plugins as fixed versions, reducing the need for network lookups to get the latest version after create-from-project on the...
logback not work on aix with ibm java 1.6 Caused by: java.lang.NullPointerException on : ch.qos.logback.core.util.Loader.(Loader.java:46) http://jira.qos.ch/browse/LOGBACK-952
these missing rule template keys should display in the error message so we can easy to fix the problem,
catch the RuntimeException for the code robustness ``` MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench.swt". !STACK 0 org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object at org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:293) at org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:283) at org.eclipse.core.internal.registry.ConfigurationElementHandle.getConfigurationElement(ConfigurationElementHandle.java:29) at...