File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 55
66 <groupId >com.github.Tencent</groupId >
77 <artifactId >APIJSON</artifactId >
8- <version >5.1.6 </version >
8+ <version >5.2.0 </version >
99 <packaging >jar</packaging >
1010
1111 <name >APIJSONORM</name >
Original file line number Diff line number Diff line change 1313public class Log {
1414
1515 public static boolean DEBUG = true ;
16-
17- public static final String VERSION = "5.1 .0" ;
16+
17+ public static final String VERSION = "5.2 .0" ;
1818 public static final String KEY_SYSTEM_INFO_DIVIDER = "---|-----APIJSON SYSTEM INFO-----|---" ;
1919
2020 //默认的时间格式
Original file line number Diff line number Diff line change @@ -997,7 +997,16 @@ public static boolean isHive(String db) {
997997 return DATABASE_HIVE .equals (db );
998998 }
999999
1000- @ Override
1000+ @ Override
1001+ public boolean isTDengine () {
1002+ return isTDengine (getSQLDatabase ());
1003+ }
1004+ public static boolean isTDengine (String db ) {
1005+ return DATABASE_TDENGINE .equals (db );
1006+ }
1007+
1008+
1009+ @ Override
10011010 public String getQuote () {
10021011 return isMySQL () || isClickHouse () || isTDengine () ? "`" : "\" " ;
10031012 }
Original file line number Diff line number Diff line change @@ -42,13 +42,8 @@ public interface SQLConfig {
4242 boolean isDb2 ();
4343 boolean isClickHouse ();
4444 boolean isHive ();
45- default boolean isTDengine () {
46- return isTDengine (getDatabase ());
47- }
45+ boolean isTDengine ();
4846
49- static boolean isTDengine (String db ) {
50- return DATABASE_TDENGINE .equals (db );
51- }
5247
5348 //暂时只兼容以上几种
5449 // boolean isSQL();
You can’t perform that action at this time.
0 commit comments