java - How does tomcat jdbc pool cache the query results? -
I have encountered such an issue, the badge JDBC has collaboration pool with hibernate cache query results, but I hibernate Cash is banned. But when I switch to the JDBC Pool DBCP, the problem disappears. That's why I do not cache query results in the badge JDBC pool, but I have not found any documents on this issue. Can anyone tell me how to close the queue cache in the JDBC pool? This badge runs in JDBC-7.0.47 and there is a configuration below
. & Lt; Beam id = "data source" class = "org.apache.tomcat.jdbc.pool.DataSource" delete-method = "off" & gt; & Lt; Property Name = "driverClassName" value = "com.mysql.jdbc.Driver" /> & Lt; Property name = "url" value = "JDBC: mysql: //192.168.1.104: 3306 / uip_test_1 useUnicode = true & amp; characterEncoding = UTF8 & amp; amp; zeroDateTimeBehavior = convertToNull" /> & Lt; Property Name = "User Name" Value = "Original" /> & Lt; Property Name = "Password" Value = "Basic" /> & Lt; Property Name = "Default Auto Comet" value = "False" /> & Lt ;! - & lt; Property Name = "Initial Size" value = "10" /> - & gt; & Lt; Property Name = "Maxactive" value = "40" /> & Lt; Property Name = "Max idle" value = "10" /> & Lt; Property Name = "MaxWhite" value = "60000" /> & Lt; Property Name = "TestOnBorro" Value = "True" /> & Lt; Property Name = "TimeBetinVisionationMilis" value = "3600000" /> & Lt; Property name = "testWhileIdle" value = "true" /> & Lt; Property name = "verification" value = "choose from double" /> & Lt; / Bean & gt;
Comments
Post a Comment