📄 table.html
字号:
<A NAME="selectAll(java.lang.String, jora.Session)"><!-- --></A><H3>
selectAll</H3>
<PRE>
public final <A HREF="../jora/Cursor.html">Cursor</A> <B>selectAll</B>(java.lang.String condition, <A HREF="../jora/Session.html">Session</A> session)</PRE>
<DL>
<DD>Select records from specified and derived database tables<DD><DL>
<DT><B>Parameters:</B><DD><CODE>condition</CODE> - valid SQL condition expression started with WHERE or empty string if all records should be fetched.<DD><CODE>session</CODE> - user database session</DL>
</DD>
</DL>
<HR>
<A NAME="queryByExample(java.lang.Object)"><!-- --></A><H3>
queryByExample</H3>
<PRE>
public final <A HREF="../jora/Cursor.html">Cursor</A> <B>queryByExample</B>(java.lang.Object obj)</PRE>
<DL>
<DD>Select records from database table using <I>obj</I> object as template for selection. All non-builtin fields of this object, which are not null, are compared with correspondent table values.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - object for construction search condition: selected objects should match all non-null fields of specified object.</DL>
</DD>
</DL>
<HR>
<A NAME="queryByExample(java.lang.Object, jora.Session)"><!-- --></A><H3>
queryByExample</H3>
<PRE>
public final <A HREF="../jora/Cursor.html">Cursor</A> <B>queryByExample</B>(java.lang.Object obj, <A HREF="../jora/Session.html">Session</A> session)</PRE>
<DL>
<DD>Select records from database table using <I>obj</I> object as template for selection. All non-builtin fields of this object, which are not null, are compared with correspondent table values.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - object for construction search condition: selected objects should match all non-null fields of specified object.<DD><CODE>session</CODE> - user database session</DL>
</DD>
</DL>
<HR>
<A NAME="queryAllByExample(java.lang.Object)"><!-- --></A><H3>
queryAllByExample</H3>
<PRE>
public final <A HREF="../jora/Cursor.html">Cursor</A> <B>queryAllByExample</B>(java.lang.Object obj)</PRE>
<DL>
<DD>Select records from specified and derived database tables using <I>obj</I> object as template for selection. All non-builtin fields of this object, which are not null, are compared with correspondent table values.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - object for construction search condition: selected objects should match all non-null fields of specified object.</DL>
</DD>
</DL>
<HR>
<A NAME="queryAllByExample(java.lang.Object, jora.Session)"><!-- --></A><H3>
queryAllByExample</H3>
<PRE>
public final <A HREF="../jora/Cursor.html">Cursor</A> <B>queryAllByExample</B>(java.lang.Object obj, <A HREF="../jora/Session.html">Session</A> session)</PRE>
<DL>
<DD>Select records from specified and derived database tables using <I>obj</I> object as template for selection. All non-builtin fields of this object, which are not null, are compared with correspondent table values.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - object for construction search condition: selected objects should match all non-null fields of specified object.<DD><CODE>session</CODE> - user database session</DL>
</DD>
</DL>
<HR>
<A NAME="insert(java.lang.Object)"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(java.lang.Object obj)</PRE>
<DL>
<DD>Insert new record in the table. Values of inserted record fields are taken from specifed object.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - object specifing values of inserted record fields</DL>
</DD>
</DL>
<HR>
<A NAME="insert(java.lang.Object, jora.Session)"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(java.lang.Object obj, <A HREF="../jora/Session.html">Session</A> session)</PRE>
<DL>
<DD>Insert new record in the table using specified database session. Values of inserted record fields are taken from specifed object.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - object specifing values of inserted record fields<DD><CODE>session</CODE> - user database session</DL>
</DD>
</DL>
<HR>
<A NAME="insert(java.lang.Object[])"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(java.lang.Object[] objects)</PRE>
<DL>
<DD>Insert several new records in the table. Values of inserted records fields are taken from objects of specified array.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>objects</CODE> - array with objects specifing values of inserted record fields</DL>
</DD>
</DL>
<HR>
<A NAME="insert(java.lang.Object[], jora.Session)"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(java.lang.Object[] objects, <A HREF="../jora/Session.html">Session</A> session)</PRE>
<DL>
<DD>Insert several new records in the table. Values of inserted records fields are taken from objects of specified array.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>objects</CODE> - array with objects specifing values of inserted record fields<DD><CODE>session</CODE> - user database session</DL>
</DD>
</DL>
<HR>
<A NAME="update(java.lang.Object)"><!-- --></A><H3>
update</H3>
<PRE>
public int <B>update</B>(java.lang.Object obj)</PRE>
<DL>
<DD>Update record in the table using table's primary key to locate record in the table and values of fields of specified object <I>obj</I> to alter record fields.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - object specifing value of primary key and new values of updated record fields<DT><B>Returns:</B><DD>number of objects actually updated</DL>
</DD>
</DL>
<HR>
<A NAME="update(java.lang.Object, jora.Session)"><!-- --></A><H3>
update</H3>
<PRE>
public int <B>update</B>(java.lang.Object obj, <A HREF="../jora/Session.html">Session</A> session)</PRE>
<DL>
<DD>Update record in the table using table's primary key to locate record in the table and values of fields of specified object <I>obj</I> to alter record fields.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - object specifing value of primary key and new values of updated record fields<DD><CODE>session</CODE> - user database session<DT><B>Returns:</B><DD>number of objects actually updated</DL>
</DD>
</DL>
<HR>
<A NAME="update(java.lang.Object[])"><!-- --></A><H3>
update</H3>
<PRE>
public int <B>update</B>(java.lang.Object[] objects)</PRE>
<DL>
<DD>Update set of records in the table using table's primary key to locate record in the table and values of fields of objects from sepecifed array <I>objects</I> to alter record fields.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>objects</CODE> - array of objects specifing primiray keys and and new values of updated record fields<DT><B>Returns:</B><DD>number of objects actually updated</DL>
</DD>
</DL>
<HR>
<A NAME="update(java.lang.Object[], jora.Session)"><!-- --></A><H3>
update</H3>
<PRE>
public int <B>update</B>(java.lang.Object[] objects, <A HREF="../jora/Session.html">Session</A> session)</PRE>
<DL>
<DD>Update set of records in the table using table's primary key to locate record in the table and values of fields of objects from sepecifed array <I>objects</I> to alter record fields.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>objects</CODE> - array of objects specifing primiray keys and and new values of updated record fields<DD><CODE>session</CODE> - user database session<DT><B>Returns:</B><DD>number of objects actually updated</DL>
</DD>
</DL>
<HR>
<A NAME="delete(java.lang.Object)"><!-- --></A><H3>
delete</H3>
<PRE>
public int <B>delete</B>(java.lang.Object obj)</PRE>
<DL>
<DD>Delete record with specified value of primary key from the table.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - object containing value of primary key.<DT><B>Returns:</B><DD>number of objects actually deleted</DL>
</DD>
</DL>
<HR>
<A NAME="delete(java.lang.Object, jora.Session)"><!-- --></A><H3>
delete</H3>
<PRE>
public int <B>delete</B>(java.lang.Object obj, <A HREF="../jora/Session.html">Session</A> session)</PRE>
<DL>
<DD>Delete record with specified value of primary key from the table.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - object containing value of primary key.<DD><CODE>session</CODE> - user database session</DL>
</DD>
</DL>
<HR>
<A NAME="delete(java.lang.Object[])"><!-- --></A><H3>
delete</H3>
<PRE>
public int <B>delete</B>(java.lang.Object[] objects)</PRE>
<DL>
<DD>Delete records with specified primary keys from the table.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>objects</CODE> - array of objects containing values of primary key.<DT><B>Returns:</B><DD>number of objects actually deleted</DL>
</DD>
</DL>
<HR>
<A NAME="delete(java.lang.Object[], jora.Session)"><!-- --></A><H3>
delete</H3>
<PRE>
public int <B>delete</B>(java.lang.Object[] objects, <A HREF="../jora/Session.html">Session</A> session)</PRE>
<DL>
<DD>Delete records with specified primary keys from the table.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>objects</CODE> - array of objects containing values of primary key.<DT><B>Returns:</B><DD>number of objects actually deleted</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> <FONT ID="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
<A HREF="../jora/SessionThread.html"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Table.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -