<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--NewPage--> | |
<HTML> | |
<HEAD> | |
<!-- Generated by javadoc (build 1.6.0_11) on Wed Jul 20 09:13:43 CDT 2011 --> | |
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<TITLE> | |
QueryImpl (OpenJPA Parent POM 2.1.1 API) | |
</TITLE> | |
<META NAME="date" CONTENT="2011-07-20"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
if (location.href.indexOf('is-external=true') == -1) { | |
parent.document.title="QueryImpl (OpenJPA Parent POM 2.1.1 API)"; | |
} | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</HEAD> | |
<BODY BGCOLOR="white" onload="windowTitle();"> | |
<HR> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<A NAME="navbar_top"><!-- --></A> | |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_top_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> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QueryImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="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" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../org/apache/openjpa/persistence/PessimisticLockException.html" title="class in org.apache.openjpa.persistence"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/openjpa/persistence/QueryOperationType.html" title="enum in org.apache.openjpa.persistence"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/openjpa/persistence/QueryImpl.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="QueryImpl.html" target="_top"><B>NO FRAMES</B></A> | |
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.openjpa.persistence</FONT> | |
<BR> | |
Class QueryImpl<X></H2> | |
<PRE> | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.openjpa.persistence.QueryImpl<X></B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A>, <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><X>, <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><X>, <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuerySPI</A><X></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public class <B>QueryImpl<X></B><DT>extends <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuerySPI</A><X>, <A HREF="http://java.sun.com/j2se/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DL> | |
</PRE> | |
<P> | |
Implementation of <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence"><CODE>Query</CODE></A> interface. | |
<P> | |
<P> | |
<DL> | |
<DT><B>Author:</B></DT> | |
<DD>Marc Prud'hommeaux, Abe White</DD> | |
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.openjpa.persistence.QueryImpl">Serialized Form</A></DL> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="fields_inherited_from_class_org.apache.openjpa.persistence.OpenJPAQuery"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Fields inherited from interface org.apache.openjpa.persistence.<A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#FLUSH_FALSE">FLUSH_FALSE</A>, <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#FLUSH_TRUE">FLUSH_TRUE</A>, <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#FLUSH_WITH_CONNECTION">FLUSH_WITH_CONNECTION</A>, <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#HINT_RESULT_COUNT">HINT_RESULT_COUNT</A>, <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#OP_DELETE">OP_DELETE</A>, <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#OP_SELECT">OP_SELECT</A>, <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#OP_UPDATE">OP_UPDATE</A></CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
<A NAME="constructor_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Constructor Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#QueryImpl(org.apache.openjpa.persistence.EntityManagerImpl, org.apache.openjpa.kernel.Query)">QueryImpl</A></B>(<A HREF="../../../../org/apache/openjpa/persistence/EntityManagerImpl.html" title="class in org.apache.openjpa.persistence">EntityManagerImpl</A> em, | |
<A HREF="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</A> query)</CODE> | |
<BR> | |
<B>Deprecated.</B> <I></I> </TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#QueryImpl(org.apache.openjpa.persistence.EntityManagerImpl, org.apache.openjpa.util.RuntimeExceptionTranslator, org.apache.openjpa.kernel.Query)">QueryImpl</A></B>(<A HREF="../../../../org/apache/openjpa/persistence/EntityManagerImpl.html" title="class in org.apache.openjpa.persistence">EntityManagerImpl</A> em, | |
<A HREF="../../../../org/apache/openjpa/util/RuntimeExceptionTranslator.html" title="interface in org.apache.openjpa.util">RuntimeExceptionTranslator</A> ret, | |
<A HREF="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</A> query)</CODE> | |
<BR> | |
Constructor; supply factory exception translator and delegate.</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== METHOD SUMMARY =========== --> | |
<A NAME="method_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#addAggregateListener(org.apache.openjpa.kernel.exps.AggregateListener)">addAggregateListener</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/exps/AggregateListener.html" title="interface in org.apache.openjpa.kernel.exps">AggregateListener</A> listener)</CODE> | |
<BR> | |
Register an aggregate listener for the query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#addFilterListener(org.apache.openjpa.kernel.exps.FilterListener)">addFilterListener</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/exps/FilterListener.html" title="interface in org.apache.openjpa.kernel.exps">FilterListener</A> listener)</CODE> | |
<BR> | |
Register a filter listener for the query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#assertBound(javax.persistence.Parameter)">assertBound</A></B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> param)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#assertJPQLOrCriteriaQuery()">assertJPQLOrCriteriaQuery</A></B>()</CODE> | |
<BR> | |
Asserts that this query is a JPQL or Criteria Query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#assertValueAssignable(javax.persistence.Parameter, java.lang.Object)">assertValueAssignable</A></B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> param, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> v)</CODE> | |
<BR> | |
Convert the given value to match the given parameter type, if possible.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#bindValue(javax.persistence.Parameter, java.lang.Object)">bindValue</A></B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> param, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</CODE> | |
<BR> | |
Binds the given value to the given parameter.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#calculateMaxKey(java.util.Set)">calculateMaxKey</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>> p)</CODE> | |
<BR> | |
Calculate the maximum value of the given set.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#clearBinding()">clearBinding</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#closeAll()">closeAll</A></B>()</CODE> | |
<BR> | |
Close all open query results.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#compile()">compile</A></B>()</CODE> | |
<BR> | |
Compile the query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#convertTemporalType(java.util.Calendar, javax.persistence.TemporalType)">convertTemporalType</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#convertTemporalType(java.util.Date, javax.persistence.TemporalType)">convertTemporalType</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</CODE> | |
<BR> | |
Converts the given Date to a value corresponding to given temporal type.</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/openjpa/persistence/QueryImpl.html#declareParameter(java.lang.Object, javax.persistence.Parameter)">declareParameter</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> key, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> param)</CODE> | |
<BR> | |
Declares the given parameter for this query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</CODE> | |
<BR> | |
</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/openjpa/persistence/QueryImpl.html#executeUpdate()">executeUpdate</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><?></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getBoundParameterKeys()">getBoundParameterKeys</A></B>()</CODE> | |
<BR> | |
Gets the parameter keys bound with this query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><?></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getCandidateCollection()">getCandidateCollection</A></B>()</CODE> | |
<BR> | |
Return the candidate collection, or <code>null</code> if an | |
extent was specified instead of a collection.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getDataStoreActions(java.util.Map)">getDataStoreActions</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A> params)</CODE> | |
<BR> | |
Returns a description of the commands that will be sent to | |
the datastore in order to execute this query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><?></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getDeclaredParameterKeys()">getDeclaredParameterKeys</A></B>()</CODE> | |
<BR> | |
Gets the declared parameter keys in the given 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=""> | |
<TD NOWRAP><FONT SIZE="-1"> | |
<CODE><T> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><T></CODE></FONT></TD> | |
</TR> | |
</TABLE> | |
</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getDeclaredParameterKeys(java.lang.Class)">getDeclaredParameterKeys</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> keyType)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>,<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getDeclaredParameters()">getDeclaredParameters</A></B>()</CODE> | |
<BR> | |
Gets the parameter instances declared in this query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getDelegate()">getDelegate</A></B>()</CODE> | |
<BR> | |
Delegate.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManager</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getEntityManager()">getEntityManager</A></B>()</CODE> | |
<BR> | |
The owning entity manager.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/FetchPlan.html" title="interface in org.apache.openjpa.persistence">FetchPlan</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getFetchPlan()">getFetchPlan</A></B>()</CODE> | |
<BR> | |
Fetch plan for controlling the loading of results.</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/openjpa/persistence/QueryImpl.html#getFirstResult()">getFirstResult</A></B>()</CODE> | |
<BR> | |
Return the 0-based start index for the returned results.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/FlushModeType.html?is-external=true" title="class or interface in javax.persistence">FlushModeType</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getFlushMode()">getFlushMode</A></B>()</CODE> | |
<BR> | |
Return the current flush mode.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getHints()">getHints</A></B>()</CODE> | |
<BR> | |
Get all the active hints and their values.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getIgnoreChanges()">getIgnoreChanges</A></B>()</CODE> | |
<BR> | |
Whether to ignore changes in the current transaction.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getLanguage()">getLanguage</A></B>()</CODE> | |
<BR> | |
Query language.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/LockModeType.html?is-external=true" title="class or interface in javax.persistence">LockModeType</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getLockMode()">getLockMode</A></B>()</CODE> | |
<BR> | |
</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/openjpa/persistence/QueryImpl.html#getMaxResults()">getMaxResults</A></B>()</CODE> | |
<BR> | |
Return the maximum number of results to retrieve.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getNamedParameters()">getNamedParameters</A></B>()</CODE> | |
<BR> | |
Gets the value of all the named parameters.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/QueryOperationType.html" title="enum in org.apache.openjpa.persistence">QueryOperationType</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getOperation()">getOperation</A></B>()</CODE> | |
<BR> | |
Query operation type.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getParameter(int)">getParameter</A></B>(int pos)</CODE> | |
<BR> | |
Get the positional parameter with the given position.</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=""> | |
<TD NOWRAP><FONT SIZE="-1"> | |
<CODE><T> <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><T></CODE></FONT></TD> | |
</TR> | |
</TABLE> | |
</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getParameter(int, java.lang.Class)">getParameter</A></B>(int pos, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> type)</CODE> | |
<BR> | |
Get the positional parameter with the given position and type.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getParameter(java.lang.String)">getParameter</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> | |
<BR> | |
Get the parameter object corresponding to the declared parameter of the given name.</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=""> | |
<TD NOWRAP><FONT SIZE="-1"> | |
<CODE><T> <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><T></CODE></FONT></TD> | |
</TR> | |
</TABLE> | |
</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getParameter(java.lang.String, java.lang.Class)">getParameter</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> type)</CODE> | |
<BR> | |
Get the parameter of the given name and type.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getParameters()">getParameters</A></B>()</CODE> | |
<BR> | |
Gets the parameters declared in this query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getParameterValue(int)">getParameterValue</A></B>(int pos)</CODE> | |
<BR> | |
Return the value bound to the parameter.</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=""> | |
<TD NOWRAP><FONT SIZE="-1"> | |
<CODE><T> T</CODE></FONT></TD> | |
</TR> | |
</TABLE> | |
</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getParameterValue(javax.persistence.Parameter)">getParameterValue</A></B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><T> p)</CODE> | |
<BR> | |
Return the value bound to the parameter.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getParameterValue(java.lang.String)">getParameterValue</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> | |
<BR> | |
Return the value bound to the parameter.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>,<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getParameterValues()">getParameterValues</A></B>()</CODE> | |
<BR> | |
Gets a map of values of each parameter indexed by their <em>original</em> key.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getPositionalParameters()">getPositionalParameters</A></B>()</CODE> | |
<BR> | |
Gets the array of positional parameter values.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getQueryString()">getQueryString</A></B>()</CODE> | |
<BR> | |
Query string.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getRelaxBindParameterTypeChecking()">getRelaxBindParameterTypeChecking</A></B>()</CODE> | |
<BR> | |
Gets whether the type of user-supplied bind parameter value and the type of target persistent | |
property they bind to are checked with strong or weak constraint.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getResultClass()">getResultClass</A></B>()</CODE> | |
<BR> | |
Query result element type.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getResultList()">getResultList</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getSingleResult()">getSingleResult</A></B>()</CODE> | |
<BR> | |
Execute a query that returns a single result.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#getSupportedHints()">getSupportedHints</A></B>()</CODE> | |
<BR> | |
Gets hints supported by this query.</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/openjpa/persistence/QueryImpl.html#hashCode()">hashCode</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#hasPositionalParameters()">hasPositionalParameters</A></B>()</CODE> | |
<BR> | |
Affirms if declared parameters use position identifier.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#hasSubclasses()">hasSubclasses</A></B>()</CODE> | |
<BR> | |
Whether subclasses are included in the query results.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#ignorePreparedQuery()">ignorePreparedQuery</A></B>()</CODE> | |
<BR> | |
Ignores this query from PreparedQueryCache by recreating the original | |
query if it has been cached.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#invalidatePreparedQuery()">invalidatePreparedQuery</A></B>()</CODE> | |
<BR> | |
Remove this query from PreparedQueryCache.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#isBound(javax.persistence.Parameter)">isBound</A></B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> param)</CODE> | |
<BR> | |
Affirms if the given parameter is bound to a value for this query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#isNative()">isNative</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#lock()">lock</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#removeAggregateListener(org.apache.openjpa.kernel.exps.AggregateListener)">removeAggregateListener</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/exps/AggregateListener.html" title="interface in org.apache.openjpa.kernel.exps">AggregateListener</A> listener)</CODE> | |
<BR> | |
Remove an aggregate listener from the query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#removeFilterListener(org.apache.openjpa.kernel.exps.FilterListener)">removeFilterListener</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/exps/FilterListener.html" title="interface in org.apache.openjpa.kernel.exps">FilterListener</A> listener)</CODE> | |
<BR> | |
Remove a filter listener from the query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setCandidateCollection(java.util.Collection)">setCandidateCollection</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> coll)</CODE> | |
<BR> | |
Set a collection of candidates.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setFirstResult(int)">setFirstResult</A></B>(int startPosition)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setFlushMode(javax.persistence.FlushModeType)">setFlushMode</A></B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/FlushModeType.html?is-external=true" title="class or interface in javax.persistence">FlushModeType</A> flushMode)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setHint(java.lang.String, java.lang.Object)">setHint</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> key, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) <A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="class in org.apache.openjpa.persistence">QueryImpl</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setId(java.lang.String)">setId</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> id)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setIgnoreChanges(boolean)">setIgnoreChanges</A></B>(boolean ignore)</CODE> | |
<BR> | |
Whether to ignore changes in the current transaction.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setLockMode(javax.persistence.LockModeType)">setLockMode</A></B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/LockModeType.html?is-external=true" title="class or interface in javax.persistence">LockModeType</A> lockMode)</CODE> | |
<BR> | |
Sets lock mode on the given query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setMaxResults(int)">setMaxResults</A></B>(int max)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setParameter(int, java.util.Calendar, javax.persistence.TemporalType)">setParameter</A></B>(int position, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> t)</CODE> | |
<BR> | |
Sets the value of the given positional parameter after conversion of the | |
given value to the given Temporal Type.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setParameter(int, java.util.Date, javax.persistence.TemporalType)">setParameter</A></B>(int position, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</CODE> | |
<BR> | |
Sets the value of the given named parameter after conversion of the | |
given value to the given Temporal Type.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setParameter(int, java.lang.Object)">setParameter</A></B>(int pos, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</CODE> | |
<BR> | |
Binds the parameter identified by the given position to the given value.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setParameter(javax.persistence.Parameter, java.util.Calendar, javax.persistence.TemporalType)">setParameter</A></B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>> p, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> cal, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setParameter(javax.persistence.Parameter, java.util.Date, javax.persistence.TemporalType)">setParameter</A></B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>> p, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> date, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</CODE> | |
<BR> | |
</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=""> | |
<TD NOWRAP><FONT SIZE="-1"> | |
<CODE><T> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
</TR> | |
</TABLE> | |
</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setParameter(javax.persistence.Parameter, T)">setParameter</A></B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><T> p, | |
T arg1)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setParameter(java.lang.String, java.util.Calendar, javax.persistence.TemporalType)">setParameter</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setParameter(java.lang.String, java.util.Date, javax.persistence.TemporalType)">setParameter</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setParameter(java.lang.String, java.lang.Object)">setParameter</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</CODE> | |
<BR> | |
Sets the parameter of the given name to the given value.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setParameters(java.util.Map)">setParameters</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A> params)</CODE> | |
<BR> | |
Sets the values of the parameters from the given Map.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setParameters(java.lang.Object...)">setParameters</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... params)</CODE> | |
<BR> | |
Binds the given values as positional parameters.</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/openjpa/persistence/QueryImpl.html#setRelaxBindParameterTypeChecking(java.lang.Object)">setRelaxBindParameterTypeChecking</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</CODE> | |
<BR> | |
Sets whether the type of user-supplied bind parameter value and the type of target persistent | |
property they bind to are checked with strong or weak constraint.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setResultClass(java.lang.Class)">setResultClass</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls)</CODE> | |
<BR> | |
Query result element type.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#setSubclasses(boolean)">setSubclasses</A></B>(boolean subs)</CODE> | |
<BR> | |
Whether subclasses are included in the query results.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#toString()">toString</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#unlock()">unlock</A></B>()</CODE> | |
<BR> | |
</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=""> | |
<TD NOWRAP><FONT SIZE="-1"> | |
<CODE><T> T</CODE></FONT></TD> | |
</TR> | |
</TABLE> | |
</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#unwrap(java.lang.Class)">unwrap</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls)</CODE> | |
<BR> | |
Unwraps this receiver to an instance of the given class, if possible.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ========= CONSTRUCTOR DETAIL ======== --> | |
<A NAME="constructor_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="QueryImpl(org.apache.openjpa.persistence.EntityManagerImpl, org.apache.openjpa.util.RuntimeExceptionTranslator, org.apache.openjpa.kernel.Query)"><!-- --></A><H3> | |
QueryImpl</H3> | |
<PRE> | |
public <B>QueryImpl</B>(<A HREF="../../../../org/apache/openjpa/persistence/EntityManagerImpl.html" title="class in org.apache.openjpa.persistence">EntityManagerImpl</A> em, | |
<A HREF="../../../../org/apache/openjpa/util/RuntimeExceptionTranslator.html" title="interface in org.apache.openjpa.util">RuntimeExceptionTranslator</A> ret, | |
<A HREF="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</A> query)</PRE> | |
<DL> | |
<DD>Constructor; supply factory exception translator and delegate. | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>em</CODE> - The EntityManager which created this query<DD><CODE>ret</CODE> - Exception translator for this query<DD><CODE>query</CODE> - The underlying "kernel" query.</DL> | |
</DL> | |
<HR> | |
<A NAME="QueryImpl(org.apache.openjpa.persistence.EntityManagerImpl, org.apache.openjpa.kernel.Query)"><!-- --></A><H3> | |
QueryImpl</H3> | |
<PRE> | |
public <B>QueryImpl</B>(<A HREF="../../../../org/apache/openjpa/persistence/EntityManagerImpl.html" title="class in org.apache.openjpa.persistence">EntityManagerImpl</A> em, | |
<A HREF="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</A> query)</PRE> | |
<DL> | |
<DD><B>Deprecated.</B> <I></I> | |
<P> | |
<DD>Constructor; supply factory and delegate. | |
<P> | |
</DL> | |
<!-- ============ METHOD DETAIL ========== --> | |
<A NAME="method_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="getDelegate()"><!-- --></A><H3> | |
getDelegate</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</A> <B>getDelegate</B>()</PRE> | |
<DL> | |
<DD>Delegate. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getEntityManager()"><!-- --></A><H3> | |
getEntityManager</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManager</A> <B>getEntityManager</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getEntityManager()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>The owning entity manager. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getEntityManager()">getEntityManager</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getLanguage()"><!-- --></A><H3> | |
getLanguage</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getLanguage</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getLanguage()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Query language. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getLanguage()">getLanguage</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getOperation()"><!-- --></A><H3> | |
getOperation</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/QueryOperationType.html" title="enum in org.apache.openjpa.persistence">QueryOperationType</A> <B>getOperation</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getOperation()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Query operation type. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getOperation()">getOperation</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getFetchPlan()"><!-- --></A><H3> | |
getFetchPlan</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/FetchPlan.html" title="interface in org.apache.openjpa.persistence">FetchPlan</A> <B>getFetchPlan</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getFetchPlan()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Fetch plan for controlling the loading of results. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getFetchPlan()">getFetchPlan</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getQueryString()"><!-- --></A><H3> | |
getQueryString</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getQueryString</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getQueryString()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Query string. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getQueryString()">getQueryString</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getIgnoreChanges()"><!-- --></A><H3> | |
getIgnoreChanges</H3> | |
<PRE> | |
public boolean <B>getIgnoreChanges</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getIgnoreChanges()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Whether to ignore changes in the current transaction. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getIgnoreChanges()">getIgnoreChanges</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setIgnoreChanges(boolean)"><!-- --></A><H3> | |
setIgnoreChanges</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setIgnoreChanges</B>(boolean ignore)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setIgnoreChanges(boolean)">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Whether to ignore changes in the current transaction. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setIgnoreChanges(boolean)">setIgnoreChanges</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="addFilterListener(org.apache.openjpa.kernel.exps.FilterListener)"><!-- --></A><H3> | |
addFilterListener</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>addFilterListener</B>(<A HREF="../../../../org/apache/openjpa/kernel/exps/FilterListener.html" title="interface in org.apache.openjpa.kernel.exps">FilterListener</A> listener)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html#addFilterListener(org.apache.openjpa.kernel.exps.FilterListener)">OpenJPAQuerySPI</A></CODE></B></DD> | |
<DD>Register a filter listener for the query. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#addFilterListener(org.apache.openjpa.kernel.exps.FilterListener)">addFilterListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html#addFilterListener(org.apache.openjpa.kernel.exps.FilterListener)">addFilterListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuerySPI</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="removeFilterListener(org.apache.openjpa.kernel.exps.FilterListener)"><!-- --></A><H3> | |
removeFilterListener</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>removeFilterListener</B>(<A HREF="../../../../org/apache/openjpa/kernel/exps/FilterListener.html" title="interface in org.apache.openjpa.kernel.exps">FilterListener</A> listener)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html#removeFilterListener(org.apache.openjpa.kernel.exps.FilterListener)">OpenJPAQuerySPI</A></CODE></B></DD> | |
<DD>Remove a filter listener from the query. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#removeFilterListener(org.apache.openjpa.kernel.exps.FilterListener)">removeFilterListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html#removeFilterListener(org.apache.openjpa.kernel.exps.FilterListener)">removeFilterListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuerySPI</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="addAggregateListener(org.apache.openjpa.kernel.exps.AggregateListener)"><!-- --></A><H3> | |
addAggregateListener</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>addAggregateListener</B>(<A HREF="../../../../org/apache/openjpa/kernel/exps/AggregateListener.html" title="interface in org.apache.openjpa.kernel.exps">AggregateListener</A> listener)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html#addAggregateListener(org.apache.openjpa.kernel.exps.AggregateListener)">OpenJPAQuerySPI</A></CODE></B></DD> | |
<DD>Register an aggregate listener for the query. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#addAggregateListener(org.apache.openjpa.kernel.exps.AggregateListener)">addAggregateListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html#addAggregateListener(org.apache.openjpa.kernel.exps.AggregateListener)">addAggregateListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuerySPI</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="removeAggregateListener(org.apache.openjpa.kernel.exps.AggregateListener)"><!-- --></A><H3> | |
removeAggregateListener</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>removeAggregateListener</B>(<A HREF="../../../../org/apache/openjpa/kernel/exps/AggregateListener.html" title="interface in org.apache.openjpa.kernel.exps">AggregateListener</A> listener)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html#removeAggregateListener(org.apache.openjpa.kernel.exps.AggregateListener)">OpenJPAQuerySPI</A></CODE></B></DD> | |
<DD>Remove an aggregate listener from the query. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#removeAggregateListener(org.apache.openjpa.kernel.exps.AggregateListener)">removeAggregateListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html#removeAggregateListener(org.apache.openjpa.kernel.exps.AggregateListener)">removeAggregateListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuerySPI.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuerySPI</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getCandidateCollection()"><!-- --></A><H3> | |
getCandidateCollection</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><?> <B>getCandidateCollection</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getCandidateCollection()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Return the candidate collection, or <code>null</code> if an | |
extent was specified instead of a collection. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getCandidateCollection()">getCandidateCollection</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setCandidateCollection(java.util.Collection)"><!-- --></A><H3> | |
setCandidateCollection</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setCandidateCollection</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> coll)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setCandidateCollection(java.util.Collection)">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Set a collection of candidates. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setCandidateCollection(java.util.Collection)">setCandidateCollection</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getResultClass()"><!-- --></A><H3> | |
getResultClass</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> <B>getResultClass</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getResultClass()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Query result element type. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getResultClass()">getResultClass</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setResultClass(java.lang.Class)"><!-- --></A><H3> | |
setResultClass</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setResultClass</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setResultClass(java.lang.Class)">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Query result element type. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setResultClass(java.lang.Class)">setResultClass</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="hasSubclasses()"><!-- --></A><H3> | |
hasSubclasses</H3> | |
<PRE> | |
public boolean <B>hasSubclasses</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#hasSubclasses()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Whether subclasses are included in the query results. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#hasSubclasses()">hasSubclasses</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setSubclasses(boolean)"><!-- --></A><H3> | |
setSubclasses</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setSubclasses</B>(boolean subs)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setSubclasses(boolean)">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Whether subclasses are included in the query results. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setSubclasses(boolean)">setSubclasses</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getFirstResult()"><!-- --></A><H3> | |
getFirstResult</H3> | |
<PRE> | |
public int <B>getFirstResult</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getFirstResult()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Return the 0-based start index for the returned results. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getFirstResult()" title="class or interface in javax.persistence">getFirstResult</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getFirstResult()">getFirstResult</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setFirstResult(int)"><!-- --></A><H3> | |
setFirstResult</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setFirstResult</B>(int startPosition)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setFirstResult(int)" title="class or interface in javax.persistence">setFirstResult</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setFirstResult(int)" title="class or interface in javax.persistence">setFirstResult</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setFirstResult(int)">setFirstResult</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getMaxResults()"><!-- --></A><H3> | |
getMaxResults</H3> | |
<PRE> | |
public int <B>getMaxResults</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getMaxResults()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Return the maximum number of results to retrieve. | |
or <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><CODE>Integer.MAX_VALUE</CODE></A> for no limit. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getMaxResults()" title="class or interface in javax.persistence">getMaxResults</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getMaxResults()">getMaxResults</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setMaxResults(int)"><!-- --></A><H3> | |
setMaxResults</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setMaxResults</B>(int max)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setMaxResults(int)" title="class or interface in javax.persistence">setMaxResults</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setMaxResults(int)" title="class or interface in javax.persistence">setMaxResults</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setMaxResults(int)">setMaxResults</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getRelaxBindParameterTypeChecking()"><!-- --></A><H3> | |
getRelaxBindParameterTypeChecking</H3> | |
<PRE> | |
public boolean <B>getRelaxBindParameterTypeChecking</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getRelaxBindParameterTypeChecking()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Gets whether the type of user-supplied bind parameter value and the type of target persistent | |
property they bind to are checked with strong or weak constraint. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getRelaxBindParameterTypeChecking()">getRelaxBindParameterTypeChecking</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the booelan state. False by default, i.e. the type of a bind parameter value is checked | |
strongly against the target property type.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setRelaxBindParameterTypeChecking(java.lang.Object)"><!-- --></A><H3> | |
setRelaxBindParameterTypeChecking</H3> | |
<PRE> | |
public void <B>setRelaxBindParameterTypeChecking</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setRelaxBindParameterTypeChecking(java.lang.Object)">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Sets whether the type of user-supplied bind parameter value and the type of target persistent | |
property they bind to are checked with strong or weak constraint. | |
<br> | |
The same can be set via <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setHint(java.lang.String, java.lang.Object)" title="class or interface in javax.persistence"><CODE>hint</CODE></A> without puncturing standard | |
JPA API. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setRelaxBindParameterTypeChecking(java.lang.Object)">setRelaxBindParameterTypeChecking</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>value</CODE> - a String or Boolean value.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/kernel/Filters.html#canConvert(java.lang.Class, java.lang.Class, boolean)"><CODE>Filters.canConvert(Class, Class, boolean)</CODE></A>, | |
<A HREF="../../../../org/apache/openjpa/kernel/Filters.html#convert(java.lang.Object, java.lang.Class, boolean)"><CODE>Filters.convert(Object, Class, boolean)</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="compile()"><!-- --></A><H3> | |
compile</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>compile</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#compile()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Compile the query. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#compile()">compile</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getParameterValues()"><!-- --></A><H3> | |
getParameterValues</H3> | |
<PRE> | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>,<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getParameterValues</B>()</PRE> | |
<DL> | |
<DD>Gets a map of values of each parameter indexed by their <em>original</em> key. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>an empty map if no parameter is declared for this query. | |
The unbound parameters has a value of null which is indistinguishable | |
from the value being bound to null.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getResultList()"><!-- --></A><H3> | |
getResultList</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> <B>getResultList</B>()</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getResultList()" title="class or interface in javax.persistence">getResultList</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#getResultList()" title="class or interface in javax.persistence">getResultList</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getSingleResult()"><!-- --></A><H3> | |
getSingleResult</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A> <B>getSingleResult</B>()</PRE> | |
<DL> | |
<DD>Execute a query that returns a single result. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getSingleResult()" title="class or interface in javax.persistence">getSingleResult</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#getSingleResult()" title="class or interface in javax.persistence">getSingleResult</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="executeUpdate()"><!-- --></A><H3> | |
executeUpdate</H3> | |
<PRE> | |
public int <B>executeUpdate</B>()</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#executeUpdate()" title="class or interface in javax.persistence">executeUpdate</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getFlushMode()"><!-- --></A><H3> | |
getFlushMode</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/FlushModeType.html?is-external=true" title="class or interface in javax.persistence">FlushModeType</A> <B>getFlushMode</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getFlushMode()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Return the current flush mode. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getFlushMode()" title="class or interface in javax.persistence">getFlushMode</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getFlushMode()">getFlushMode</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setFlushMode(javax.persistence.FlushModeType)"><!-- --></A><H3> | |
setFlushMode</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setFlushMode</B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/FlushModeType.html?is-external=true" title="class or interface in javax.persistence">FlushModeType</A> flushMode)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setFlushMode(javax.persistence.FlushModeType)" title="class or interface in javax.persistence">setFlushMode</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setFlushMode(javax.persistence.FlushModeType)" title="class or interface in javax.persistence">setFlushMode</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setFlushMode(javax.persistence.FlushModeType)">setFlushMode</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isNative()"><!-- --></A><H3> | |
isNative</H3> | |
<PRE> | |
public boolean <B>isNative</B>()</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="assertJPQLOrCriteriaQuery()"><!-- --></A><H3> | |
assertJPQLOrCriteriaQuery</H3> | |
<PRE> | |
void <B>assertJPQLOrCriteriaQuery</B>()</PRE> | |
<DL> | |
<DD>Asserts that this query is a JPQL or Criteria Query. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="closeAll()"><!-- --></A><H3> | |
closeAll</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>closeAll</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#closeAll()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Close all open query results. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#closeAll()">closeAll</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDataStoreActions(java.util.Map)"><!-- --></A><H3> | |
getDataStoreActions</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>getDataStoreActions</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A> params)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getDataStoreActions(java.util.Map)">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Returns a description of the commands that will be sent to | |
the datastore in order to execute this query. This will | |
typically be in the native query language of the database (e.g., SQL). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getDataStoreActions(java.util.Map)">getDataStoreActions</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>params</CODE> - the named parameter map for the query invocation</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getLockMode()"><!-- --></A><H3> | |
getLockMode</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/LockModeType.html?is-external=true" title="class or interface in javax.persistence">LockModeType</A> <B>getLockMode</B>()</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getLockMode()" title="class or interface in javax.persistence">getLockMode</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setLockMode(javax.persistence.LockModeType)"><!-- --></A><H3> | |
setLockMode</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setLockMode</B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/LockModeType.html?is-external=true" title="class or interface in javax.persistence">LockModeType</A> lockMode)</PRE> | |
<DL> | |
<DD>Sets lock mode on the given query. | |
If the target query has been prepared and cached, then ignores the cached version. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setLockMode(javax.persistence.LockModeType)" title="class or interface in javax.persistence">setLockMode</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setLockMode(javax.persistence.LockModeType)" title="class or interface in javax.persistence">setLockMode</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html#ignorePreparedQuery()"><CODE>ignorePreparedQuery()</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="hashCode()"><!-- --></A><H3> | |
hashCode</H3> | |
<PRE> | |
public int <B>hashCode</B>()</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="equals(java.lang.Object)"><!-- --></A><H3> | |
equals</H3> | |
<PRE> | |
public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getHints()"><!-- --></A><H3> | |
getHints</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getHints</B>()</PRE> | |
<DL> | |
<DD>Get all the active hints and their values. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getHints()" title="class or interface in javax.persistence">getHints</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setHint(java.lang.String, java.lang.Object)"><!-- --></A><H3> | |
setHint</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setHint</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> key, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setHint(java.lang.String, java.lang.Object)" title="class or interface in javax.persistence">setHint</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setHint(java.lang.String, java.lang.Object)" title="class or interface in javax.persistence">setHint</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setHint(java.lang.String, java.lang.Object)">setHint</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getSupportedHints()"><!-- --></A><H3> | |
getSupportedHints</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>getSupportedHints</B>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getSupportedHints()">OpenJPAQuery</A></CODE></B></DD> | |
<DD>Gets hints supported by this query. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getSupportedHints()">getSupportedHints</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="unwrap(java.lang.Class)"><!-- --></A><H3> | |
unwrap</H3> | |
<PRE> | |
public <T> T <B>unwrap</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls)</PRE> | |
<DL> | |
<DD>Unwraps this receiver to an instance of the given class, if possible. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#unwrap(java.lang.Class)" title="class or interface in javax.persistence">unwrap</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Throws:</B> | |
<DD><CODE>if</CODE> - the given class is null, generic <code>Object.class</code> or a class | |
that is not wrapped by this receiver.<DT><B>Since:</B></DT> | |
<DD>2.0.0</DD> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="invalidatePreparedQuery()"><!-- --></A><H3> | |
invalidatePreparedQuery</H3> | |
<PRE> | |
boolean <B>invalidatePreparedQuery</B>()</PRE> | |
<DL> | |
<DD>Remove this query from PreparedQueryCache. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="ignorePreparedQuery()"><!-- --></A><H3> | |
ignorePreparedQuery</H3> | |
<PRE> | |
void <B>ignorePreparedQuery</B>()</PRE> | |
<DL> | |
<DD>Ignores this query from PreparedQueryCache by recreating the original | |
query if it has been cached. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setId(java.lang.String)"><!-- --></A><H3> | |
setId</H3> | |
<PRE> | |
<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="class in org.apache.openjpa.persistence">QueryImpl</A> <B>setId</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> id)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="lock()"><!-- --></A><H3> | |
lock</H3> | |
<PRE> | |
void <B>lock</B>()</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="unlock()"><!-- --></A><H3> | |
unlock</H3> | |
<PRE> | |
void <B>unlock</B>()</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setParameter(int, java.lang.Object)"><!-- --></A><H3> | |
setParameter</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setParameter</B>(int pos, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</PRE> | |
<DL> | |
<DD>Binds the parameter identified by the given position to the given value. | |
The parameter are bound to a value in the context of this query. | |
The same parameter may be bound to a different value in the context of | |
another query. | |
<br> | |
For non-native queries, the given position must be a valid position in | |
the declared parameters. | |
<br> | |
As native queries may not be parsed and hence their declared parameters | |
may not be known, setting an positional parameter has the side-effect | |
of a positional parameter being declared. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setParameter(int, java.lang.Object)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setParameter(int, java.lang.Object)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setParameter(int, java.lang.Object)">setParameter</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>position</CODE> - positive, integer position of the parameter<DD><CODE>value</CODE> - an assignment compatible value | |
<DT><B>Returns:</B><DD>the same query instance | |
<DT><B>Throws:</B> | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if position does not correspond to a positional | |
parameter of the query or if the argument is of incorrect type</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setParameter(int, java.util.Calendar, javax.persistence.TemporalType)"><!-- --></A><H3> | |
setParameter</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setParameter</B>(int position, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> t)</PRE> | |
<DL> | |
<DD>Sets the value of the given positional parameter after conversion of the | |
given value to the given Temporal Type. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setParameter(int, java.util.Calendar, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setParameter(int, java.util.Calendar, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setParameter(int, java.util.Calendar, javax.persistence.TemporalType)">setParameter</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setParameter(int, java.util.Date, javax.persistence.TemporalType)"><!-- --></A><H3> | |
setParameter</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setParameter</B>(int position, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</PRE> | |
<DL> | |
<DD>Sets the value of the given named parameter after conversion of the | |
given value to the given Temporal Type. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setParameter(int, java.util.Date, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setParameter(int, java.util.Date, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setParameter(int, java.util.Date, javax.persistence.TemporalType)">setParameter</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="convertTemporalType(java.util.Date, javax.persistence.TemporalType)"><!-- --></A><H3> | |
convertTemporalType</H3> | |
<PRE> | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>convertTemporalType</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</PRE> | |
<DL> | |
<DD>Converts the given Date to a value corresponding to given temporal type. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="convertTemporalType(java.util.Calendar, javax.persistence.TemporalType)"><!-- --></A><H3> | |
convertTemporalType</H3> | |
<PRE> | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>convertTemporalType</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="hasPositionalParameters()"><!-- --></A><H3> | |
hasPositionalParameters</H3> | |
<PRE> | |
public boolean <B>hasPositionalParameters</B>()</PRE> | |
<DL> | |
<DD>Affirms if declared parameters use position identifier. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#hasPositionalParameters()">hasPositionalParameters</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getPositionalParameters()"><!-- --></A><H3> | |
getPositionalParameters</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>getPositionalParameters</B>()</PRE> | |
<DL> | |
<DD>Gets the array of positional parameter values. | |
The n-th array element represents (n+1)-th positional parameter. | |
If a parameter has been declared but not bound to a value then | |
the value is null and hence is indistinguishable from the value | |
being actually null. | |
If the parameter indexing is not contiguous then the unspecified | |
parameters are considered as null. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getPositionalParameters()">getPositionalParameters</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="calculateMaxKey(java.util.Set)"><!-- --></A><H3> | |
calculateMaxKey</H3> | |
<PRE> | |
int <B>calculateMaxKey</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>> p)</PRE> | |
<DL> | |
<DD>Calculate the maximum value of the given set. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setParameters(java.lang.Object...)"><!-- --></A><H3> | |
setParameters</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setParameters</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... params)</PRE> | |
<DL> | |
<DD>Binds the given values as positional parameters. | |
The n-th array element value is set to a Parameter with (n+1)-th positional identifier. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setParameters(java.lang.Object...)">setParameters</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="clearBinding()"><!-- --></A><H3> | |
clearBinding</H3> | |
<PRE> | |
void <B>clearBinding</B>()</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNamedParameters()"><!-- --></A><H3> | |
getNamedParameters</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getNamedParameters</B>()</PRE> | |
<DL> | |
<DD>Gets the value of all the named parameters. | |
If a parameter has been declared but not bound to a value then | |
the value is null and hence is indistinguishable from the value | |
being actually null. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#getNamedParameters()">getNamedParameters</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setParameters(java.util.Map)"><!-- --></A><H3> | |
setParameters</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setParameters</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A> params)</PRE> | |
<DL> | |
<DD>Sets the values of the parameters from the given Map. | |
The keys of the given map designate the name of the declared parameter. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setParameters(java.util.Map)">setParameters</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getParameter(java.lang.String, java.lang.Class)"><!-- --></A><H3> | |
getParameter</H3> | |
<PRE> | |
public <T> <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><T> <B>getParameter</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> type)</PRE> | |
<DL> | |
<DD>Get the parameter of the given name and type. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getParameter(java.lang.String, java.lang.Class)" title="class or interface in javax.persistence">getParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Throws:</B> | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the parameter of the | |
specified name does not exist or is not assignable | |
to the type | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if invoked on a native query</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getParameter(int, java.lang.Class)"><!-- --></A><H3> | |
getParameter</H3> | |
<PRE> | |
public <T> <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><T> <B>getParameter</B>(int pos, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> type)</PRE> | |
<DL> | |
<DD>Get the positional parameter with the given position and type. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getParameter(int, java.lang.Class)" title="class or interface in javax.persistence">getParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Throws:</B> | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the parameter with the | |
specified position does not exist or is not assignable | |
to the type | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if invoked on a native query unless | |
the same parameter position is bound already.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getParameterValue(javax.persistence.Parameter)"><!-- --></A><H3> | |
getParameterValue</H3> | |
<PRE> | |
public <T> T <B>getParameterValue</B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><T> p)</PRE> | |
<DL> | |
<DD>Return the value bound to the parameter. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getParameterValue(javax.persistence.Parameter)" title="class or interface in javax.persistence">getParameterValue</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>param</CODE> - parameter object | |
<DT><B>Returns:</B><DD>parameter value | |
<DT><B>Throws:</B> | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the parameter has not been been bound | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the parameter does not belong to this query</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getParameters()"><!-- --></A><H3> | |
getParameters</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?>> <B>getParameters</B>()</PRE> | |
<DL> | |
<DD>Gets the parameters declared in this query. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getParameters()" title="class or interface in javax.persistence">getParameters</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setParameter(javax.persistence.Parameter,java.lang.Object)"><!-- --></A><A NAME="setParameter(javax.persistence.Parameter, T)"><!-- --></A><H3> | |
setParameter</H3> | |
<PRE> | |
public <T> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setParameter</B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><T> p, | |
T arg1)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setParameter(javax.persistence.Parameter, T)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setParameter(javax.persistence.Parameter, T)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setParameter(javax.persistence.Parameter, java.util.Date, javax.persistence.TemporalType)"><!-- --></A><H3> | |
setParameter</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setParameter</B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>> p, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> date, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setParameter(javax.persistence.Parameter, java.util.Date, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setParameter(javax.persistence.Parameter, java.util.Date, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setParameter(javax.persistence.Parameter, java.util.Calendar, javax.persistence.TemporalType)"><!-- --></A><H3> | |
setParameter</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setParameter</B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>> p, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> cal, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setParameter(javax.persistence.Parameter, java.util.Calendar, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setParameter(javax.persistence.Parameter, java.util.Calendar, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getParameter(java.lang.String)"><!-- --></A><H3> | |
getParameter</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> <B>getParameter</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> | |
<DL> | |
<DD>Get the parameter object corresponding to the declared parameter of the given name. | |
This method is not required to be supported for native queries. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getParameter(java.lang.String)" title="class or interface in javax.persistence">getParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Throws:</B> | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the parameter of the specified name does not exist | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if invoked on a native query</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getParameter(int)"><!-- --></A><H3> | |
getParameter</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> <B>getParameter</B>(int pos)</PRE> | |
<DL> | |
<DD>Get the positional parameter with the given position. | |
The parameter may just have been declared and not bound to a value. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getParameter(int)" title="class or interface in javax.persistence">getParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>position</CODE> - specified in the user query. | |
<DT><B>Returns:</B><DD>parameter object | |
<DT><B>Throws:</B> | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the parameter with the given position does not exist</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getParameterValue(java.lang.String)"><!-- --></A><H3> | |
getParameterValue</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getParameterValue</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> | |
<DL> | |
<DD>Return the value bound to the parameter. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getParameterValue(java.lang.String)" title="class or interface in javax.persistence">getParameterValue</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>name</CODE> - name of the parameter | |
<DT><B>Returns:</B><DD>parameter value | |
<DT><B>Throws:</B> | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this parameter has not been bound</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getParameterValue(int)"><!-- --></A><H3> | |
getParameterValue</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getParameterValue</B>(int pos)</PRE> | |
<DL> | |
<DD>Return the value bound to the parameter. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#getParameterValue(int)" title="class or interface in javax.persistence">getParameterValue</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>pos</CODE> - position of the parameter | |
<DT><B>Returns:</B><DD>parameter value | |
<DT><B>Throws:</B> | |
<DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this parameter has not been bound</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getBoundParameterKeys()"><!-- --></A><H3> | |
getBoundParameterKeys</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><?> <B>getBoundParameterKeys</B>()</PRE> | |
<DL> | |
<DD>Gets the parameter keys bound with this query. | |
Parameter key can be Integer, String or a ParameterExpression itself | |
but all parameters keys of a particular query are of the same type. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDeclaredParameterKeys()"><!-- --></A><H3> | |
getDeclaredParameterKeys</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><?> <B>getDeclaredParameterKeys</B>()</PRE> | |
<DL> | |
<DD>Gets the declared parameter keys in the given query. | |
This information is only available after the query has been parsed. | |
As native language queries are not parsed, this information is not available for them. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>set of parameter identifiers in a parsed query</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDeclaredParameterKeys(java.lang.Class)"><!-- --></A><H3> | |
getDeclaredParameterKeys</H3> | |
<PRE> | |
public <T> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><T> <B>getDeclaredParameterKeys</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> keyType)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDeclaredParameters()"><!-- --></A><H3> | |
getDeclaredParameters</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>,<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?>> <B>getDeclaredParameters</B>()</PRE> | |
<DL> | |
<DD>Gets the parameter instances declared in this query. | |
All parameter keys are of the same type. It is not allowed to mix keys of different type | |
such as named and positional keys. | |
For string-based queries, the parser supplies the information about the declared parameters | |
as a LinkedMap of expected parameter value type indexed by parameter identifier. | |
For non string-based queries that a facade itself may construct (e.g. CriteriaQuery), | |
the parameters must be declared by the caller. | |
This receiver constructs concrete Parameter instances from the given parameter identifiers. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>a Map where the key represents the original identifier of the parameter (can be a String, | |
Integer or a ParameterExpression itself) and the value is the concrete Parameter instance | |
either constructed as a result of this call or supplied by declaring the parameter explicitly | |
via #declareParameter(Parameter).</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="declareParameter(java.lang.Object, javax.persistence.Parameter)"><!-- --></A><H3> | |
declareParameter</H3> | |
<PRE> | |
public void <B>declareParameter</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> key, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> param)</PRE> | |
<DL> | |
<DD>Declares the given parameter for this query. | |
Used by non-string based queries that are constructed by the facade itself rather than | |
OpenJPA parsing the query to detect the declared parameters. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>key</CODE> - this is the key to identify the parameter later in the context of this query. | |
Valid key types are Integer, String or ParameterExpression itself.<DD><CODE>the</CODE> - parameter instance to be declared</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isBound(javax.persistence.Parameter)"><!-- --></A><H3> | |
isBound</H3> | |
<PRE> | |
public boolean <B>isBound</B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> param)</PRE> | |
<DL> | |
<DD>Affirms if the given parameter is bound to a value for this query. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#isBound(javax.persistence.Parameter)" title="class or interface in javax.persistence">isBound</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="assertBound(javax.persistence.Parameter)"><!-- --></A><H3> | |
assertBound</H3> | |
<PRE> | |
void <B>assertBound</B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> param)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="bindValue(javax.persistence.Parameter, java.lang.Object)"><!-- --></A><H3> | |
bindValue</H3> | |
<PRE> | |
void <B>bindValue</B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> param, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</PRE> | |
<DL> | |
<DD>Binds the given value to the given parameter. | |
Validates if the parameter can accept the value by its type. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setParameter(java.lang.String, java.util.Calendar, javax.persistence.TemporalType)"><!-- --></A><H3> | |
setParameter</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setParameter</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setParameter(java.lang.String, java.util.Calendar, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setParameter(java.lang.String, java.util.Calendar, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setParameter(java.lang.String, java.util.Calendar, javax.persistence.TemporalType)">setParameter</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setParameter(java.lang.String, java.util.Date, javax.persistence.TemporalType)"><!-- --></A><H3> | |
setParameter</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setParameter</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> value, | |
<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TemporalType.html?is-external=true" title="class or interface in javax.persistence">TemporalType</A> type)</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setParameter(java.lang.String, java.util.Date, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setParameter(java.lang.String, java.util.Date, javax.persistence.TemporalType)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setParameter(java.lang.String, java.util.Date, javax.persistence.TemporalType)">setParameter</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setParameter(java.lang.String, java.lang.Object)"><!-- --></A><H3> | |
setParameter</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>> <B>setParameter</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</PRE> | |
<DL> | |
<DD>Sets the parameter of the given name to the given value. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true#setParameter(java.lang.String, java.lang.Object)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true#setParameter(java.lang.String, java.lang.Object)" title="class or interface in javax.persistence">setParameter</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TypedQuery.html?is-external=true" title="class or interface in javax.persistence">TypedQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html#setParameter(java.lang.String, java.lang.Object)">setParameter</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A><<A HREF="../../../../org/apache/openjpa/persistence/QueryImpl.html" title="type parameter in QueryImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="assertValueAssignable(javax.persistence.Parameter, java.lang.Object)"><!-- --></A><H3> | |
assertValueAssignable</H3> | |
<PRE> | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>assertValueAssignable</B>(<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/Parameter.html?is-external=true" title="class or interface in javax.persistence">Parameter</A><?> param, | |
<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> v)</PRE> | |
<DL> | |
<DD>Convert the given value to match the given parameter type, if possible. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>param</CODE> - a query parameter<DD><CODE>v</CODE> - a user-supplied value for the parameter</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="toString()"><!-- --></A><H3> | |
toString</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE> | |
<DL> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> | |
</DD> | |
<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=2 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> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QueryImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="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" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../org/apache/openjpa/persistence/PessimisticLockException.html" title="class in org.apache.openjpa.persistence"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/openjpa/persistence/QueryOperationType.html" title="enum in org.apache.openjpa.persistence"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/openjpa/persistence/QueryImpl.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="QueryImpl.html" target="_top"><B>NO FRAMES</B></A> | |
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
Copyright © 2006-2011 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. | |
</BODY> | |
</HTML> |