⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 properties.html

📁 dfdfddfskfjdsklfjksdljflksjfsjlkfdjlksfjkdsjfsdjkflsjkf
💻 HTML
📖 第 1 页 / 共 2 页
字号:
                                                                                                                                                                                           		              			<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">    <html>      <head>                          <title>            DbUnit -           Configurable Features and Properties                  </title>                                <style type="text/css">          @import url("./style/tigris.css");          @import url("./style/maven.css");        </style>                                                <link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link>        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta>                                      </head>      <body class="composite">        <div id="banner">          <table border="0" width="100%" cellpadding="8" cellspacing="0">            <tr>                            <td>                                                                                                                                                                                                                      <a href="http://www.sourceforge.net/projects/dbunit">                    <img border="0" alt="DbUnit.org" src="http://sourceforge.net/sflogo.php?group_id=47439&amp;type=5" align="left"></img>                  </a>                              </td>                            <td>                <div id="login" align="right">                                                                                                                                                              <a href="http://www.dbunit.org">                      <img border="0" alt="DbUnit" src="./images/dbunit-logo.jpg" align="right"></img>                    </a>                                  </div>              </td>            </tr>          </table>        </div>        <div id="breadcrumbs">          <table border="0" width="100%" cellpadding="4" cellspacing="0">            <tr>                                              <td>Last published: 31 May 2004                  | Doc for 2.1                </td>                            <td>                <div align="right">                                                                                                          <a href="http://www.dbunit.org/wiki/"><img class="handle" src="./images/none.png" alt=""></img>Wiki</a>                |                  <a href="http://www.sf.net/projects/dbunit"><img class="handle" src="./images/none.png" alt=""></img>SF.net Project Page</a>                |                  <a href="http://maven-plugins.sourceforge.net/maven-dbunit-plugin/index.html"><img class="handle" src="./images/none.png" alt=""></img>Maven Plugin</a>                                                                </div>              </td>            </tr>          </table>        </div>                <table border="0" width="100%" cellpadding="8" cellspacing="0">           <tr valign="top">            <td width="20%" id="leftcol">              <div id="navcolumn">                                                      <div>      <strong>Quick Links</strong>                      							   	    <div>      <small>      	      	      		<a href="http://sourceforge.net/project/showfiles.php?group_id=47439&amp;release_id=211888"><img class="handle" src="./images/none.png" alt=""></img>Download</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="changes-report.html"><img class="handle" src="./images/none.png" alt=""></img>Changes</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="faq.html"><img class="handle" src="./images/none.png" alt=""></img>FAQ</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="https://sourceforge.net/support/getsupport.php?group_id=47439"><img class="handle" src="./images/none.png" alt=""></img>Get Support</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="http://www.dbunit.org/wiki/"><img class="handle" src="./images/none.png" alt=""></img>Wiki</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="cvs-usage.html"><img class="handle" src="./images/none.png" alt=""></img>Source</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="apidocs/index.html"><img class="handle" src="./images/none.png" alt=""></img>JavaDocs</a>      	      </small>	                    </div>      </div>      <div>      <strong>Overview</strong>                      							   	    <div>      <small>      	      	      		<a href="index.html"><img class="handle" src="./images/none.png" alt=""></img>About DbUnit</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="intro.html"><img class="handle" src="./images/none.png" alt=""></img>Database Testing</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="howto.html"><img class="handle" src="./images/none.png" alt=""></img>Getting Started</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="bestpractices.html"><img class="handle" src="./images/none.png" alt=""></img>Best Practices</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="components.html"><img class="handle" src="./images/none.png" alt=""></img>Core Components</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      		<b><a href="properties.html"><img class="handle" src="./images/none.png" alt=""></img>Properties</a></b>      	      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="anttask.html"><img class="handle" src="./images/none.png" alt=""></img>Ant Task</a>      	      </small>	                    </div>                  							   	    <div>      <small>      	      	      		<a href="resources.html"><img class="handle" src="./images/none.png" alt=""></img>Resources</a>      	      </small>	                    </div>      </div>                  				    <div>      <strong>Project Documentation</strong>                      							   	    <div>      <small>      	      	      		<a href="index.html"><img class="handle" src="./images/none.png" alt=""></img>About DbUnit</a>      	      </small>	                    </div>                  									          					   	    <div>      <small>      	      	      		<a href="project-info.html"><img class="handle" src="./images/collapsed.png" alt=""></img>Project Info</a>      	      </small>	      </div>                  									          					   	    <div>      <small>      	      	      		<a href="maven-reports.html"><img class="handle" src="./images/collapsed.png" alt=""></img>Project Reports</a>      	      </small>	      </div>                  							   	    <div>      <small>      	      	      		<a href="http://maven.apache.org/development-process.html"><img class="handle" src="./images/none.png" alt=""></img>Development Process</a>      	      </small>	                    </div>      </div>                                                                                                                                  	<div style="margin-top: 20px; width: 100%; text-align: center;">                		<a href="http://maven.apache.org/" title="Powered by Maven"><img style="border: 1px solid black" alt="Powered by Maven" src="./images/logos/maven-propaganda.png"></img></a>                	</div>                                                            </div>            </td>            <td rowspan="2">              <div id="bodycol">                                <div class="app">                                        <div class="h3">                      <h3>           Configurable features and properties       </h3>       <p>           DbUnit does not use System properties anymore since version 2.0. DbUnit                 use a configuration object,        <code>           DatabaseConfig       </code>        , to query                 and set feature flags and property values for a        <code>           IDatabaseConnection       </code>        .                 It is possible to change DbUnit behaviors, such as using batched statements                 or not, using the        <code>           getFeature       </code>        ,        <code>           setFeature       </code>        ,                        <code>           getProperty       </code>        , and        <code>           setProperty       </code>         methods                 of        <code>           DatabaseConfig       </code>        .        </p>       <p>           While feature flags are always boolean, property values are arbitrary objects.        </p>       <p>           The Following sample displays the        <code>           batched statement       </code>         feature status:                     <div id="source">      <pre>  String id = "http://www.dbunit.org/features/batchedStatements";   DatabaseConfig config = connection.getConfig();   if (config.getFeature(id))   {     System.out.println("Batched statements is enabled.");   }   else   {     System.out.println("Batched statements is disabled.");   } </pre>    </div>      </p>       <h3>           Feature Flags       </h3>       <a name="batchstatement"></a>      <h4>           Batched statements       </h4>           <table border="1" width="100%" cellspacing="2" cellpadding="3">                                                <tr class="b">    <td>           Feature ID       </td>       <td>           http://www.dbunit.org/features/batchedStatements       </td>   </tr>                                            <tr class="a">    <td>           Default       </td>       <td>           false       </td>   </tr>                                            <tr class="b">    <td>           Description       </td>       <td>           Enable or disable usage of JDBC batched statement by DbUnit.        </td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -