???Druid??SQL??????
?????SegmentFault ???????[ 2017/1/18 14:15:22 ] ????????SQL Server ?????
??????? Druid
????Druid ????????????????????????????????????? ???????????????????
???????? ??? wiki ?????
????Druid ????? JDBC ????????????????????SQL Parser ???????DruidDataSource ???????????????
?????????????????????????? DruidDataSource ?????????????? -_- ...
????Druid SQL ??????
????Druid ????????????????????????????? Druid ????????????????????????????????????????????????Щ??????(???磬mycat)???????? Druid ?? SQL ???????????????о????????????????????????????м???????? SQL ?????????????????? Druid??Druid ?????? SQL ??????????????????????????????????????????????????о? SQL ???????????????????????????к????С?
????Druid ?????????????£?
??????? Druid SQL ??????
??????????????????????????????????????????????? SQL ???????????????????????????? SQL ????????顣
???????????????????“???????”????????????????????????ж????Щ package ?? SQL ?????й?????????????????????????Щ??????????????????? IDE ?л?????????ЩС???棬??????е?????????Druid ???????????????SQL ????????????????????????飬?????????????????????
????????????“???????”?????????????????????????
?????????????????? Druid ?? MySQL ????????????????????? Druid ??????????????????????????? Druid ??Щ????????????????“?????????”????????????????????????????? SQL ???????????????????????? MySQL ???????
??????????? SQL ?????????????鷳?£?????????? Druid ??????ν?????????????????????????????????
if type is oracle:
do something;
else if type is db2:
do something;
else if type is H2:
do something;
else if type is MySQL:
do something;
???????????????????
if type is MySQL:
do something;
else:
throw some exception;
????????????????????? Druid ??????Щ??????
???????????????????????о??????? SQL ????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11