<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://ab.edge-technologies.com/docs/index.php?action=history&amp;feed=atom&amp;title=Appboard%2F2.6%2Fbuilder%2Fdata_sources%2Fdatabase</id>
	<title>Appboard/2.6/builder/data sources/database - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://ab.edge-technologies.com/docs/index.php?action=history&amp;feed=atom&amp;title=Appboard%2F2.6%2Fbuilder%2Fdata_sources%2Fdatabase"/>
	<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;action=history"/>
	<updated>2026-04-07T13:30:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8058&amp;oldid=prev</id>
		<title>imported&gt;Mike.berman: 1 revision:&amp;#32;Upload production docs for 2.6.2 releases</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8058&amp;oldid=prev"/>
		<updated>2016-09-06T21:19:14Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Upload production docs for 2.6.2 releases&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:19, 6 September 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Mike.berman</name></author>
	</entry>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8057&amp;oldid=prev</id>
		<title>imported&gt;Doug yeager: /* Advanced Database Configuration */</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8057&amp;oldid=prev"/>
		<updated>2016-06-13T18:13:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Advanced Database Configuration&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:13, 13 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l190&quot;&gt;Line 190:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 190:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Advanced Database Configuration ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Advanced Database Configuration ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are a number of low-level database configuration parameters defined in &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/config/appboard.properties&amp;lt;/tt&amp;gt;. Note that as with all property changes, the recommended approach is to make the change to the property in &amp;lt;tt&amp;gt;appboard-custom.properties&amp;lt;/tt&amp;gt; so that the changes will persist across upgrades.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are a number of low-level database configuration parameters defined in &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/config/appboard&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-jdbc&lt;/ins&gt;.properties&amp;lt;/tt&amp;gt;. Note that as with all property changes, the recommended approach is to make the change to the property in &amp;lt;tt&amp;gt;appboard-custom.properties&amp;lt;/tt&amp;gt; so that the changes will persist across upgrades.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that each parameter is documented in appboard.properties, and ideally the system defaults should be suitable for most users. However, under some high-load circumstances these are the parameters that may be of interest:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that each parameter is documented in appboard.properties, and ideally the system defaults should be suitable for most users. However, under some high-load circumstances these are the parameters that may be of interest:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l198&quot;&gt;Line 198:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 198:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!Description&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!Description&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;acquireIncrement&lt;/del&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;connectionTestQuery&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;When &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;available connections are about &lt;/del&gt;to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;run out&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BoneCP &lt;/del&gt;will &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dynamically create new ones in batches&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This property controls how many new connections to create in one go (up to a maximum of maxConnectionsPerPartition)&lt;/del&gt;. Note: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This is a per partition setting&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If your driver supports JDBC4 we strongly recommend not setting this property.  This is for &amp;quot;legacy&amp;quot; databases that do not support the JDBC4 Connection.isValid() API. This is the query that will be executed just before a connection is given to you from &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pool to validate that the connection &lt;/ins&gt;to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the database is still alive. Again, try running the pool without this property&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;HikariCP &lt;/ins&gt;will &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;log an error if your driver is not JDBC4 compliant to let you know&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Default: none&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;Note: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;you will see some connectionTestQuery&amp;#039;s configured for specific drivers that are not JDBC4 compliant&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.queryTimeout&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.queryTimeout&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l207&quot;&gt;Line 207:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 207:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| In addition to the Table and Query &amp;#039;&amp;#039;timeout&amp;#039;&amp;#039; setting, AppBoard also performs an availability/accessibility test (open TCP socket to database host:port). The default value is 5 seconds and in most cases this should not be changed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| In addition to the Table and Query &amp;#039;&amp;#039;timeout&amp;#039;&amp;#039; setting, AppBoard also performs an availability/accessibility test (open TCP socket to database host:port). The default value is 5 seconds and in most cases this should not be changed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;connectionTestStatement&lt;/del&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;idleTimeout&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Sets the connection &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;test statement.  The query to send &lt;/del&gt;to the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;DB to maintain keep-alives and test for dead connections&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This# &lt;/del&gt;is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;database specific and should be set &lt;/del&gt;to a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;query that consumes the minimal amount &lt;/del&gt;of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;load on the server. Examples: MySQL: &amp;quot;/* ping */ SELECT 1&amp;quot;&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PostgreSQL: &amp;quot;SELECT NOW()&amp;quot;&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If you do not set &lt;/del&gt;this&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, then BoneCP will issue a metadata request instead &lt;/del&gt;that &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;should work on all databases but is probably slower&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Note&lt;/del&gt;: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In MySQL, prefixing the statement by /* ping */ makes the driver issue 1 fast packet instead&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;See http://blogs.sun.com/SDNChannel/entry/mysql_tips_for_java_developers )&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Sets &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Idle max age (in milliseconds).  This property controls &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;maximum amount of time that a &lt;/ins&gt;connection &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is allowed &lt;/ins&gt;to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sit idle in &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pool&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Whether a connection is retired as idle or not &lt;/ins&gt;is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;subject &lt;/ins&gt;to a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;maximum variation &lt;/ins&gt;of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;+30 seconds&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and average variation of +15 seconds&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A connection will never be retired as idle before &lt;/ins&gt;this &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;timeout. A value of 0 means &lt;/ins&gt;that &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;idle connections are never removed from the pool&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Do not use aggressive values here &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;values less than 5 minutes will be ignored)! Default&lt;/ins&gt;: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;600000 (10 minutes)&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;idleConnectionTestPeriod&lt;/del&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;maxLifetime&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Sets &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the idleConnectionTestPeriod&lt;/del&gt;.  This &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sets &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;time (&lt;/del&gt;in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;minutes), for &lt;/del&gt;a connection to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;remain idle before sending &lt;/del&gt;a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;test query to the DB&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This &lt;/del&gt;is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;useful to prevent a DB from timing out connections on its end&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Do not use  aggressive values here!   Set to &lt;/del&gt;0 to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;disable&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Sets &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;max age (in milliseconds)&lt;/ins&gt;.  This &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;property controls &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;maximum lifetime of a connection &lt;/ins&gt;in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the pool. When &lt;/ins&gt;a connection &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;reaches this timeout it will be retired from the pool, subject &lt;/ins&gt;to a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;maximum variation of +30 seconds&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;An in-use connection will never be retired, only when it &lt;/ins&gt;is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;closed will it then be removed. We strongly recommend setting this value, and it should be at least 30 seconds less than any database-level connection timeout&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A value of &lt;/ins&gt;0 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;indicates no maximum lifetime (infinite lifetime), subject of course &lt;/ins&gt;to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the idleTimeout setting. Default: 1800000 (30 minutes)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;idleMaxAge&lt;/del&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;idlePoolTimeout&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Sets &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Idle &lt;/del&gt;max &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;age &lt;/del&gt;(in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;min&lt;/del&gt;).  &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The time (in minutes)&lt;/del&gt;, for &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a connection to remain unused before it is closed off. Do not use aggressive values here! Set to 0 to disable&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Sets max &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;time a pool can be idle before it is shutdown &lt;/ins&gt;(in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;seconds&lt;/ins&gt;).  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This will delete pools after a period of inactivity. Since pools get created automatically&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;this is useful &lt;/ins&gt;for &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cleaning up pools associated with data sources that have been deleted, etc&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;maxConnectionsPerPartition&lt;/del&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;maximumPoolSize&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Sets the maximum number of connections that will be &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;contained &lt;/del&gt;in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;every partition&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Setting &lt;/del&gt;this &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to 10 with our default &lt;/del&gt;number of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;partitions &lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2&lt;/del&gt;) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; means you may have &lt;/del&gt;20 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;unique &lt;/del&gt;connections &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;database&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Note &lt;/del&gt;that the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;connection &lt;/del&gt;pool will not &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;create all these connections in one go but rather start off with minConnectionsPerPartition &lt;/del&gt;and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gradually increase connections &lt;/del&gt;as &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;required&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Sets the maximum number of connections that will be &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;managed by the pool. This property controls the maximum size that the pool is allowed to reach, including both idle and &lt;/ins&gt;in&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-use connections&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Basically &lt;/ins&gt;this &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;value will determine the maximum &lt;/ins&gt;number of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;actual connections to the database backend. A reasonable value for this is best determined by your execution environment. When the pool reaches this size, and no idle connections are available, calls to getConnection&lt;/ins&gt;() &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;will block for up to connectionTimeout milliseconds before timing out. Default: &lt;/ins&gt;20&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.minPoolSize&amp;#039;&amp;#039;&amp;#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Sets the minimum number of &lt;/ins&gt;connections &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that will be managed by &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pool&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This property controls the minimum number of idle connections &lt;/ins&gt;that &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;HikariCP tries to maintain in &lt;/ins&gt;the pool&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. If the idle connections dip below this value, HikariCP &lt;/ins&gt;will &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;make a best effort to add additional connections quickly and efficiently. However, for maximum performance and responsiveness to spike demands, we recommend &lt;/ins&gt;not &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;setting this value &lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;instead allowing HikariCP to act &lt;/ins&gt;as &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a fixed size connection pool&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Default: same as maximumPoolSize&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The parameters above are global to all data sources. It is possible, however, to scope the parameters to the following, as well:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The parameters above are global to all data sources. It is possible, however, to scope the parameters to the following, as well:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* A particular adapter (data source) instance. Although users should understand that connection pools may be shared amongst data sources, so great care must be given to associating specific parameters to a particular data source, with the understanding that other data sources that share the same URL/username/password will be using the same pool. One scenario where this could be useful is if a system is configured to leverage data out of two different database backends (i.e., MySQL and Oracle) and the user would like to configure &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;connectionTestStatement &lt;/del&gt;to have a different value for one pool than another. By making this parameter apply to a particular adapter, different setting values could be used when creating the pool associated with one database than another.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* A particular adapter (data source) instance. Although users should understand that connection pools may be shared amongst data sources, so great care must be given to associating specific parameters to a particular data source, with the understanding that other data sources that share the same URL/username/password will be using the same pool. One scenario where this could be useful is if a system is configured to leverage data out of two different database backends (i.e., MySQL and Oracle) and the user would like to configure &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;connectionTestQuery &lt;/ins&gt;to have a different value for one pool than another. By making this parameter apply to a particular adapter, different setting values could be used when creating the pool associated with one database than another.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* A particular SQL driver namespace. Some parameters are inherintly specific to one driver or another (such as &amp;#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;connectionTestStatement&lt;/del&gt;&amp;#039;) and are best configured on a per-driver basis.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* A particular SQL driver namespace. Some parameters are inherintly specific to one driver or another (such as &amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;connectionTestQuery&lt;/ins&gt;&amp;#039;) and are best configured on a per-driver basis.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In order to configure an connection setting on a particular adapter or SQL driver, specify the setting as &amp;#039;&amp;lt;namespace&amp;gt;&amp;#039;.&amp;#039;&amp;lt;setting&amp;gt;&amp;#039; where &amp;#039;&amp;lt;namespace&amp;gt;&amp;#039; corresponds to the fully qualified name of your adapter or SQL driver followed by the configuration parameter name above (omitting &amp;quot;appboard.jdbc&amp;quot;).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In order to configure an connection setting on a particular adapter or SQL driver, specify the setting as &amp;#039;&amp;lt;namespace&amp;gt;&amp;#039;.&amp;#039;&amp;lt;setting&amp;gt;&amp;#039; where &amp;#039;&amp;lt;namespace&amp;gt;&amp;#039; corresponds to the fully qualified name of your adapter or SQL driver followed by the configuration parameter name above (omitting &amp;quot;appboard.jdbc&amp;quot;).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Doug yeager</name></author>
	</entry>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8056&amp;oldid=prev</id>
		<title>imported&gt;Jason.nicholls: /* Overview */</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8056&amp;oldid=prev"/>
		<updated>2015-07-21T16:27:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Overview&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:27, 21 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page provides details for configuring database adapters in AppBoard.  For information on creating the database adapter, or other AppBoard adapters, see [[appboard/2.6/builder/data_sources|AppBoard Data Sources]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page provides details for configuring database adapters in AppBoard.  For information on creating the database adapter, or other AppBoard adapters, see [[appboard/2.6/builder/data_sources|AppBoard Data Sources]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;two &lt;/del&gt;types of database adapters to select from are &amp;lt;b&amp;gt;Database Query&amp;lt;/b&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &lt;/del&gt;&amp;lt;b&amp;gt;Database Table&amp;lt;/b&amp;gt;.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;three &lt;/ins&gt;types of database adapters to select from are &amp;lt;b&amp;gt;Database Query&amp;lt;/b&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;&amp;lt;b&amp;gt;Database Table&amp;lt;/b&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, and &amp;lt;b&amp;gt;MDX Query&amp;lt;/b&amp;gt;. This page covers to the Database Query and Database Table adapters. For more information about MDX queries refer to the [[appboard/2.6/builder/data_sources/database/mdx_query|MDX Query]] documentation&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Database Query===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Database Query===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Jason.nicholls</name></author>
	</entry>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8055&amp;oldid=prev</id>
		<title>imported&gt;Jason.nicholls: /* Database Query */</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8055&amp;oldid=prev"/>
		<updated>2015-07-21T14:42:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Database Query&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:42, 21 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Database Query data adapter is a frequently used and very flexible adapter as it provides a way to execute arbitrary SQL against an RDBMS and then consume the resulting data set. The set of SQL supported depends on the JDBC driver used, and the underlying database.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Database Query data adapter is a frequently used and very flexible adapter as it provides a way to execute arbitrary SQL against an RDBMS and then consume the resulting data set. The set of SQL supported depends on the JDBC driver used, and the underlying database.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This adapter &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;provdies &lt;/del&gt;the ability to:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This adapter &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;provides &lt;/ins&gt;the ability to:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Use expressibility of SQL to be very specific about the data returned.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Use expressibility of SQL to be very specific about the data returned.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Jason.nicholls</name></author>
	</entry>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8054&amp;oldid=prev</id>
		<title>imported&gt;Jason.nicholls: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8054&amp;oldid=prev"/>
		<updated>2015-04-30T10:59:29Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:59, 30 April 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Jason.nicholls</name></author>
	</entry>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8053&amp;oldid=prev</id>
		<title>imported&gt;Jason.nicholls: /* Database Query */</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/builder/data_sources/database&amp;diff=8053&amp;oldid=prev"/>
		<updated>2015-03-26T09:58:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Database Query&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:Database Data Adapters}}&lt;br /&gt;
[[Category:AppBoard 2.6]]&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
This page provides details for configuring database adapters in AppBoard.  For information on creating the database adapter, or other AppBoard adapters, see [[appboard/2.6/builder/data_sources|AppBoard Data Sources]]&lt;br /&gt;
&lt;br /&gt;
The two types of database adapters to select from are &amp;lt;b&amp;gt;Database Query&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;Database Table&amp;lt;/b&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Database Query===&lt;br /&gt;
&lt;br /&gt;
The Database Query data adapter is a frequently used and very flexible adapter as it provides a way to execute arbitrary SQL against an RDBMS and then consume the resulting data set. The set of SQL supported depends on the JDBC driver used, and the underlying database.&lt;br /&gt;
&lt;br /&gt;
This adapter provdies the ability to:&lt;br /&gt;
&lt;br /&gt;
* Use expressibility of SQL to be very specific about the data returned.&lt;br /&gt;
* Use expressibility of SQL to perform complex joins, transformations, and grouping&lt;br /&gt;
* Access to database functions in queries to perform all variety of tasks such as data conversion / manipulation.&lt;br /&gt;
* Executing stored procedures.&lt;br /&gt;
* Dynamic queries to fetch specific data versus complete blanket data and then filtering within AppBoard - for various reasons including performance.&lt;br /&gt;
&lt;br /&gt;
==== Dynamic Queries ====&lt;br /&gt;
&lt;br /&gt;
It is possible to create queries with dynamic components that can depend on session information, evaluating some expression, or through user interaction via Server Side Filter actions. For more information refer to the [[appboard/2.6/builder/dynamic_queries|Dynamic Queries]] documentation.&lt;br /&gt;
&lt;br /&gt;
===Database Table===&lt;br /&gt;
&lt;br /&gt;
This adapter retrieves a filtered set of tables from a RDBMS to create multiple Data Collections. It is equivalent to executing &amp;lt;tt&amp;gt;select * from &amp;lt;table_name&amp;gt;&amp;lt;/tt&amp;gt; for the selected tables.&lt;br /&gt;
&lt;br /&gt;
{{Warning|Although this adapter can be convenient for exploring a database schema it is recommended to use the Database Query adapter for the reasons outlined in the section above. In addition some databases have extremely large schema, such as Oracle, and it is very important to limit the set of tables discovered using the &amp;#039;&amp;#039;Table Name Regex&amp;#039;&amp;#039; field.}}&lt;br /&gt;
&lt;br /&gt;
== Database Data Source Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== [Optional] Enable Failover ===&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Enable Failover&amp;quot; option is provided on the &amp;quot;Connect&amp;quot; panel for certain adapters.  For detailed instructions on enabling failover, see [[appboard/2.6/builder/data_source_failover|Data Source Failover]].&lt;br /&gt;
&lt;br /&gt;
=== Select Template ===&lt;br /&gt;
&lt;br /&gt;
Before entering the various settings for the database adapter, you must select a template for the type of database that you are going to connect to.  This will enable AppBoard to pre-fill the URL field with an appropriate connection string for the selected database platform.&lt;br /&gt;
&lt;br /&gt;
For either the &amp;lt;b&amp;gt;Database Table&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;Database Query&amp;lt;/b&amp;gt; adapter, select from the following supported databases:&lt;br /&gt;
* Cloudera Impala - note: only available for &amp;#039;&amp;#039;Database Query&amp;#039;&amp;#039;&lt;br /&gt;
* DB2&lt;br /&gt;
* H2&lt;br /&gt;
* Hypersonic (HSQLDB)&lt;br /&gt;
* MySQL / MariaDB&lt;br /&gt;
* Oracle&lt;br /&gt;
* PostgreSQL&lt;br /&gt;
* SQLAnywhere&lt;br /&gt;
* SQL Server&lt;br /&gt;
&lt;br /&gt;
=== Configure Database Connection Settings ===&lt;br /&gt;
&lt;br /&gt;
The following tables detail the settings available in the database adapters.&lt;br /&gt;
&lt;br /&gt;
==== Database Query ====&lt;br /&gt;
&lt;br /&gt;
You can configure one or more queries in each Database Query adapter configuration. Each configured query will have a different name, and result in a different Data Collection with that name. When naming a query, only alphanumeric characters, underscores, and hyphens are permitted.&lt;br /&gt;
&lt;br /&gt;
By default only new or edited queries are actually run against the database to ensure the query is valid. This is done to prevent delays when editing the data source for cases where there are many existing queries. To force an existing query to be re-validated/discovered without changing it or losing any configuration then update the &amp;#039;&amp;#039;SQL Query&amp;#039;&amp;#039; with a trivial change such as adding a space character.&lt;br /&gt;
&lt;br /&gt;
The table below details the settings you can configure for a &amp;lt;b&amp;gt;Database Query&amp;lt;/b&amp;gt; Data Source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Connect&amp;lt;/b&amp;gt; Screen:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Name&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Driver&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|  The Java class name for the JDBC driver.  Example: &amp;lt;tt&amp;gt;oracle.jdbc.driver.OracleDriver&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Timeout (seconds)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|The maximum duration (in seconds) to establish a successful database connection. Setting this value too low, in the case where the database cannot service the connections fast enough, will result in degraded performance.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;URL&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|  The JDBC connection string/URL for defining the connection. This typically contains information about the database server and name, the user id, a password for connecting to the database, and an Oracle SID at the end which uniquely identifies the name of a particular database to connect to.  Example: &amp;lt;tt&amp;gt;jdbc:mysql://&amp;lt;i&amp;gt;myservername&amp;lt;/i&amp;gt;:3306/&amp;lt;i&amp;gt;mydbname&amp;lt;/i&amp;gt;&amp;lt;/tt&amp;gt;.  The default connection string provided when you create the JDBC/Oracle adapter Data Source in AppBoard is the following: &amp;lt;tt&amp;gt;jdbc:oracle:thin:@localhost:1521:portal&amp;lt;/tt&amp;gt;.  Note that the sample URL string contains an Oracle SID at the end (&amp;quot;portal&amp;quot;), which uniquely identifies the name of a particular database to connect to.  It is recommended that you make sure the connection string includes this SID so the connection can be made between AppBoard and the database.  You may need to ask the database or application administrator to provide the Oracle SID for the database.  Example Oracle URL: &amp;lt;tt&amp;gt;jdbc:oracle:thin:@&amp;lt;i&amp;gt;servername&amp;lt;/i&amp;gt;:1521:&amp;lt;i&amp;gt;OracleSID&amp;lt;/i&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Username&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|User name credential used to connect to database.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Password&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|User password credential used to connect to database.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Enabled&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Check this box to activate the connection defined in this Data Source.  This is primary used in conjunction with setting failover configurations.  Occasionally you may want to disable a Data Source.  For example, you may set up a Data Source for testing purposes, but do not want it to continue running for performance reasons.  Also, you may set up multiple connections to Data Sources and only want one to be active at a time, disabling the others until they may be needed.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Connection Retry Interval&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|This setting works as part of the failover configuration.  After a primary data source fails and failover occurs to a secondary or tertiary source, AppBoard will try to recover/revert to the highest priority configuration after this many seconds.  Setting that determines how soon after a failed connection AppBoard will attempt to re-connect to that database.  Setting this value too low can impact the performance of the system.  Setting this higher will throttle the frequency of re-connect attempts when a database is not available.  Setting this to 0 will implement a round-robin / no priority failover.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Queries - Entity Settings&amp;lt;/b&amp;gt; Screen:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Name&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Name of this SQL query entity. This field is limited to 256 characters. Note: if editing the name all references internal to AppBoard are updated automatically, however in some cases Data Processing Scripts may have hardcoded references that will break as a result of the rename. In cases where AppBoard can detect this an error message is presented to the administrator identifying the affected scripts.  &amp;#039;&amp;#039;&amp;#039;Note:  This field is required.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Description&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|A summary of the purpose of the query and any details or notes to provide for the system administrator. The Description field has a character limit of 512 characters.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Query Timeout (seconds)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Maximum time (in seconds) to wait before timing out an executing SQL query. By default this is not set and the global default applies (see &amp;lt;tt&amp;gt;appboard.jdbc.queryTimeout&amp;lt;/tt&amp;gt; in appboard.config). To disable the timeout set the value to zero, or to override the global default set to a positive value. Note: this option uses a feature of the JDBC driver and whether it is supported and the actual behaviour will depend on the driver.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;[[appboard/2.6/builder/caching_and_polling|Cache Timeout (seconds)]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Maximum time (in seconds) a response from the database is kept before discarding and re-querying for new data. If set to zero then no caching is performed at all.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;SQL Query&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|SQL statement defining the records to be returned by the query.  The SQL Query can contain a maximum of 8000 characters.  &amp;#039;&amp;#039;&amp;#039;Note:  This field is required.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Update Statement&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Used in conjunction with the [[appboard/2.6/builder/widgets/actions/write_static_value|Write Static Value]] Action to write back to the original Data Source. Example: &amp;lt;tt&amp;gt;update asset set status=:status where assetName=:assetName&amp;lt;/tt&amp;gt;.  The Update Statement can contain a maximum of 1024 characters.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;[[appboard/2.6/builder/data_processing_scripts|Data Processing Script(s)]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|List of one or more Data Processing Scripts to be run on the query.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Database Table ====&lt;br /&gt;
&lt;br /&gt;
The table below details the settings you can configure for a &amp;lt;b&amp;gt;Database Table&amp;lt;/b&amp;gt; Data Source:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Name&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Driver&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|  The Java class name for the JDBC driver.  Example: &amp;lt;tt&amp;gt;oracle.jdbc.driver.OracleDriver&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Timeout (seconds)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|The maximum duration (in seconds) to establish a successful database connection. Setting this value too low, in the case where the database cannot service the connections fast enough, will result in degraded performance.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;[[appboard/2.6/builder/caching_and_polling|Cache Timeout (seconds)]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Maximum time (in seconds) a response from the database is kept before discarding and re-querying for new data. If set to zero then no caching is performed at all.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Catalog Name&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Database catalog name.  It is not required, used to limit the set of tables found on the search.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Schema Name&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|The database schema name.  It is not required, used to limit the set of tables found on the search.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Table Name Regex&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Regular expression that defines the database tables that will be returned by the adapter.  It is not required, but may be used to limit the set of tables found on the search.  For example, if you had a couple of tables called Services and Locations, a useful regex to enter in that box would be “&amp;lt;nowiki&amp;gt;(Services|Locations)&amp;lt;/nowiki&amp;gt;” - without the quotes.  This is case-sensitive, and would match tables with names such as ServicesA, ServicesUS, LocationsB, or any table that contains either &amp;quot;Services&amp;quot; or &amp;quot;Locations&amp;quot; somewhere in the name.  If you made the regex &amp;quot;^(&amp;lt;nowiki&amp;gt;Services|Locations&amp;lt;/nowiki&amp;gt;)$&amp;quot; then it would only match exactly those names since the ^ and $ anchor the beginning and the end of the string.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Ansi Mode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Check this box if your database is running in ANSI mode.  Some databases (including MySQL and SQL Server) provide this variation on the character used to quote elements such as columns when the SQL statement is being constructed.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;URL&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|  The JDBC connection string/URL for defining the connection. This typically contains information about the database server and name, the user id, a password for connecting to the database, and an Oracle SID at the end which uniquely identifies the name of a particular database to connect to.  Example: &amp;lt;tt&amp;gt;jdbc:mysql://&amp;lt;i&amp;gt;myservername&amp;lt;/i&amp;gt;:3306/&amp;lt;i&amp;gt;mydbname&amp;lt;/i&amp;gt;&amp;lt;/tt&amp;gt;.  The default connection string provided when you create the JDBC/Oracle adapter Data Source in AppBoard is the following: &amp;lt;tt&amp;gt;jdbc:oracle:thin:@localhost:1521:portal&amp;lt;/tt&amp;gt;.  Note that the sample URL string contains an Oracle SID at the end (&amp;quot;portal&amp;quot;), which uniquely identifies the name of a particular database to connect to.  It is recommended that you make sure the connection string includes this SID so the connection can be made between AppBoard and the database.  You may need to ask the database or application administrator to provide the Oracle SID for the database.  Example Oracle URL: &amp;lt;tt&amp;gt;jdbc:oracle:thin:@&amp;lt;i&amp;gt;servername&amp;lt;/i&amp;gt;:1521:&amp;lt;i&amp;gt;OracleSID&amp;lt;/i&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Username&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|User name credential used to connect to database.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Password&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|User password credential used to connect to database.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Enabled&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Check this box to activate the connection defined in this Data Source.  This is primary used in conjunction with setting failover configurations.  Occasionally you may want to disable a Data Source.  For example, you may set up a Data Source for testing purposes, but do not want it to continue running for performance reasons.  Also, you may set up multiple connections to Data Sources and only want one to be active at a time, disabling the others until they may be needed.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Connection Retry Interval (seconds)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|This setting works as part of the failover configuration.  After a primary data source fails and failover occurs to a secondary or tertiary source, AppBoard will try to recover/revert to the highest priority configuration after this many seconds.  Setting that determines how soon after a failed connection AppBoard will attempt to re-connect to that database.  Setting this value too low can impact the performance of the system.  Setting this higher will throttle the frequency of re-connect attempts when a database is not available.  Setting this to 0 will implement a round-robin / no priority failover.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Advanced - Entity Settings&amp;lt;/b&amp;gt; Screen:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Name&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Query Timeout (seconds)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Maximum time (in seconds) to wait before timing out an executing SQL query. By default this is not set and the global default applies (see &amp;lt;tt&amp;gt;appboard.jdbc.queryTimeout&amp;lt;/tt&amp;gt; in appboard.config). To disable the timeout set the value to zero, or to override the global default set to a positive value. Note: this option uses a feature of the JDBC driver and whether it is supported and the actual behaviour will depend on the driver.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;[[appboard/2.6/builder/caching_and_polling|Cache Timeout (seconds)]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Maximum time (in seconds) a response from the database is kept before discarding and re-querying for new data. If set to zero then no caching is performed at all.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Filter&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Injects the &amp;#039;where&amp;#039; clause used to filter data pulled from database.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Order&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Injects the &amp;#039;Order By&amp;#039; clause used to perform server side sorting of the data pulled from database.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;[[appboard/2.6/builder/data_processing_scripts|Data Processing Script(s)]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|List of one or more Data Processing Scripts to be run on the query.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Advanced Database Configuration ==&lt;br /&gt;
&lt;br /&gt;
There are a number of low-level database configuration parameters defined in &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/config/appboard.properties&amp;lt;/tt&amp;gt;. Note that as with all property changes, the recommended approach is to make the change to the property in &amp;lt;tt&amp;gt;appboard-custom.properties&amp;lt;/tt&amp;gt; so that the changes will persist across upgrades.&lt;br /&gt;
&lt;br /&gt;
Note that each parameter is documented in appboard.properties, and ideally the system defaults should be suitable for most users. However, under some high-load circumstances these are the parameters that may be of interest:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Name&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.acquireIncrement&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| When the available connections are about to run out, BoneCP will dynamically create new ones in batches. This property controls how many new connections to create in one go (up to a maximum of maxConnectionsPerPartition). Note: This is a per partition setting.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.queryTimeout&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Sets the global timeout in seconds that will be set limiting the maximum time a JDBC driver will execute a SQL Query.  This value will only be used if the Database adapter&amp;#039;s entity does not have Query Timeout configured.  Default is set to 5 minutes (300 seconds).&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.connectTimeout&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| In addition to the Table and Query &amp;#039;&amp;#039;timeout&amp;#039;&amp;#039; setting, AppBoard also performs an availability/accessibility test (open TCP socket to database host:port). The default value is 5 seconds and in most cases this should not be changed.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.connectionTestStatement&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|Sets the connection test statement.  The query to send to the DB to maintain keep-alives and test for dead connections. This# is database specific and should be set to a query that consumes the minimal amount of load on the server. Examples: MySQL: &amp;quot;/* ping */ SELECT 1&amp;quot;, PostgreSQL: &amp;quot;SELECT NOW()&amp;quot;. If you do not set this, then BoneCP will issue a metadata request instead that should work on all databases but is probably slower.  (Note: In MySQL, prefixing the statement by /* ping */ makes the driver issue 1 fast packet instead. See http://blogs.sun.com/SDNChannel/entry/mysql_tips_for_java_developers )&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.idleConnectionTestPeriod&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Sets the idleConnectionTestPeriod.  This sets the time (in minutes), for a connection to remain idle before sending a test query to the DB. This is useful to prevent a DB from timing out connections on its end. Do not use  aggressive values here!   Set to 0 to disable&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.idleMaxAge&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Sets Idle max age (in min).  The time (in minutes), for a connection to remain unused before it is closed off. Do not use aggressive values here! Set to 0 to disable.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;appboard.jdbc.maxConnectionsPerPartition&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Sets the maximum number of connections that will be contained in every partition. Setting this to 10 with our default number of partitions (2)  means you may have 20 unique connections to the database. Note that the connection pool will not create all these connections in one go but rather start off with minConnectionsPerPartition and gradually increase connections as required.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The parameters above are global to all data sources. It is possible, however, to scope the parameters to the following, as well:&lt;br /&gt;
&lt;br /&gt;
* A particular adapter (data source) instance. Although users should understand that connection pools may be shared amongst data sources, so great care must be given to associating specific parameters to a particular data source, with the understanding that other data sources that share the same URL/username/password will be using the same pool. One scenario where this could be useful is if a system is configured to leverage data out of two different database backends (i.e., MySQL and Oracle) and the user would like to configure connectionTestStatement to have a different value for one pool than another. By making this parameter apply to a particular adapter, different setting values could be used when creating the pool associated with one database than another.&lt;br /&gt;
* A particular SQL driver namespace. Some parameters are inherintly specific to one driver or another (such as &amp;#039;connectionTestStatement&amp;#039;) and are best configured on a per-driver basis.&lt;br /&gt;
&lt;br /&gt;
In order to configure an connection setting on a particular adapter or SQL driver, specify the setting as &amp;#039;&amp;lt;namespace&amp;gt;&amp;#039;.&amp;#039;&amp;lt;setting&amp;gt;&amp;#039; where &amp;#039;&amp;lt;namespace&amp;gt;&amp;#039; corresponds to the fully qualified name of your adapter or SQL driver followed by the configuration parameter name above (omitting &amp;quot;appboard.jdbc&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Missing JDBC driver ===&lt;br /&gt;
&lt;br /&gt;
==== Case 1: Adapter JAR File Missing from Classpath ====&lt;br /&gt;
&lt;br /&gt;
The most common issue when connecting to a database is a missing JDBC driver. Within the builder this may appear as an error message showing &amp;quot;Data was not found.&amp;quot; when progressing from the &amp;quot;Connect&amp;quot; step in the Data Source Wizard.&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;appboard.log&amp;lt;/tt&amp;gt; there may be a number of java exceptions including messages which specifically identify the driver that is missing, for example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ERROR ... Please install missing JDBC Driver: com.mysql.jdbc.Driver ...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See the [[appboard/2.6/admin/db_drivers|Loading Database Drivers]] page for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Case 2: Security Issue With /servlet Path ====&lt;br /&gt;
&lt;br /&gt;
The use of custom JDBC addapters is also supported.  You can add your own JDBC driver to the J2EE classpath, and save the driver JAR file under [AppBoard_Home]/server/webapps/enportal/WEB-INF/lib/.  In this case, if the &amp;quot;missing JDBC driver&amp;quot; message is displayed, it could be a security conflict caused by the JAR adapter having a /servlet/ directory.  This is redundant with the AppBoard Tomcat configuration.  Delete the /servlet/ directory from the JAR.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Incorrect or Unexpected Date/Time Values and Formatting ===&lt;br /&gt;
&lt;br /&gt;
Occasionally, date and time values from a database will not appear in AppBoard with the correct value or format when using the default settings in configuring the data source.  One of the difficulties in handling date and time values from various types of databases is that not all database types handle date and time data in the same manner.  It is possible, however, to adjust certain settings within AppBoard and the database itself to achieve better results.  For more information on this topic, please see [[appboard/2.6/builder/data_sources/database/date_time_settings|Advanced Settings for Date and Time Data]].&lt;br /&gt;
&lt;br /&gt;
===Empty Values in MySQL Date/Time Fields ===&lt;br /&gt;
*&amp;lt;b&amp;gt;Issue:&amp;lt;/b&amp;gt;: Java cannot manage &amp;#039;00-00-00 00:00:00&amp;#039; in MySQL datetime fields. Even if this kind of datetime value is not supported within MySQL operations, values are allowed in general and used by some implementations as default for empty datetime values. The issue can result in many messages in Appboard error.log.&lt;br /&gt;
*&amp;lt;b&amp;gt;Resolution&amp;lt;/b&amp;gt;: Convert the zero values to NULL values within the data-source.  Example url:  &amp;lt;tt&amp;gt;jdbc:mysql://yourserver:3306/yourdatabase?zeroDateTimeBehavior=convertToNull&amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Jason.nicholls</name></author>
	</entry>
</feed>