datasource - What's the difference between data source type pooled and unpooled? -


i configuring mybatis , must choose data source type pooled or unpooled. in case what's difference between data source type pooled , unpooled?

unpooled
this implementation of datasource opens , closes connection each time requested. while it’s bit slower, choice simple applications not require performance of available connections. different databases different in performance area, may less important pool , configuration ideal


pooled
this implementation of datasource pools jdbc connection objects avoid initial connection , authentication time required create new connection instance. popular approach concurrent web applications achieve fastest response.


from : mybatis v. 3.3.0 user guide


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -