You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2012/04/04 09:29:56 UTC
svn commit: r1309274 [7/21] - in /empire-db/site: ./ downloads/
javadocs/empire-db/ javadocs/empire-db/META-INF/
javadocs/empire-db/org/apache/empire/commons/
javadocs/empire-db/org/apache/empire/commons/class-use/
javadocs/empire-db/org/apache/empire/...
Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBCommandExpr.html
URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBCommandExpr.html?rev=1309274&r1=1309273&r2=1309274&view=diff
==============================================================================
--- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBCommandExpr.html (original)
+++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBCommandExpr.html Wed Apr 4 07:29:32 2012
@@ -2,10 +2,10 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Fri Oct 21 10:41:20 GMT+01:00 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Mon Mar 19 10:44:50 GMT+01:00 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-DBCommandExpr (Apache Empire-db Core 2.2.0-incubating API)
+DBCommandExpr (Apache Empire-db Core 2.3.0 API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.empire.db.DBCommandExpr class">
@@ -15,7 +15,7 @@ DBCommandExpr (Apache Empire-db Core 2.2
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="DBCommandExpr (Apache Empire-db Core 2.2.0-incubating API)";
+ parent.document.title="DBCommandExpr (Apache Empire-db Core 2.3.0 API)";
}
</SCRIPT>
<NOSCRIPT>
@@ -53,7 +53,7 @@ function windowTitle()
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../org/apache/empire/db/DBCommand.DBCommandParam.html" title="class in org.apache.empire.db"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/empire/db/DBCommand.html" title="class in org.apache.empire.db"><B>PREV CLASS</B></A>
<A HREF="../../../../org/apache/empire/db/DBCommandExpr.DBCmdColumn.html" title="class in org.apache.empire.db"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/empire/db/DBCommandExpr.html" target="_top"><B>FRAMES</B></A>
@@ -774,7 +774,7 @@ public final <A HREF="http://download.or
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../org/apache/empire/db/DBCommand.DBCommandParam.html" title="class in org.apache.empire.db"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/empire/db/DBCommand.html" title="class in org.apache.empire.db"><B>PREV CLASS</B></A>
<A HREF="../../../../org/apache/empire/db/DBCommandExpr.DBCmdColumn.html" title="class in org.apache.empire.db"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/empire/db/DBCommandExpr.html" target="_top"><B>FRAMES</B></A>
@@ -804,6 +804,6 @@ DETAIL: <A HREF="#field_detail">FIE
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2008-2011 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
+Copyright © 2008-2012 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDDLGenerator.html
URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDDLGenerator.html?rev=1309274&r1=1309273&r2=1309274&view=diff
==============================================================================
--- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDDLGenerator.html (original)
+++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDDLGenerator.html Wed Apr 4 07:29:32 2012
@@ -2,10 +2,10 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Fri Oct 21 10:41:20 GMT+01:00 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Mon Mar 19 10:44:50 GMT+01:00 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-DBDDLGenerator (Apache Empire-db Core 2.2.0-incubating API)
+DBDDLGenerator (Apache Empire-db Core 2.3.0 API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.empire.db.DBDDLGenerator class">
@@ -15,7 +15,7 @@ DBDDLGenerator (Apache Empire-db Core 2.
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="DBDDLGenerator (Apache Empire-db Core 2.2.0-incubating API)";
+ parent.document.title="DBDDLGenerator (Apache Empire-db Core 2.3.0 API)";
}
</SCRIPT>
<NOSCRIPT>
@@ -728,7 +728,8 @@ protected boolean <B>appendColumnDataTyp
<DD>appends the data type of a column
<P>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>size</CODE> - <DD><CODE>sql</CODE> - </DL>
+<DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>size</CODE> - <DD><CODE>sql</CODE> -
+<DT><B>Returns:</B><DD>true if further column attributes may be added or false otherwise</DL>
</DD>
</DL>
<HR>
@@ -959,6 +960,6 @@ DETAIL: <A HREF="#field_detail">FIE
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2008-2011 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
+Copyright © 2008-2012 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabase.DBSystemDate.html
URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabase.DBSystemDate.html?rev=1309274&r1=1309273&r2=1309274&view=diff
==============================================================================
--- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabase.DBSystemDate.html (original)
+++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabase.DBSystemDate.html Wed Apr 4 07:29:32 2012
@@ -2,10 +2,10 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Fri Oct 21 10:41:20 GMT+01:00 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Mon Mar 19 10:44:50 GMT+01:00 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-DBDatabase.DBSystemDate (Apache Empire-db Core 2.2.0-incubating API)
+DBDatabase.DBSystemDate (Apache Empire-db Core 2.3.0 API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.empire.db.DBDatabase.DBSystemDate class">
@@ -15,7 +15,7 @@ DBDatabase.DBSystemDate (Apache Empire-d
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="DBDatabase.DBSystemDate (Apache Empire-db Core 2.2.0-incubating API)";
+ parent.document.title="DBDatabase.DBSystemDate (Apache Empire-db Core 2.3.0 API)";
}
</SCRIPT>
<NOSCRIPT>
@@ -94,11 +94,14 @@ Class DBDatabase.DBSystemDate</H2>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.empire.db.DBDatabase.DBSystemDate</B>
</PRE>
<DL>
+<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD>
+</DL>
+<DL>
<DT><B>Enclosing class:</B><DD><A HREF="../../../../org/apache/empire/db/DBDatabase.html" title="class in org.apache.empire.db">DBDatabase</A></DD>
</DL>
<HR>
<DL>
-<DT><PRE>public static final class <B>DBDatabase.DBSystemDate</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
+<DT><PRE>public static final class <B>DBDatabase.DBSystemDate</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DL>
</PRE>
<P>
@@ -109,6 +112,8 @@ This class represents the database syste
<P>
<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.empire.db.DBDatabase.DBSystemDate">Serialized Form</A></DL>
<HR>
<P>
@@ -225,6 +230,6 @@ DETAIL: FIELD | CONSTR&nb
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2008-2011 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
+Copyright © 2008-2012 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabase.html
URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabase.html?rev=1309274&r1=1309273&r2=1309274&view=diff
==============================================================================
--- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabase.html (original)
+++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabase.html Wed Apr 4 07:29:32 2012
@@ -2,10 +2,10 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Fri Oct 21 10:41:20 GMT+01:00 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Mon Mar 19 10:44:50 GMT+01:00 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-DBDatabase (Apache Empire-db Core 2.2.0-incubating API)
+DBDatabase (Apache Empire-db Core 2.3.0 API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.empire.db.DBDatabase class">
@@ -15,7 +15,7 @@ DBDatabase (Apache Empire-db Core 2.2.0-
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="DBDatabase (Apache Empire-db Core 2.2.0-incubating API)";
+ parent.document.title="DBDatabase (Apache Empire-db Core 2.3.0 API)";
}
</SCRIPT>
<NOSCRIPT>
@@ -108,7 +108,7 @@ Class DBDatabase</H2>
<P>
This abstract class is the applicaton's interface for a particular database schema.
<P>
- It provides access to the various database objects such als tables, views and relations.
+ It provides access to the various database objects such as tables, views and relations.
<P>
It also provides methods to execute DQL and DML SQL-commands.
<P>
@@ -250,7 +250,7 @@ This abstract class is the applicaton's
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
+<CODE> <A HREF="../../../../org/apache/empire/db/DBRelation.html" title="class in org.apache.empire.db">DBRelation</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#addRelation(org.apache.empire.db.DBRelation.DBReference)">addRelation</A></B>(<A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A> reference)</CODE>
<BR>
@@ -258,7 +258,7 @@ This abstract class is the applicaton's
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
+<CODE> <A HREF="../../../../org/apache/empire/db/DBRelation.html" title="class in org.apache.empire.db">DBRelation</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#addRelation(org.apache.empire.db.DBRelation.DBReference, org.apache.empire.db.DBRelation.DBReference)">addRelation</A></B>(<A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A> ref1,
<A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A> ref2)</CODE>
@@ -267,7 +267,7 @@ This abstract class is the applicaton's
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
+<CODE> <A HREF="../../../../org/apache/empire/db/DBRelation.html" title="class in org.apache.empire.db">DBRelation</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#addRelation(java.lang.String, org.apache.empire.db.DBRelation.DBReference[])">addRelation</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name,
<A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A>[] references)</CODE>
@@ -276,23 +276,21 @@ This abstract class is the applicaton's
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
+<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#addTable(org.apache.empire.db.DBTable)">addTable</A></B>(<A HREF="../../../../org/apache/empire/db/DBTable.html" title="class in org.apache.empire.db">DBTable</A> table)</CODE>
<BR>
Adds a DBTable object to list of database tables.<BR>
- There is usually no need to call this function directly
- since it is internally called from the DBTable's constructor.</TD>
+ This function is called internally from the DBTable's constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
+<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#addView(org.apache.empire.db.DBView)">addView</A></B>(<A HREF="../../../../org/apache/empire/db/DBView.html" title="class in org.apache.empire.db">DBView</A> view)</CODE>
<BR>
Adds a DBView object to list of database views.<BR>
- There is usually no need to call this function directly
- since it is internally called from the DBView's constructor.</TD>
+ This function is called internally from the DBView's constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -311,7 +309,7 @@ This abstract class is the applicaton's
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#checkOpen()">checkOpen</A></B>()</CODE>
<BR>
- </TD>
+ checks if the database has been opened or false otherwise</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -635,6 +633,16 @@ This abstract class is the applicaton's
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#queryOptionList(java.lang.String, java.sql.Connection, org.apache.empire.commons.Options)">queryOptionList</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn,
+ <A HREF="../../../../org/apache/empire/commons/Options.html" title="class in org.apache.empire.commons">Options</A> result)</CODE>
+
+<BR>
+ Fills an option list provided with the result from a query.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
@@ -679,27 +687,18 @@ This abstract class is the applicaton's
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> double</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleDouble(java.lang.String, java.sql.Connection)">querySingleDouble</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
-
-<BR>
- Returns the value of the first row/column of a sql-query as a double.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> double</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleDouble(java.lang.String, double, java.sql.Connection)">querySingleDouble</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
- double defVal,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
+<CODE> int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleInt(java.lang.String, java.sql.Connection)">querySingleInt</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
<BR>
- Returns the value of the first row/column of a sql-query as a double.</TD>
+ Returns the value of the first row/column of a sql-query as an int.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleInt(java.lang.String, java.sql.Connection)">querySingleInt</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleInt(java.lang.String, int, java.sql.Connection)">querySingleInt</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ int defVal,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
<BR>
@@ -708,7 +707,8 @@ This abstract class is the applicaton's
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleInt(java.lang.String, int, java.sql.Connection)">querySingleInt</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleInt(java.lang.String, java.lang.Object[], int, java.sql.Connection)">querySingleInt</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams,
int defVal,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
@@ -736,6 +736,17 @@ This abstract class is the applicaton's
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> long</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleLong(java.lang.String, java.lang.Object[], long, java.sql.Connection)">querySingleLong</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams,
+ long defVal,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
+
+<BR>
+ Returns the value of the first row/column of a sql-query as a long.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleString(java.lang.String, java.sql.Connection)">querySingleString</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
@@ -746,6 +757,17 @@ This abstract class is the applicaton's
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleString(java.lang.String, java.lang.Object[], java.lang.String, java.sql.Connection)">querySingleString</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> defVal,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
+
+<BR>
+ Returns the value of the first row/column of a sql-query as a string.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleString(java.lang.String, java.lang.String, java.sql.Connection)">querySingleString</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> defVal,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
@@ -764,6 +786,16 @@ This abstract class is the applicaton's
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#querySingleValue(java.lang.String, java.lang.Object[], java.sql.Connection)">querySingleValue</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
+
+<BR>
+ Returns the value of the first row/column of a sql-query as an object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabase.html#rollback(java.sql.Connection)">rollback</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
@@ -1259,11 +1291,10 @@ public <A HREF="../../../../org/apache/e
<A NAME="addTable(org.apache.empire.db.DBTable)"><!-- --></A><H3>
addTable</H3>
<PRE>
-public void <B>addTable</B>(<A HREF="../../../../org/apache/empire/db/DBTable.html" title="class in org.apache.empire.db">DBTable</A> table)</PRE>
+protected void <B>addTable</B>(<A HREF="../../../../org/apache/empire/db/DBTable.html" title="class in org.apache.empire.db">DBTable</A> table)</PRE>
<DL>
<DD>Adds a DBTable object to list of database tables.<BR>
- There is usually no need to call this function directly
- since it is internally called from the DBTable's constructor.
+ This function is called internally from the DBTable's constructor.
<P>
<P>
<DD><DL>
@@ -1304,7 +1335,7 @@ public <A HREF="../../../../org/apache/e
<A NAME="addRelation(org.apache.empire.db.DBRelation.DBReference)"><!-- --></A><H3>
addRelation</H3>
<PRE>
-public final void <B>addRelation</B>(<A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A> reference)</PRE>
+public final <A HREF="../../../../org/apache/empire/db/DBRelation.html" title="class in org.apache.empire.db">DBRelation</A> <B>addRelation</B>(<A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A> reference)</PRE>
<DL>
<DD>Adds a foreign key relation to the database.
<P>
@@ -1318,8 +1349,8 @@ public final void <B>addRelation</B>(<A
<A NAME="addRelation(org.apache.empire.db.DBRelation.DBReference, org.apache.empire.db.DBRelation.DBReference)"><!-- --></A><H3>
addRelation</H3>
<PRE>
-public final void <B>addRelation</B>(<A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A> ref1,
- <A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A> ref2)</PRE>
+public final <A HREF="../../../../org/apache/empire/db/DBRelation.html" title="class in org.apache.empire.db">DBRelation</A> <B>addRelation</B>(<A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A> ref1,
+ <A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A> ref2)</PRE>
<DL>
<DD>Add a foreign key relation to the database.
<P>
@@ -1332,8 +1363,8 @@ public final void <B>addRelation</B>(<A
<A NAME="addRelation(java.lang.String, org.apache.empire.db.DBRelation.DBReference[])"><!-- --></A><H3>
addRelation</H3>
<PRE>
-public void <B>addRelation</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name,
- <A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A>[] references)</PRE>
+public <A HREF="../../../../org/apache/empire/db/DBRelation.html" title="class in org.apache.empire.db">DBRelation</A> <B>addRelation</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name,
+ <A HREF="../../../../org/apache/empire/db/DBRelation.DBReference.html" title="class in org.apache.empire.db">DBRelation.DBReference</A>[] references)</PRE>
<DL>
<DD>Adds a foreign key relation to the database.
<P>
@@ -1374,11 +1405,10 @@ public <A HREF="../../../../org/apache/e
<A NAME="addView(org.apache.empire.db.DBView)"><!-- --></A><H3>
addView</H3>
<PRE>
-public void <B>addView</B>(<A HREF="../../../../org/apache/empire/db/DBView.html" title="class in org.apache.empire.db">DBView</A> view)</PRE>
+protected void <B>addView</B>(<A HREF="../../../../org/apache/empire/db/DBView.html" title="class in org.apache.empire.db">DBView</A> view)</PRE>
<DL>
<DD>Adds a DBView object to list of database views.<BR>
- There is usually no need to call this function directly
- since it is internally called from the DBView's constructor.
+ This function is called internally from the DBView's constructor.
<P>
<P>
<DD><DL>
@@ -1434,6 +1464,8 @@ checkOpen</H3>
<PRE>
protected void <B>checkOpen</B>()</PRE>
<DL>
+<DD>checks if the database has been opened or false otherwise
+<P>
<DD><DL>
</DL>
</DD>
@@ -1480,6 +1512,23 @@ public <A HREF="http://download.oracle.c
</DL>
<HR>
+<A NAME="querySingleValue(java.lang.String, java.lang.Object[], java.sql.Connection)"><!-- --></A><H3>
+querySingleValue</H3>
+<PRE>
+public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>querySingleValue</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</PRE>
+<DL>
+<DD>Returns the value of the first row/column of a sql-query as an object.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL-Command<DD><CODE>sqlParams</CODE> - list of query parameter values<DD><CODE>conn</CODE> - a valid connection to the database.
+<DT><B>Returns:</B><DD>the first column in the current row as a Java object
+ or <code>null</code> if there was no value</DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="querySingleValue(java.lang.String, java.sql.Connection)"><!-- --></A><H3>
querySingleValue</H3>
<PRE>
@@ -1496,6 +1545,23 @@ public <A HREF="http://download.oracle.c
</DL>
<HR>
+<A NAME="querySingleInt(java.lang.String, java.lang.Object[], int, java.sql.Connection)"><!-- --></A><H3>
+querySingleInt</H3>
+<PRE>
+public int <B>querySingleInt</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams,
+ int defVal,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</PRE>
+<DL>
+<DD>Returns the value of the first row/column of a sql-query as an int.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>sqlParams</CODE> - list of query parameter values<DD><CODE>defVal</CODE> - the default value if no value was returned by the database<DD><CODE>conn</CODE> - a valid connection to the database.
+<DT><B>Returns:</B><DD>the result as a int value, if no result the int value 0</DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="querySingleInt(java.lang.String, int, java.sql.Connection)"><!-- --></A><H3>
querySingleInt</H3>
<PRE>
@@ -1527,64 +1593,67 @@ public final int <B>querySingleInt</B>(<
</DL>
<HR>
-<A NAME="querySingleLong(java.lang.String, long, java.sql.Connection)"><!-- --></A><H3>
+<A NAME="querySingleLong(java.lang.String, java.lang.Object[], long, java.sql.Connection)"><!-- --></A><H3>
querySingleLong</H3>
<PRE>
public long <B>querySingleLong</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams,
long defVal,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</PRE>
<DL>
<DD>Returns the value of the first row/column of a sql-query as a long.
<P>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>defVal</CODE> - the default value<DD><CODE>conn</CODE> - a valid connection to the database.
+<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>sqlParams</CODE> - list of query parameter values<DD><CODE>defVal</CODE> - the default value<DD><CODE>conn</CODE> - a valid connection to the database.
<DT><B>Returns:</B><DD>the result as a long value, if no result the long value 0</DL>
</DD>
</DL>
<HR>
-<A NAME="querySingleLong(java.lang.String, java.sql.Connection)"><!-- --></A><H3>
+<A NAME="querySingleLong(java.lang.String, long, java.sql.Connection)"><!-- --></A><H3>
querySingleLong</H3>
<PRE>
-public final long <B>querySingleLong</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</PRE>
+public long <B>querySingleLong</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ long defVal,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</PRE>
<DL>
<DD>Returns the value of the first row/column of a sql-query as a long.
<P>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>conn</CODE> - a valid connection to the database.
+<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>defVal</CODE> - the default value<DD><CODE>conn</CODE> - a valid connection to the database.
<DT><B>Returns:</B><DD>the result as a long value, if no result the long value 0</DL>
</DD>
</DL>
<HR>
-<A NAME="querySingleDouble(java.lang.String, double, java.sql.Connection)"><!-- --></A><H3>
-querySingleDouble</H3>
+<A NAME="querySingleLong(java.lang.String, java.sql.Connection)"><!-- --></A><H3>
+querySingleLong</H3>
<PRE>
-public double <B>querySingleDouble</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
- double defVal,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</PRE>
+public final long <B>querySingleLong</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</PRE>
<DL>
-<DD>Returns the value of the first row/column of a sql-query as a double.
+<DD>Returns the value of the first row/column of a sql-query as a long.
<P>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>defVal</CODE> - the default value<DD><CODE>conn</CODE> - a valid connection to the database.
+<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>conn</CODE> - a valid connection to the database.
<DT><B>Returns:</B><DD>the result as a long value, if no result the long value 0</DL>
</DD>
</DL>
<HR>
-<A NAME="querySingleDouble(java.lang.String, java.sql.Connection)"><!-- --></A><H3>
-querySingleDouble</H3>
+<A NAME="querySingleString(java.lang.String, java.lang.Object[], java.lang.String, java.sql.Connection)"><!-- --></A><H3>
+querySingleString</H3>
<PRE>
-public final double <B>querySingleDouble</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</PRE>
+public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>querySingleString</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> defVal,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</PRE>
<DL>
-<DD>Returns the value of the first row/column of a sql-query as a double.
+<DD>Returns the value of the first row/column of a sql-query as a string.
<P>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>conn</CODE> - a valid connection to the database.
-<DT><B>Returns:</B><DD>the result as a long value, if no result the long value 0</DL>
+<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>sqlParams</CODE> - list of query parameter values<DD><CODE>defVal</CODE> - the default value if no value was returned by the database<DD><CODE>conn</CODE> - a valid connection to the database.
+<DT><B>Returns:</B><DD>the result as a String object, if no result a empty String</DL>
</DD>
</DL>
<HR>
@@ -1600,7 +1669,7 @@ public <A HREF="http://download.oracle.c
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>defVal</CODE> - the default value if no value was returned by the database<DD><CODE>conn</CODE> - a valid connection to the database.
-<DT><B>Returns:</B><DD>the result as a String object, if no result a emtpy String</DL>
+<DT><B>Returns:</B><DD>the result as a String object, if no result a empty String</DL>
</DD>
</DL>
<HR>
@@ -1615,7 +1684,7 @@ public final <A HREF="http://download.or
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>conn</CODE> - a valid connection to the database.
-<DT><B>Returns:</B><DD>the result as a String object, if no result a emtpy String</DL>
+<DT><B>Returns:</B><DD>the result as a String object, if no result a empty String</DL>
</DD>
</DL>
<HR>
@@ -1670,6 +1739,23 @@ public <A HREF="http://download.oracle.c
</DL>
<HR>
+<A NAME="queryOptionList(java.lang.String, java.sql.Connection, org.apache.empire.commons.Options)"><!-- --></A><H3>
+queryOptionList</H3>
+<PRE>
+public int <B>queryOptionList</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sqlCmd,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn,
+ <A HREF="../../../../org/apache/empire/commons/Options.html" title="class in org.apache.empire.commons">Options</A> result)</PRE>
+<DL>
+<DD>Fills an option list provided with the result from a query.
+ The option list is filled with the values of the first and second column.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>sqlCmd</CODE> - the SQL statement<DD><CODE>conn</CODE> - a valid connection to the database.
+<DT><B>Returns:</B><DD>an Options object containing a set a of values and their corresponding names</DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="queryOptionList(java.lang.String, java.sql.Connection)"><!-- --></A><H3>
queryOptionList</H3>
<PRE>
@@ -1910,6 +1996,6 @@ DETAIL: <A HREF="#field_detail">FIE
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2008-2011 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
+Copyright © 2008-2012 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.DBSeqTable.html
URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.DBSeqTable.html?rev=1309274&r1=1309273&r2=1309274&view=diff
==============================================================================
--- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.DBSeqTable.html (original)
+++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.DBSeqTable.html Wed Apr 4 07:29:32 2012
@@ -2,10 +2,10 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Fri Oct 21 10:41:20 GMT+01:00 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Mon Mar 19 10:44:50 GMT+01:00 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-DBDatabaseDriver.DBSeqTable (Apache Empire-db Core 2.2.0-incubating API)
+DBDatabaseDriver.DBSeqTable (Apache Empire-db Core 2.3.0 API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.empire.db.DBDatabaseDriver.DBSeqTable class">
@@ -15,7 +15,7 @@ DBDatabaseDriver.DBSeqTable (Apache Empi
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="DBDatabaseDriver.DBSeqTable (Apache Empire-db Core 2.2.0-incubating API)";
+ parent.document.title="DBDatabaseDriver.DBSeqTable (Apache Empire-db Core 2.3.0 API)";
}
</SCRIPT>
<NOSCRIPT>
@@ -222,7 +222,7 @@ This class is used to emulate sequences
<TH ALIGN="left"><B>Methods inherited from class org.apache.empire.db.<A HREF="../../../../org/apache/empire/db/DBTable.html" title="class in org.apache.empire.db">DBTable</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../../org/apache/empire/db/DBTable.html#addColumn(org.apache.empire.db.DBTableColumn)">addColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addColumn(java.lang.String, org.apache.empire.data.DataType, double, boolean)">addColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addColumn(java.lang.String, org.apache.empire.data.DataType, double, boolean, java.lang.Object)">addColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addColumn(java.lang.String, org.apache.empire.data.DataType, double, org.apache.empire.data.DataMode)">addColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addColumn(java.lang.String, org.apache.empire.data.DataType, double, org.apache.empire.data.DataMode, java.lang.Object)">addColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addIndex(java.lang.String, boolean, org.apache.empire.db.DBColumn[])">addIndex</A>, <A HREF="../../../../org/apache/empire/db/D
BTable.html#addSQL(java.lang.StringBuilder, long)">addSQL</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addTimestampColumn(java.lang.String)">addTimestampColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#clone()">clone</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#createRecord(org.apache.empire.db.DBRecord, java.sql.Connection)">createRecord</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#deleteRecord(java.lang.Object[], java.sql.Connection)">deleteRecord</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#getAlias()">getAlias</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#getIndexes()">getIndexes</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#getName()">getName</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#getPrimaryKey()">getPrimaryKey</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#isCascadeDelete()">isCascadeDelete</A>, <A HREF="../../../../org/apache/empi
re/db/DBTable.html#setCascadeDelete(boolean)">setCascadeDelete</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#setPrimaryKey(org.apache.empire.db.DBColumn)">setPrimaryKey</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#setPrimaryKey(org.apache.empire.db.DBColumn[])">setPrimaryKey</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#setPrimaryKey(org.apache.empire.db.DBColumn, org.apache.empire.db.DBColumn)">setPrimaryKey</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#setPrimaryKey(org.apache.empire.db.DBColumn, org.apache.empire.db.DBColumn, org.apache.empire.db.DBColumn)">setPrimaryKey</A></CODE></TD>
+<TD><CODE><A HREF="../../../../org/apache/empire/db/DBTable.html#addColumn(org.apache.empire.db.DBTableColumn)">addColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addColumn(java.lang.String, org.apache.empire.data.DataType, double, boolean)">addColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addColumn(java.lang.String, org.apache.empire.data.DataType, double, boolean, java.lang.Object)">addColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addColumn(java.lang.String, org.apache.empire.data.DataType, double, org.apache.empire.data.DataMode)">addColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addColumn(java.lang.String, org.apache.empire.data.DataType, double, org.apache.empire.data.DataMode, java.lang.Object)">addColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addIndex(org.apache.empire.db.DBIndex)">addIndex</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addIndex(java.lang
.String, boolean, org.apache.empire.db.DBColumn[])">addIndex</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addSQL(java.lang.StringBuilder, long)">addSQL</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#addTimestampColumn(java.lang.String)">addTimestampColumn</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#clone()">clone</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#createRecord(org.apache.empire.db.DBRecord, java.sql.Connection)">createRecord</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#deleteRecord(java.lang.Object[], java.sql.Connection)">deleteRecord</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#getAlias()">getAlias</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#getIndexes()">getIndexes</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#getName()">getName</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#getPrimaryKey()">getPrimaryKey</A>, <A HREF="../../../../o
rg/apache/empire/db/DBTable.html#isCascadeDelete()">isCascadeDelete</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#isUpdateable()">isUpdateable</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#setCascadeDelete(boolean)">setCascadeDelete</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#setPrimaryKey(org.apache.empire.db.DBColumn)">setPrimaryKey</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#setPrimaryKey(org.apache.empire.db.DBColumn[])">setPrimaryKey</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#setPrimaryKey(org.apache.empire.db.DBColumn, org.apache.empire.db.DBColumn)">setPrimaryKey</A>, <A HREF="../../../../org/apache/empire/db/DBTable.html#setPrimaryKey(org.apache.empire.db.DBColumn, org.apache.empire.db.DBColumn, org.apache.empire.db.DBColumn)">setPrimaryKey</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.empire.db.DBRowSet"><!-- --></A>
@@ -398,6 +398,6 @@ DETAIL: <A HREF="#field_detail">FIE
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2008-2011 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
+Copyright © 2008-2012 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.DBSetGenKeys.html
URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.DBSetGenKeys.html?rev=1309274&r1=1309273&r2=1309274&view=diff
==============================================================================
--- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.DBSetGenKeys.html (original)
+++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.DBSetGenKeys.html Wed Apr 4 07:29:32 2012
@@ -2,10 +2,10 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Fri Oct 21 10:41:20 GMT+01:00 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Mon Mar 19 10:44:50 GMT+01:00 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-DBDatabaseDriver.DBSetGenKeys (Apache Empire-db Core 2.2.0-incubating API)
+DBDatabaseDriver.DBSetGenKeys (Apache Empire-db Core 2.3.0 API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.empire.db.DBDatabaseDriver.DBSetGenKeys interface">
@@ -15,7 +15,7 @@ DBDatabaseDriver.DBSetGenKeys (Apache Em
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="DBDatabaseDriver.DBSetGenKeys (Apache Empire-db Core 2.2.0-incubating API)";
+ parent.document.title="DBDatabaseDriver.DBSetGenKeys (Apache Empire-db Core 2.3.0 API)";
}
</SCRIPT>
<NOSCRIPT>
@@ -206,6 +206,6 @@ DETAIL: FIELD | CONSTR&nb
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2008-2011 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
+Copyright © 2008-2012 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.html
URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.html?rev=1309274&r1=1309273&r2=1309274&view=diff
==============================================================================
--- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.html (original)
+++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDatabaseDriver.html Wed Apr 4 07:29:32 2012
@@ -2,10 +2,10 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Fri Oct 21 10:41:20 GMT+01:00 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Mon Mar 19 10:44:50 GMT+01:00 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-DBDatabaseDriver (Apache Empire-db Core 2.2.0-incubating API)
+DBDatabaseDriver (Apache Empire-db Core 2.3.0 API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.empire.db.DBDatabaseDriver class">
@@ -15,7 +15,7 @@ DBDatabaseDriver (Apache Empire-db Core
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="DBDatabaseDriver (Apache Empire-db Core 2.2.0-incubating API)";
+ parent.document.title="DBDatabaseDriver (Apache Empire-db Core 2.3.0 API)";
}
</SCRIPT>
<NOSCRIPT>
@@ -576,6 +576,17 @@ The DBDatabaseDriver class is an abstrac
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#addStatementParam(java.sql.PreparedStatement, int, java.lang.Object, java.sql.Connection)">addStatementParam</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/PreparedStatement.html" title="class or interface in java.sql">PreparedStatement</A> pstmt,
+ int paramIndex,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
+
+<BR>
+ Adds a statement parameter to a prepared statement</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#appendElementName(java.lang.StringBuilder, java.lang.String)">appendElementName</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/StringBuilder.html" title="class or interface in java.lang">StringBuilder</A> sql,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE>
@@ -596,8 +607,8 @@ The DBDatabaseDriver class is an abstrac
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#appendTextValue(java.lang.StringBuilder, java.lang.String)">appendTextValue</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/StringBuilder.html" title="class or interface in java.lang">StringBuilder</A> buf,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</CODE>
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#appendSQLTextValue(java.lang.StringBuilder, java.lang.String)">appendSQLTextValue</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/StringBuilder.html" title="class or interface in java.lang">StringBuilder</A> buf,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</CODE>
<BR>
this helper function doubles up single quotes for SQL</TD>
@@ -721,17 +732,6 @@ The DBDatabaseDriver class is an abstrac
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#getDateTimeString(java.lang.Object, int, int, int)">getDateTimeString</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value,
- int sqlTemplate,
- int sqlPattern,
- int sqlCurrentDate)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#getDDLScript(org.apache.empire.db.DBCmdType, org.apache.empire.db.DBObject, org.apache.empire.db.DBSQLScript)">getDDLScript</A></B>(<A HREF="../../../../org/apache/empire/db/DBCmdType.html" title="enum in org.apache.empire.db">DBCmdType</A> type,
<A HREF="../../../../org/apache/empire/db/DBObject.html" title="class in org.apache.empire.db">DBObject</A> dbo,
@@ -766,6 +766,17 @@ The DBDatabaseDriver class is an abstrac
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#getSQLDateTimeString(java.lang.Object, int, int, int)">getSQLDateTimeString</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value,
+ int sqlTemplate,
+ int sqlPattern,
+ int sqlCurrentDate)</CODE>
+
+<BR>
+ encodes a Date value for an SQL command string.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#getSQLPhrase(int)">getSQLPhrase</A></B>(int phrase)</CODE>
@@ -777,6 +788,15 @@ The DBDatabaseDriver class is an abstrac
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#getSQLTextString(org.apache.empire.data.DataType, java.lang.Object)">getSQLTextString</A></B>(<A HREF="../../../../org/apache/empire/data/DataType.html" title="enum in org.apache.empire.data">DataType</A> type,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value)</CODE>
+
+<BR>
+ encodes Text values for an SQL command string.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Timestamp.html" title="class or interface in java.sql">Timestamp</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#getUpdateTimestamp(java.sql.Connection)">getUpdateTimestamp</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
@@ -811,8 +831,9 @@ The DBDatabaseDriver class is an abstrac
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#prepareStatement(java.sql.PreparedStatement, java.lang.Object[])">prepareStatement</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/PreparedStatement.html" title="class or interface in java.sql">PreparedStatement</A> pstmt,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams)</CODE>
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#prepareStatement(java.sql.PreparedStatement, java.lang.Object[], java.sql.Connection)">prepareStatement</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/PreparedStatement.html" title="class or interface in java.sql">PreparedStatement</A> pstmt,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE>
<BR>
Prepares an sql statement by setting the supplied objects as parameters.</TD>
@@ -825,6 +846,14 @@ The DBDatabaseDriver class is an abstrac
<BR>
Set true if column default values should be included in DDL Statements</TD>
</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/empire/db/DBDatabaseDriver.html#stringToBoolean(java.lang.String)">stringToBoolean</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</CODE>
+
+<BR>
+ this function converts a string containing a boolean expression to a boolean.</TD>
+</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
@@ -1564,11 +1593,12 @@ public <A HREF="http://download.oracle.c
</DL>
<HR>
-<A NAME="prepareStatement(java.sql.PreparedStatement, java.lang.Object[])"><!-- --></A><H3>
+<A NAME="prepareStatement(java.sql.PreparedStatement, java.lang.Object[], java.sql.Connection)"><!-- --></A><H3>
prepareStatement</H3>
<PRE>
protected void <B>prepareStatement</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/PreparedStatement.html" title="class or interface in java.sql">PreparedStatement</A> pstmt,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams)
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] sqlParams,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)
throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE>
<DL>
<DD>Prepares an sql statement by setting the supplied objects as parameters.
@@ -1584,6 +1614,28 @@ protected void <B>prepareStatement</B>(<
</DL>
<HR>
+<A NAME="addStatementParam(java.sql.PreparedStatement, int, java.lang.Object, java.sql.Connection)"><!-- --></A><H3>
+addStatementParam</H3>
+<PRE>
+protected void <B>addStatementParam</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/PreparedStatement.html" title="class or interface in java.sql">PreparedStatement</A> pstmt,
+ int paramIndex,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)
+ throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE>
+<DL>
+<DD>Adds a statement parameter to a prepared statement
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>pstmt</CODE> - the prepared statement<DD><CODE>sqlParams</CODE> - list of objects
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="extractErrorMessage(java.sql.SQLException)"><!-- --></A><H3>
extractErrorMessage</H3>
<PRE>
@@ -1686,40 +1738,95 @@ protected void <B>close</B>(<A HREF="htt
</DL>
<HR>
-<A NAME="getDateTimeString(java.lang.Object, int, int, int)"><!-- --></A><H3>
-getDateTimeString</H3>
+<A NAME="getValueString(java.lang.Object, org.apache.empire.data.DataType)"><!-- --></A><H3>
+getValueString</H3>
<PRE>
-protected <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDateTimeString</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value,
- int sqlTemplate,
- int sqlPattern,
- int sqlCurrentDate)</PRE>
+public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getValueString</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value,
+ <A HREF="../../../../org/apache/empire/data/DataType.html" title="enum in org.apache.empire.data">DataType</A> type)</PRE>
<DL>
+<DD>Creates a sql string for a given value.
+ Text will be enclosed in single quotes and existing single quotes will be doubled.
+ Empty strings are treated as null.
+ Syntax of Date, Datetime and Boolean values are vendor specific.
+<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>value</CODE> - the value which is inserted to the new String<DD><CODE>type</CODE> - the sql data type of the supplied value
+<DT><B>Returns:</B><DD>the sql string representing this value</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSQLDateTimeString(java.lang.Object, int, int, int)"><!-- --></A><H3>
+getSQLDateTimeString</H3>
+<PRE>
+protected <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getSQLDateTimeString</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value,
+ int sqlTemplate,
+ int sqlPattern,
+ int sqlCurrentDate)</PRE>
+<DL>
+<DD>encodes a Date value for an SQL command string.
+<P>
+<DD><DL>
</DL>
</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>value</CODE> - <DD><CODE>sqlTemplate</CODE> - <DD><CODE>sqlPattern</CODE> - <DD><CODE>sqlCurrentDate</CODE> -
+<DT><B>Returns:</B><DD></DL>
+</DD>
</DL>
<HR>
-<A NAME="getValueString(java.lang.Object, org.apache.empire.data.DataType)"><!-- --></A><H3>
-getValueString</H3>
+<A NAME="getSQLTextString(org.apache.empire.data.DataType, java.lang.Object)"><!-- --></A><H3>
+getSQLTextString</H3>
<PRE>
-public final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getValueString</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value,
- <A HREF="../../../../org/apache/empire/data/DataType.html" title="enum in org.apache.empire.data">DataType</A> type)</PRE>
+protected <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getSQLTextString</B>(<A HREF="../../../../org/apache/empire/data/DataType.html" title="enum in org.apache.empire.data">DataType</A> type,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value)</PRE>
<DL>
-<DD>Creates a sql string for a given value.
- Text will be enclosed in single quotes and existing single quotes will be doubled.
- Empty strings are treated as null.
- Syntax of Date, Datetime and Boolean values are vendor specific.
+<DD>encodes Text values for an SQL command string.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>value</CODE> - the value which is inserted to the new String<DD><CODE>type</CODE> - the sql data type of the supplied value
-<DT><B>Returns:</B><DD>the sql string representing this value</DL>
+<DT><B>Parameters:</B><DD><CODE>type</CODE> - date type (can only be TEXT, CHAR, CLOB and UNIQUEID)<DD><CODE>value</CODE> - the text to be encoded
+<DT><B>Returns:</B><DD>the encoded sql value</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="appendSQLTextValue(java.lang.StringBuilder, java.lang.String)"><!-- --></A><H3>
+appendSQLTextValue</H3>
+<PRE>
+protected void <B>appendSQLTextValue</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/StringBuilder.html" title="class or interface in java.lang">StringBuilder</A> buf,
+ <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</PRE>
+<DL>
+<DD>this helper function doubles up single quotes for SQL
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="stringToBoolean(java.lang.String)"><!-- --></A><H3>
+stringToBoolean</H3>
+<PRE>
+protected boolean <B>stringToBoolean</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</PRE>
+<DL>
+<DD>this function converts a string containing a boolean expression to a boolean.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>value</CODE> - the string containing a boolean expression
+<DT><B>Returns:</B><DD>true if the string contains either "true", "y" or "1" or false otherwise</DL>
</DD>
</DL>
<HR>
@@ -1841,23 +1948,6 @@ public <A HREF="http://download.oracle.c
<DT><B>Returns:</B><DD>the current date and time.</DL>
</DD>
</DL>
-<HR>
-
-<A NAME="appendTextValue(java.lang.StringBuilder, java.lang.String)"><!-- --></A><H3>
-appendTextValue</H3>
-<PRE>
-protected void <B>appendTextValue</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/StringBuilder.html" title="class or interface in java.lang">StringBuilder</A> buf,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</PRE>
-<DL>
-<DD>this helper function doubles up single quotes for SQL
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
@@ -1919,6 +2009,6 @@ DETAIL: <A HREF="#field_detail">FIE
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2008-2011 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
+Copyright © 2008-2012 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDriverFeature.html
URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDriverFeature.html?rev=1309274&r1=1309273&r2=1309274&view=diff
==============================================================================
--- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDriverFeature.html (original)
+++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBDriverFeature.html Wed Apr 4 07:29:32 2012
@@ -2,10 +2,10 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Fri Oct 21 10:41:20 GMT+01:00 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Mon Mar 19 10:44:50 GMT+01:00 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-DBDriverFeature (Apache Empire-db Core 2.2.0-incubating API)
+DBDriverFeature (Apache Empire-db Core 2.3.0 API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.empire.db.DBDriverFeature class">
@@ -15,7 +15,7 @@ DBDriverFeature (Apache Empire-db Core 2
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="DBDriverFeature (Apache Empire-db Core 2.2.0-incubating API)";
+ parent.document.title="DBDriverFeature (Apache Empire-db Core 2.3.0 API)";
}
</SCRIPT>
<NOSCRIPT>
@@ -350,6 +350,6 @@ DETAIL: <A HREF="#enum_constant_det
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2008-2011 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
+Copyright © 2008-2012 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBExpr.html
URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBExpr.html?rev=1309274&r1=1309273&r2=1309274&view=diff
==============================================================================
--- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBExpr.html (original)
+++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBExpr.html Wed Apr 4 07:29:32 2012
@@ -2,10 +2,10 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Fri Oct 21 10:41:20 GMT+01:00 2011 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Mon Mar 19 10:44:50 GMT+01:00 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-DBExpr (Apache Empire-db Core 2.2.0-incubating API)
+DBExpr (Apache Empire-db Core 2.3.0 API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.empire.db.DBExpr class">
@@ -15,7 +15,7 @@ DBExpr (Apache Empire-db Core 2.2.0-incu
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="DBExpr (Apache Empire-db Core 2.2.0-incubating API)";
+ parent.document.title="DBExpr (Apache Empire-db Core 2.3.0 API)";
}
</SCRIPT>
<NOSCRIPT>
@@ -54,7 +54,7 @@ function windowTitle()
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/empire/db/DBDriverFeature.html" title="enum in org.apache.empire.db"><B>PREV CLASS</B></A>
- <A HREF="../../../../org/apache/empire/db/DBIndex.html" title="class in org.apache.empire.db"><B>NEXT CLASS</B></A></FONT></TD>
+ <A HREF="../../../../org/apache/empire/db/DBExpressionIndex.html" title="class in org.apache.empire.db"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/empire/db/DBExpr.html" target="_top"><B>FRAMES</B></A>
<A HREF="DBExpr.html" target="_top"><B>NO FRAMES</B></A>
@@ -98,7 +98,7 @@ Class DBExpr</H2>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD>
</DL>
<DL>
-<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/empire/db/DBColumnExpr.html" title="class in org.apache.empire.db">DBColumnExpr</A>, <A HREF="../../../../org/apache/empire/db/DBCommand.DBCommandParam.html" title="class in org.apache.empire.db">DBCommand.DBCommandParam</A>, <A HREF="../../../../org/apache/empire/db/DBCommandExpr.html" title="class in org.apache.empire.db">DBCommandExpr</A>, <A HREF="../../../../org/apache/empire/db/expr/compare/DBCompareExpr.html" title="class in org.apache.empire.db.expr.compare">DBCompareExpr</A>, <A HREF="../../../../org/apache/empire/db/expr/join/DBJoinExpr.html" title="class in org.apache.empire.db.expr.join">DBJoinExpr</A>, <A HREF="../../../../org/apache/empire/db/expr/order/DBOrderByExpr.html" title="class in org.apache.empire.db.expr.order">DBOrderByExpr</A>, <A HREF="../../../../org/apache/empire/db/DBRowSet.html" title="class in org.apache.empire.db">DBRowSet</A>, <A HREF="../../../../org/apache/empire/db/ex
pr/set/DBSetExpr.html" title="class in org.apache.empire.db.expr.set">DBSetExpr</A></DD>
+<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/empire/db/DBCmdParam.html" title="class in org.apache.empire.db">DBCmdParam</A>, <A HREF="../../../../org/apache/empire/db/DBColumnExpr.html" title="class in org.apache.empire.db">DBColumnExpr</A>, <A HREF="../../../../org/apache/empire/db/DBCommandExpr.html" title="class in org.apache.empire.db">DBCommandExpr</A>, <A HREF="../../../../org/apache/empire/db/expr/compare/DBCompareExpr.html" title="class in org.apache.empire.db.expr.compare">DBCompareExpr</A>, <A HREF="../../../../org/apache/empire/db/expr/join/DBJoinExpr.html" title="class in org.apache.empire.db.expr.join">DBJoinExpr</A>, <A HREF="../../../../org/apache/empire/db/expr/order/DBOrderByExpr.html" title="class in org.apache.empire.db.expr.order">DBOrderByExpr</A>, <A HREF="../../../../org/apache/empire/db/DBRowSet.html" title="class in org.apache.empire.db">DBRowSet</A>, <A HREF="../../../../org/apache/empire/db/expr/set/DBSetExpr.html" title
="class in org.apache.empire.db.expr.set">DBSetExpr</A></DD>
</DL>
<HR>
<DL>
@@ -458,7 +458,7 @@ public static final <A HREF="http://down
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/empire/db/DBDriverFeature.html" title="enum in org.apache.empire.db"><B>PREV CLASS</B></A>
- <A HREF="../../../../org/apache/empire/db/DBIndex.html" title="class in org.apache.empire.db"><B>NEXT CLASS</B></A></FONT></TD>
+ <A HREF="../../../../org/apache/empire/db/DBExpressionIndex.html" title="class in org.apache.empire.db"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/empire/db/DBExpr.html" target="_top"><B>FRAMES</B></A>
<A HREF="DBExpr.html" target="_top"><B>NO FRAMES</B></A>
@@ -487,6 +487,6 @@ DETAIL: <A HREF="#field_detail">FIE
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2008-2011 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
+Copyright © 2008-2012 <a href="http://apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>