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

📄 idatabaseconnection.html

📁 dfdfddfskfjdsklfjksdljflksjfsjlkfdjlksfjkdsjfsdjkflsjkf
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getConnection()"><!-- --></A><H3>
getConnection</H3>
<PRE>
public java.sql.Connection <B>getConnection</B>()                                  throws java.sql.SQLException</PRE>
<DL>
<DD>Returns a JDBC database connection.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.sql.SQLException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getSchema()"><!-- --></A><H3>
getSchema</H3>
<PRE>
public java.lang.String <B>getSchema</B>()</PRE>
<DL>
<DD>Returns the database schema name.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="close()"><!-- --></A><H3>
close</H3>
<PRE>
public void <B>close</B>()           throws java.sql.SQLException</PRE>
<DL>
<DD>Close this connection.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.sql.SQLException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="createDataSet()"><!-- --></A><H3>
createDataSet</H3>
<PRE>
public <A HREF="../../../org/dbunit/dataset/IDataSet.html" title="interface in org.dbunit.dataset">IDataSet</A> <B>createDataSet</B>()                       throws java.sql.SQLException</PRE>
<DL>
<DD>Creates a dataset corresponding to the entire database.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.sql.SQLException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="createDataSet(java.lang.String[])"><!-- --></A><H3>
createDataSet</H3>
<PRE>
public <A HREF="../../../org/dbunit/dataset/IDataSet.html" title="interface in org.dbunit.dataset">IDataSet</A> <B>createDataSet</B>(java.lang.String[]&nbsp;tableNames)                       throws java.sql.SQLException</PRE>
<DL>
<DD>Creates a dataset containing only the specified tables from the database.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.sql.SQLException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="createQueryTable(java.lang.String, java.lang.String)"><!-- --></A><H3>
createQueryTable</H3>
<PRE>
public <A HREF="../../../org/dbunit/dataset/ITable.html" title="interface in org.dbunit.dataset">ITable</A> <B>createQueryTable</B>(java.lang.String&nbsp;resultName,                               java.lang.String&nbsp;sql)                        throws <A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A>,                               java.sql.SQLException</PRE>
<DL>
<DD>Creates a table with the result of the specified SQL statement. The table can be the result of a join statement.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resultName</CODE> - The name to be returned by <A HREF="../../../org/dbunit/dataset/ITableMetaData.html#getTableName()"><CODE>ITableMetaData.getTableName()</CODE></A>.<DD><CODE>sql</CODE> - The SQL <code>SELECT</code> statement<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></CODE><DD><CODE>java.sql.SQLException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getRowCount(java.lang.String)"><!-- --></A><H3>
getRowCount</H3>
<PRE>
public int <B>getRowCount</B>(java.lang.String&nbsp;tableName)                throws java.sql.SQLException</PRE>
<DL>
<DD>Returns the specified table row count.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tableName</CODE> - the table name<DT><B>Returns:</B><DD>the row count<DT><B>Throws:</B><DD><CODE>java.sql.SQLException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getRowCount(java.lang.String, java.lang.String)"><!-- --></A><H3>
getRowCount</H3>
<PRE>
public int <B>getRowCount</B>(java.lang.String&nbsp;tableName,                       java.lang.String&nbsp;whereClause)                throws java.sql.SQLException</PRE>
<DL>
<DD>Returns the specified table row count according specified where clause.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tableName</CODE> - the table name<DD><CODE>whereClause</CODE> - the where clause<DT><B>Returns:</B><DD>the row count<DT><B>Throws:</B><DD><CODE>java.sql.SQLException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getConfig()"><!-- --></A><H3>
getConfig</H3>
<PRE>
public <A HREF="../../../org/dbunit/database/DatabaseConfig.html" title="class in org.dbunit.database">DatabaseConfig</A> <B>getConfig</B>()</PRE>
<DL>
<DD>Returns this connection database configuration
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getStatementFactory()"><!-- --></A><H3>
getStatementFactory</H3>
<PRE>
public <A HREF="../../../org/dbunit/database/statement/IStatementFactory.html" title="interface in org.dbunit.database.statement">IStatementFactory</A> <B>getStatementFactory</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../org/dbunit/database/IDatabaseConnection.html#getConfig()"><CODE>getConfig()</CODE></A></I>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/IDatabaseConnection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../org/dbunit/database/ForwardOnlyResultSetTableFactory.html" title="class in org.dbunit.database"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/dbunit/database/IResultSetTable.html" title="interface in org.dbunit.database"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="IDatabaseConnection.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &copy; 2002-2004 DbUnit.org. All Rights Reserved.
</BODY>
</HTML>

⌨️ 快捷键说明

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