fix too many connection in upgrade or create (#1049)
* rename from DatasourceUserMapper to DataSourceUserMapper
* add unit test in UserMapper and WorkerGroupMapper
* change cn.escheduler to org.apache.dolphinscheduler
* add unit test in UdfFuncMapperTest
* add unit test in UdfFuncMapperTest
* remove DatabaseConfiguration
* add ConnectionFactoryTest
* cal duration in processInstancesList
* change desc to description
* change table name in mysql ddl
* change table name in mysql ddl
* change escheduler to dolphinscheduler
* change escheduler to dolphinscheduler
* change escheduler to dolphinscheduler
* remove log4j-1.2-api and modify AlertMapperTest
* remove log4j-1.2-api
* Add alertDao to spring management
* Add alertDao to spring management
* get SqlSessionFactory from MybatisSqlSessionFactoryBean
* get processDao by DaoFactory
* read druid properties in ConneciontFactory
* read druid properties in ConneciontFactory
* change get alertDao by spring to DaoFactory
* add log4j to resolve#967
* resole verify udf name error and delete udf error
* Determine if principal is empty
* Determine whether the logon user has the right to delete the project
* Fixed an issue that produced attatch file named such as ATT00002.bin
* fix too many connection in upgrade or create
#the SQL used to check whether the connection is valid requires a query statement. If validation Query is null, testOnBorrow, testOnReturn, and testWhileIdle will not work.
#the SQL used to check whether the connection is valid requires a query statement. If validation Query is null, testOnBorrow, testOnReturn, and testWhileIdle will not work.
spring.datasource.validationQuery=SELECT 1 FROM DUAL
spring.datasource.validationQuery=SELECT 1
#check whether the connection is valid for timeout, in seconds
#check whether the connection is valid for timeout, in seconds
#Primary key type AUTO:" database ID AUTO ", INPUT:" user INPUT ID", ID_WORKER:" global unique ID (numeric type unique ID)", UUID:" global unique ID UUID";