jdbc 资料大全
static{Propertiesproperties=newProperties();try{InputStreaminStream=Thread.currentThread().getContextClassLoader().getResourceAsStream("application.properties");properties.load(inStream);dataSource=BasicDataSourceFactory.createDataSource(properties);}catch(Exceptione){t