Home > Back-end >  All kinds of database connection pool
All kinds of database connection pool

Time:02-27

All kinds of database operation interface on the following to see what would happen


1, create a database connection pool, specifies the database used by test1,
2, from the connection pool to obtain a connection conn
3, modify the conn used database, instead of test2
4, to return the conn connection pool


after back from the connection pool to obtain the same connection test1 and test2 is used database?
  • Related