| <!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_65) on Mon Jun 01 22:44:04 CEST 2015 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| OpenJPAEntityManager (OpenJPA Parent POM 2.4.0 API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2015-06-01"> |
| |
| <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="OpenJPAEntityManager (OpenJPA Parent POM 2.4.0 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/OpenJPAEntityManager.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/NoResultException.html" title="class in org.apache.openjpa.persistence"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerFactory.html" title="interface 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/OpenJPAEntityManager.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="OpenJPAEntityManager.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 | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <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> |
| Interface OpenJPAEntityManager</H2> |
| <DL> |
| <DT><B>All Superinterfaces:</B> <DD><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true" title="class or interface in javax.persistence">EntityTransaction</A></DD> |
| </DL> |
| <DL> |
| <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerSPI</A></DD> |
| </DL> |
| <DL> |
| <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/openjpa/persistence/EntityManagerImpl.html" title="class in org.apache.openjpa.persistence">EntityManagerImpl</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public interface <B>OpenJPAEntityManager</B><DT>extends <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true" title="class or interface in javax.persistence">EntityTransaction</A></DL> |
| </PRE> |
| |
| <P> |
| Interface implemented by OpenJPA entity managers. |
| |
| This interface extends <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true" title="class or interface in javax.persistence"><CODE>EntityTransaction</CODE></A>, but this extension is |
| deprecated. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.4.0</DD> |
| <DT><B>Author:</B></DT> |
| <DD>Abe White</DD> |
| </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> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#CALLBACK_FAIL_FAST">CALLBACK_FAIL_FAST</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/CallbackMode.html" title="enum in org.apache.openjpa.persistence"><CODE>CallbackMode</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#CALLBACK_IGNORE">CALLBACK_IGNORE</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/CallbackMode.html" title="enum in org.apache.openjpa.persistence"><CODE>CallbackMode</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#CALLBACK_LOG">CALLBACK_LOG</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/CallbackMode.html" title="enum in org.apache.openjpa.persistence"><CODE>CallbackMode</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#CALLBACK_RETHROW">CALLBACK_RETHROW</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/CallbackMode.html" title="enum in org.apache.openjpa.persistence"><CODE>CallbackMode</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#CALLBACK_ROLLBACK">CALLBACK_ROLLBACK</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/CallbackMode.html" title="enum in org.apache.openjpa.persistence"><CODE>CallbackMode</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#CLEAR_ALL">CLEAR_ALL</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoClearType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoClearType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#CLEAR_DATASTORE">CLEAR_DATASTORE</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoClearType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoClearType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#CONN_RETAIN_ALWAYS">CONN_RETAIN_ALWAYS</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><CODE>ConnectionRetainMode</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#CONN_RETAIN_DEMAND">CONN_RETAIN_DEMAND</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><CODE>ConnectionRetainMode</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#CONN_RETAIN_TRANS">CONN_RETAIN_TRANS</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><CODE>ConnectionRetainMode</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#DETACH_ALL">DETACH_ALL</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>DetachStateType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#DETACH_CLOSE">DETACH_CLOSE</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#DETACH_COMMIT">DETACH_COMMIT</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#DETACH_FETCH_GROUPS">DETACH_FETCH_GROUPS</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>DetachStateType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#DETACH_FGS">DETACH_FGS</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>DetachStateType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#DETACH_LOADED">DETACH_LOADED</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>DetachStateType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#DETACH_NONTXREAD">DETACH_NONTXREAD</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#DETACH_ROLLBACK">DETACH_ROLLBACK</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#RESTORE_ALL">RESTORE_ALL</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>RestoreStateType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#RESTORE_IMMUTABLE">RESTORE_IMMUTABLE</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>RestoreStateType</CODE></A> enum instead.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#RESTORE_NONE">RESTORE_NONE</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>RestoreStateType</CODE></A> enum instead.</I></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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#addLifecycleListener(java.lang.Object, java.lang.Class...)">addLifecycleListener</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>... classes)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I></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/OpenJPAEntityManager.html#addTransactionListener(java.lang.Object)">addTransactionListener</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I></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/OpenJPAEntityManager.html#begin()">begin</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#begin()" title="class or interface in javax.persistence"><CODE>EntityTransaction.begin()</CODE></A> |
| instead: <code>em.getTransaction().begin()</code></I></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/OpenJPAEntityManager.html#beginStore()">beginStore</A></B>()</CODE> |
| |
| <BR> |
| Begins a store transaction if one isn't already started.</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/OpenJPAEntityManager.html#cancelAll()">cancelAll</A></B>()</CODE> |
| |
| <BR> |
| Cancel all pending data store statements.</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/OpenJPAEntityManager.html#commit()">commit</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#commit()" title="class or interface in javax.persistence"><CODE>EntityTransaction.commit()</CODE></A> |
| instead: <code>em.getTransaction().commit()</code></I></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/OpenJPAEntityManager.html#commitAndResume()">commitAndResume</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityTransaction.html#commitAndResume()"><CODE>OpenJPAEntityTransaction.commitAndResume()</CODE></A> instead: |
| <code>em.getTransaction().commitAndResume()</code></I></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/OpenJPAEntityManager.html#containsAll(java.util.Collection)">containsAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</CODE> |
| |
| <BR> |
| Whether the given objects are managed.</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/OpenJPAEntityManager.html#containsAll(java.lang.Object...)">containsAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</CODE> |
| |
| <BR> |
| Whether the given objects are managed.</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></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#createDynamicQuery(org.apache.openjpa.persistence.query.QueryDefinition)">createDynamicQuery</A></B>(<A HREF="../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> dynamic)</CODE> |
| |
| <BR> |
| Create an executable query from a dynamically defined 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="../../../../org/apache/openjpa/persistence/Extent.html" title="interface in org.apache.openjpa.persistence">Extent</A><T></CODE></FONT></TD> |
| </TR> |
| </TABLE> |
| </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#createExtent(java.lang.Class, boolean)">createExtent</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls, |
| boolean subs)</CODE> |
| |
| <BR> |
| Return an extent of the given class, optionally including subclasses.</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/OpenJPAEntityManager.html#createInstance(java.lang.Class)">createInstance</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls)</CODE> |
| |
| <BR> |
| Create a new instance of type <code>cls</code>.</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></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#createNamedQuery(java.lang.String)">createNamedQuery</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</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></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#createNativeQuery(java.lang.String)">createNativeQuery</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sql)</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></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#createNativeQuery(java.lang.String, java.lang.Class)">createNativeQuery</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sql, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> resultClass)</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></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#createNativeQuery(java.lang.String, java.lang.String)">createNativeQuery</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sql, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> resultMapping)</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></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#createQuery(javax.persistence.Query)">createQuery</A></B>(<A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A> query)</CODE> |
| |
| <BR> |
| Create a new query from the given one.</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></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#createQuery(java.lang.String)">createQuery</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> query)</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></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#createQuery(java.lang.String, java.lang.String)">createQuery</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> language, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> query)</CODE> |
| |
| <BR> |
| Create a new query in the given language.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#detachAll(java.util.Collection)">detachAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</CODE> |
| |
| <BR> |
| Detach the specified objects from the entity manager.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#detachAll(java.lang.Object...)">detachAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</CODE> |
| |
| <BR> |
| Detach the specified objects from the entity manager.</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/OpenJPAEntityManager.html#detachCopy(T)">detachCopy</A></B>(T pc)</CODE> |
| |
| <BR> |
| Detach the specified object from the entity manager, detaching based on |
| the AutoDetach value specified and returning a copy of the detached |
| entity.</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/OpenJPAEntityManager.html#dirty(java.lang.Object, java.lang.String)">dirty</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> field)</CODE> |
| |
| <BR> |
| Make the named field of the given object dirty.</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/OpenJPAEntityManager.html#dirtyClass(java.lang.Class)">dirtyClass</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls)</CODE> |
| |
| <BR> |
| Mark the given class as dirty within the current transaction.</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/OpenJPAEntityManager.html#evict(java.lang.Object)">evict</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</CODE> |
| |
| <BR> |
| Evict the given object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#evictAll()">evictAll</A></B>()</CODE> |
| |
| <BR> |
| Evict all clean objects.</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/OpenJPAEntityManager.html#evictAll(java.lang.Class)">evictAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls)</CODE> |
| |
| <BR> |
| Evict all persistent-clean and persistent-nontransactional |
| instances in the extent of the given class (including subclasses).</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/OpenJPAEntityManager.html#evictAll(java.util.Collection)">evictAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</CODE> |
| |
| <BR> |
| Evict the given objects.</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/OpenJPAEntityManager.html#evictAll(org.apache.openjpa.persistence.Extent)">evictAll</A></B>(<A HREF="../../../../org/apache/openjpa/persistence/Extent.html" title="interface in org.apache.openjpa.persistence">Extent</A> extent)</CODE> |
| |
| <BR> |
| Evict all persistent-clean and persistent-nontransactional |
| instances in the given <A HREF="../../../../org/apache/openjpa/persistence/Extent.html" title="interface in org.apache.openjpa.persistence"><CODE>Extent</CODE></A>.</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/OpenJPAEntityManager.html#evictAll(java.lang.Object...)">evictAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</CODE> |
| |
| <BR> |
| Evict the given objects.</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://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><T></CODE></FONT></TD> |
| </TR> |
| </TABLE> |
| </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#findAll(java.lang.Class, java.util.Collection)">findAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> oids)</CODE> |
| |
| <BR> |
| Return the objects with the given oids.</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/OpenJPAEntityManager.html#findAll(java.lang.Class, java.lang.Object...)">findAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... oids)</CODE> |
| |
| <BR> |
| Return the objects with the given oids.</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/OpenJPAEntityManager.html#findCached(java.lang.Class, java.lang.Object)">findCached</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid)</CODE> |
| |
| <BR> |
| Return the cached instance for the given oid/object, or null if not |
| cached.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/persistence/AutoClearType.html" title="enum in org.apache.openjpa.persistence">AutoClearType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getAutoClear()">getAutoClear</A></B>()</CODE> |
| |
| <BR> |
| Whether to clear state when entering a transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</A><<A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getAutoDetach()">getAutoDetach</A></B>()</CODE> |
| |
| <BR> |
| <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> values which indicate when persistent |
| managed objects should be automatically detached in-place.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getClassLoader()">getClassLoader</A></B>()</CODE> |
| |
| <BR> |
| Return the current thread's class loader at the time this entity |
| manager was obtained from the factory.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf">OpenJPAConfiguration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getConfiguration()">getConfiguration</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getConnection()">getConnection</A></B>()</CODE> |
| |
| <BR> |
| Return the connection in use by the entity manager, or a new |
| connection if none.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getConnectionPassword()">getConnectionPassword</A></B>()</CODE> |
| |
| <BR> |
| Return the connection password.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/persistence/ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence">ConnectionRetainMode</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getConnectionRetainMode()">getConnectionRetainMode</A></B>()</CODE> |
| |
| <BR> |
| Return the connection retain mode for this entity manager.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getConnectionUserName()">getConnectionUserName</A></B>()</CODE> |
| |
| <BR> |
| Return the connection user name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/persistence/criteria/OpenJPACriteriaBuilder.html" title="interface in org.apache.openjpa.persistence.criteria">OpenJPACriteriaBuilder</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getCriteriaBuilder()">getCriteriaBuilder</A></B>()</CODE> |
| |
| <BR> |
| Gets the QueryBuilder with OpenJPA-extended capabilities.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence">DetachStateType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getDetachState()">getDetachState</A></B>()</CODE> |
| |
| <BR> |
| Detach mode constant to determine which fields are part of the |
| detached graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getDirtyObjects()">getDirtyObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a set of current dirty instances.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getEntityManagerFactory()">getEntityManagerFactory</A></B>()</CODE> |
| |
| <BR> |
| Return the factory that produced this entity manager.</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/OpenJPAEntityManager.html#getEvictFromStoreCache()">getEvictFromStoreCache</A></B>()</CODE> |
| |
| <BR> |
| Whether to also evict an object from the store cache when it is |
| evicted through this 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/OpenJPAEntityManager.html#getFetchPlan()">getFetchPlan</A></B>()</CODE> |
| |
| <BR> |
| Return the (mutable) fetch plan for loading objects from this |
| 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/Generator.html" title="interface in org.apache.openjpa.persistence">Generator</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getFieldGenerator(java.lang.Class, java.lang.String)">getFieldGenerator</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> forClass, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName)</CODE> |
| |
| <BR> |
| Returns a <A HREF="../../../../org/apache/openjpa/persistence/Generator.html" title="interface in org.apache.openjpa.persistence"><CODE>Generator</CODE></A> for the generated values of the specified |
| type, or null if the field is not generated.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/persistence/Generator.html" title="interface in org.apache.openjpa.persistence">Generator</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getIdGenerator(java.lang.Class)">getIdGenerator</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> forClass)</CODE> |
| |
| <BR> |
| Returns a <A HREF="../../../../org/apache/openjpa/persistence/Generator.html" title="interface in org.apache.openjpa.persistence"><CODE>Generator</CODE></A> for the datastore identity values of the |
| specified type, or null if the type is unmanaged or its identity |
| cannot be represented by a sequence.</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/OpenJPAEntityManager.html#getIgnoreChanges()">getIgnoreChanges</A></B>()</CODE> |
| |
| <BR> |
| Whether to take into account changes in the transaction when executing |
| a query or iterating an extent.</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/OpenJPAEntityManager.html#getLifecycleListenerCallbackMode()">getLifecycleListenerCallbackMode</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javaee/6/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/OpenJPAEntityManager.html#getLockMode(java.lang.Object)">getLockMode</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</CODE> |
| |
| <BR> |
| Return the lock mode of the given instance, or null if not locked.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getManagedObjects()">getManagedObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a set of all managed instances.</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/OpenJPAEntityManager.html#getMultithreaded()">getMultithreaded</A></B>()</CODE> |
| |
| <BR> |
| Whether the entity manager or its managed instances are used in a |
| multithreaded environment.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/persistence/Generator.html" title="interface in org.apache.openjpa.persistence">Generator</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getNamedGenerator(java.lang.String)">getNamedGenerator</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
| |
| <BR> |
| Return the named generator defined in the metadata.</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/OpenJPAEntityManager.html#getNontransactionalRead()">getNontransactionalRead</A></B>()</CODE> |
| |
| <BR> |
| Whether to allow nontransactional access to persistent state.</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/OpenJPAEntityManager.html#getNontransactionalWrite()">getNontransactionalWrite</A></B>()</CODE> |
| |
| <BR> |
| Whether to allow nontransactional changes to persistent state.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getObjectId(java.lang.Object)">getObjectId</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
| |
| <BR> |
| Return the oid of the given instance.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getObjectIdClass(java.lang.Class)">getObjectIdClass</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> pcClass)</CODE> |
| |
| <BR> |
| Return the application identity class the given persistent class uses |
| for object ids, or null if not a type that uses application identity.</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/OpenJPAEntityManager.html#getOptimistic()">getOptimistic</A></B>()</CODE> |
| |
| <BR> |
| Whether to use optimistic transactional semantics.</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/OpenJPAEntityManager.html#getOrderDirtyObjects()">getOrderDirtyObjects</A></B>()</CODE> |
| |
| <BR> |
| Whether dirty objects will be returned in the order they were dirtied.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getPendingTransactionalObjects()">getPendingTransactionalObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a set of instances which will become transactional upon |
| the next transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getPersistedClasses()">getPersistedClasses</A></B>()</CODE> |
| |
| <BR> |
| Return the set of classes that have been made persistent in the current |
| transaction.</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/OpenJPAEntityManager.html#getPopulateStoreCache()">getPopulateStoreCache</A></B>()</CODE> |
| |
| <BR> |
| Whether objects accessed during this transaction will be added to the |
| store cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getRemovedClasses()">getRemovedClasses</A></B>()</CODE> |
| |
| <BR> |
| Return the set of classes that have been deleted in the current |
| transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/persistence/RestoreStateType.html" title="enum in org.apache.openjpa.persistence">RestoreStateType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getRestoreState()">getRestoreState</A></B>()</CODE> |
| |
| <BR> |
| Whether to restore an object's original state on rollback.</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/OpenJPAEntityManager.html#getRetainState()">getRetainState</A></B>()</CODE> |
| |
| <BR> |
| Whether objects retain their persistent state on transaction commit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getRollbackCause()">getRollbackCause</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityTransaction.html#getRollbackCause()"><CODE>OpenJPAEntityTransaction.getRollbackCause()</CODE></A> |
| instead: <code>em.getTransaction().getRollbackCause()</code></I></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/OpenJPAEntityManager.html#getRollbackOnly()">getRollbackOnly</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#getRollbackOnly()" title="class or interface in javax.persistence"><CODE>EntityTransaction.getRollbackOnly()</CODE></A> |
| instead: <code>em.getTransaction().getRollbackOnly()</code></I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getSupportedProperties()">getSupportedProperties</A></B>()</CODE> |
| |
| <BR> |
| Get the properties supported by this runtime.</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/OpenJPAEntityManager.html#getSyncWithManagedTransactions()">getSyncWithManagedTransactions</A></B>()</CODE> |
| |
| <BR> |
| Whether to check for a global transaction upon every managed, |
| non-transactional operation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityTransaction.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityTransaction</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#getTransaction()">getTransaction</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://download.oracle.com/javase/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/OpenJPAEntityManager.html#getTransactionalObjects()">getTransactionalObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a set of current transaction instances.</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/OpenJPAEntityManager.html#getTransactionListenerCallbackMode()">getTransactionListenerCallbackMode</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getUpdatedClasses()">getUpdatedClasses</A></B>()</CODE> |
| |
| <BR> |
| Return the set of classes for objects that have been modified |
| 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://download.oracle.com/javase/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/OpenJPAEntityManager.html#getUserObject(java.lang.Object)">getUserObject</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> key)</CODE> |
| |
| <BR> |
| Get the value for the specified key from the map of user objects.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#getVersion(java.lang.Object)">getVersion</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
| |
| <BR> |
| Returns the current version indicator for <code>o</code>.</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/OpenJPAEntityManager.html#isActive()">isActive</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#isActive()" title="class or interface in javax.persistence"><CODE>EntityTransaction.isActive()</CODE></A> |
| instead: <code>em.getTransaction().isActive()</code></I></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/OpenJPAEntityManager.html#isDetached(java.lang.Object)">isDetached</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
| |
| <BR> |
| Returns <code>true</code> if <code>pc</code> is a detached object |
| (one that can be reattached to a <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence"><CODE>EntityManager</CODE></A> via a call |
| to <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#merge(T)" title="class or interface in javax.persistence"><CODE>EntityManager.merge(T)</CODE></A>); otherwise returns |
| <code>false</code>.</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/OpenJPAEntityManager.html#isDirty(java.lang.Object)">isDirty</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
| |
| <BR> |
| Return whether the given object is dirty.</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/OpenJPAEntityManager.html#isLargeTransaction()">isLargeTransaction</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#isTrackChangesByType()"><CODE>isTrackChangesByType()</CODE></A> instead.</I></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/OpenJPAEntityManager.html#isManaged()">isManaged</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#isTransactionManaged()"><CODE>isTransactionManaged()</CODE></A> instead to interrogate |
| whether or not this EntityManager's transaction is managed. To determine |
| if a given entity instance is managed, use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#contains(java.lang.Object)" title="class or interface in javax.persistence"><CODE>EntityManager.contains(java.lang.Object)</CODE></A>.</I></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/OpenJPAEntityManager.html#isNewlyPersistent(java.lang.Object)">isNewlyPersistent</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
| |
| <BR> |
| Return whether the given object was made persistent in the current |
| transaction.</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/OpenJPAEntityManager.html#isPersistent(java.lang.Object)">isPersistent</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
| |
| <BR> |
| Return whether the given object is persistent.</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/OpenJPAEntityManager.html#isRemoved(java.lang.Object)">isRemoved</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
| |
| <BR> |
| Return whether the given object is deleted.</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/OpenJPAEntityManager.html#isStoreActive()">isStoreActive</A></B>()</CODE> |
| |
| <BR> |
| Whether a store transaction is active.</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/OpenJPAEntityManager.html#isTrackChangesByType()">isTrackChangesByType</A></B>()</CODE> |
| |
| <BR> |
| Whether memory usage is reduced during this transaction at the expense |
| of tracking changes at the type level instead of the instance level, |
| resulting in more aggressive cache invalidation.</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/OpenJPAEntityManager.html#isTransactional(java.lang.Object)">isTransactional</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
| |
| <BR> |
| Return whether the given object is transactional.</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/OpenJPAEntityManager.html#isTransactionManaged()">isTransactionManaged</A></B>()</CODE> |
| |
| <BR> |
| Whether this entity manager is using managed transactions.</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/OpenJPAEntityManager.html#lock(java.lang.Object)">lock</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</CODE> |
| |
| <BR> |
| Ensure that the given instance is locked at the current lock level, as |
| set in the <A HREF="../../../../org/apache/openjpa/persistence/FetchPlan.html" title="interface in org.apache.openjpa.persistence"><CODE>FetchPlan</CODE></A> for the entity manager.</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/OpenJPAEntityManager.html#lock(java.lang.Object, javax.persistence.LockModeType, int)">lock</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, |
| <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/LockModeType.html?is-external=true" title="class or interface in javax.persistence">LockModeType</A> mode, |
| int timeout)</CODE> |
| |
| <BR> |
| Ensure that the given instance is locked at the given lock level.</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/OpenJPAEntityManager.html#lockAll(java.util.Collection)">lockAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</CODE> |
| |
| <BR> |
| Ensure that the given instances are locked at the current lock level, |
| as set in the <A HREF="../../../../org/apache/openjpa/persistence/FetchPlan.html" title="interface in org.apache.openjpa.persistence"><CODE>FetchPlan</CODE></A> for the entity manager.</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/OpenJPAEntityManager.html#lockAll(java.util.Collection, javax.persistence.LockModeType, int)">lockAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs, |
| <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/LockModeType.html?is-external=true" title="class or interface in javax.persistence">LockModeType</A> mode, |
| int timeout)</CODE> |
| |
| <BR> |
| Ensure that the given instances are locked at the given lock level.</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/OpenJPAEntityManager.html#lockAll(java.lang.Object...)">lockAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</CODE> |
| |
| <BR> |
| Ensure that the given instances are locked at the current lock level, |
| as set in the <A HREF="../../../../org/apache/openjpa/persistence/FetchPlan.html" title="interface in org.apache.openjpa.persistence"><CODE>FetchPlan</CODE></A> for the entity manager.</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/OpenJPAEntityManager.html#lockAll(java.lang.Object[], javax.persistence.LockModeType, int)">lockAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] pcs, |
| <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/LockModeType.html?is-external=true" title="class or interface in javax.persistence">LockModeType</A> mode, |
| int timeout)</CODE> |
| |
| <BR> |
| Ensure that the given instances are locked at the given lock level.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#mergeAll(java.util.Collection)">mergeAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</CODE> |
| |
| <BR> |
| Merge the specified detached objects into the entity manager.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#mergeAll(java.lang.Object...)">mergeAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</CODE> |
| |
| <BR> |
| Merge the specified objects into the entity manager.</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/OpenJPAEntityManager.html#nontransactional(java.lang.Object)">nontransactional</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</CODE> |
| |
| <BR> |
| Make the given object nontransactional.</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/OpenJPAEntityManager.html#nontransactionalAll(java.util.Collection)">nontransactionalAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs)</CODE> |
| |
| <BR> |
| Make the given objects nontransactional.</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/OpenJPAEntityManager.html#nontransactionalAll(java.lang.Object[])">nontransactionalAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] objs)</CODE> |
| |
| <BR> |
| Make the given objects nontransactional.</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/OpenJPAEntityManager.html#persistAll(java.util.Collection)">persistAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</CODE> |
| |
| <BR> |
| Persist the given objects.</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/OpenJPAEntityManager.html#persistAll(java.lang.Object...)">persistAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</CODE> |
| |
| <BR> |
| Persist the given objects.</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/OpenJPAEntityManager.html#popFetchPlan()">popFetchPlan</A></B>()</CODE> |
| |
| <BR> |
| Pops the fetch plan from the top of the stack, making the next one down |
| the active one.</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/OpenJPAEntityManager.html#preFlush()">preFlush</A></B>()</CODE> |
| |
| <BR> |
| Run pre-flush actions on transactional objects, including |
| persistence-by-reachability, inverse relationship management, |
| deletion of dependent instances, and instance callbacks.</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/OpenJPAEntityManager.html#pushFetchPlan()">pushFetchPlan</A></B>()</CODE> |
| |
| <BR> |
| Pushes a new fetch plan that inherits from the current fetch plan onto |
| a stack, and makes the new plan the active one.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/OpenJPAEntityManager.html#putUserObject(java.lang.Object, java.lang.Object)">putUserObject</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> key, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> val)</CODE> |
| |
| <BR> |
| Put the specified key-value pair into the map of user objects.</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/OpenJPAEntityManager.html#refreshAll()">refreshAll</A></B>()</CODE> |
| |
| <BR> |
| Refresh all transactional objects.</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/OpenJPAEntityManager.html#refreshAll(java.util.Collection)">refreshAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</CODE> |
| |
| <BR> |
| Refresh the state of the given objects.</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/OpenJPAEntityManager.html#refreshAll(java.lang.Object...)">refreshAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</CODE> |
| |
| <BR> |
| Refresh the state of the given objects.</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/OpenJPAEntityManager.html#release(java.lang.Object)">release</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</CODE> |
| |
| <BR> |
| Release the given object from management.</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/OpenJPAEntityManager.html#releaseAll(java.util.Collection)">releaseAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</CODE> |
| |
| <BR> |
| Release the given objects from management.</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/OpenJPAEntityManager.html#releaseAll(java.lang.Object...)">releaseAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</CODE> |
| |
| <BR> |
| Release the given object from management.</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/OpenJPAEntityManager.html#releaseSavepoint()">releaseSavepoint</A></B>()</CODE> |
| |
| <BR> |
| Release the last set savepoint and any resources associated with it.</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/OpenJPAEntityManager.html#releaseSavepoint(java.lang.String)">releaseSavepoint</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
| |
| <BR> |
| Release the savepoint and any resources associated with it.</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/OpenJPAEntityManager.html#removeAll(java.util.Collection)">removeAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</CODE> |
| |
| <BR> |
| Delete the given persistent objects.</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/OpenJPAEntityManager.html#removeAll(java.lang.Object...)">removeAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</CODE> |
| |
| <BR> |
| Delete the given persistent objects.</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/OpenJPAEntityManager.html#removeLifecycleListener(java.lang.Object)">removeLifecycleListener</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I></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/OpenJPAEntityManager.html#removeTransactionListener(java.lang.Object)">removeTransactionListener</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I></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/OpenJPAEntityManager.html#retrieve(java.lang.Object)">retrieve</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</CODE> |
| |
| <BR> |
| Immediately load the given object's persistent fields.</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/OpenJPAEntityManager.html#retrieveAll(java.util.Collection)">retrieveAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</CODE> |
| |
| <BR> |
| Retrieve the persistent state of the given objects.</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/OpenJPAEntityManager.html#retrieveAll(java.lang.Object...)">retrieveAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</CODE> |
| |
| <BR> |
| Retrieve the persistent state of the given objects.</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/OpenJPAEntityManager.html#rollback()">rollback</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#rollback()" title="class or interface in javax.persistence"><CODE>EntityTransaction.rollback()</CODE></A> |
| instead: <code>em.getTransaction().rollback()</code></I></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/OpenJPAEntityManager.html#rollbackAndResume()">rollbackAndResume</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityTransaction.html#rollbackAndResume()"><CODE>OpenJPAEntityTransaction.rollbackAndResume()</CODE></A> |
| instead: <code>em.getTransaction().rollbackAndResume()</code></I></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/OpenJPAEntityManager.html#rollbackToSavepoint()">rollbackToSavepoint</A></B>()</CODE> |
| |
| <BR> |
| Rollback the current transaction to the last savepoint.</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/OpenJPAEntityManager.html#rollbackToSavepoint(java.lang.String)">rollbackToSavepoint</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
| |
| <BR> |
| Rollback the current transaction to the given savepoint name.</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/OpenJPAEntityManager.html#setAutoClear(org.apache.openjpa.persistence.AutoClearType)">setAutoClear</A></B>(<A HREF="../../../../org/apache/openjpa/persistence/AutoClearType.html" title="enum in org.apache.openjpa.persistence">AutoClearType</A> clearType)</CODE> |
| |
| <BR> |
| Whether to clear state when entering a transaction.</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/OpenJPAEntityManager.html#setAutoClear(int)">setAutoClear</A></B>(int autoClear)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setAutoClear(org.apache.openjpa.persistence.AutoClearType)"><CODE>setAutoClear(AutoClearType)</CODE></A> instead.</I></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/OpenJPAEntityManager.html#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType)">setAutoDetach</A></B>(<A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</A> value)</CODE> |
| |
| <BR> |
| <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> values which indicate when persistent |
| managed objects should be automatically detached in-place.</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/OpenJPAEntityManager.html#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType, boolean)">setAutoDetach</A></B>(<A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</A> value, |
| boolean on)</CODE> |
| |
| <BR> |
| Bit flags marked in <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> which indicate when persistent |
| managed objects should be automatically detached in-place.</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/OpenJPAEntityManager.html#setAutoDetach(java.util.EnumSet)">setAutoDetach</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</A><<A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</A>> values)</CODE> |
| |
| <BR> |
| <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> values which indicate when persistent |
| managed objects should be automatically detached in-place.</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/OpenJPAEntityManager.html#setAutoDetach(int)">setAutoDetach</A></B>(int autoDetachFlags)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType)"><CODE>setAutoDetach(AutoDetachType)</CODE></A> or |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setAutoDetach(java.util.EnumSet)"><CODE>setAutoDetach(java.util.EnumSet)</CODE></A> instead.</I></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/OpenJPAEntityManager.html#setAutoDetach(int, boolean)">setAutoDetach</A></B>(int flag, |
| boolean on)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType, boolean)"><CODE>setAutoDetach(AutoDetachType, boolean)</CODE></A> instead.</I></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/OpenJPAEntityManager.html#setDetachState(org.apache.openjpa.persistence.DetachStateType)">setDetachState</A></B>(<A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence">DetachStateType</A> type)</CODE> |
| |
| <BR> |
| Detach mode constant to determine which fields are part of the |
| detached graph.</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/OpenJPAEntityManager.html#setDetachState(int)">setDetachState</A></B>(int detach)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setDetachState(org.apache.openjpa.persistence.DetachStateType)"><CODE>setDetachState(DetachStateType)</CODE></A> instead.</I></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/OpenJPAEntityManager.html#setEvictFromStoreCache(boolean)">setEvictFromStoreCache</A></B>(boolean evict)</CODE> |
| |
| <BR> |
| Whether to also evict an object from the store cache when it is |
| evicted through this entity manager.</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/OpenJPAEntityManager.html#setIgnoreChanges(boolean)">setIgnoreChanges</A></B>(boolean ignore)</CODE> |
| |
| <BR> |
| Whether to take into account changes in the transaction when executing |
| a query or iterating an extent.</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/OpenJPAEntityManager.html#setLargeTransaction(boolean)">setLargeTransaction</A></B>(boolean value)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setTrackChangesByType(boolean)"><CODE>setTrackChangesByType(boolean)</CODE></A> instead.</I></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/OpenJPAEntityManager.html#setLifecycleListenerCallbackMode(int)">setLifecycleListenerCallbackMode</A></B>(int callbackMode)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I></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/OpenJPAEntityManager.html#setMultithreaded(boolean)">setMultithreaded</A></B>(boolean multi)</CODE> |
| |
| <BR> |
| Whether the entity manager or its managed instances are used in a |
| multithreaded environment.</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/OpenJPAEntityManager.html#setNontransactionalRead(boolean)">setNontransactionalRead</A></B>(boolean read)</CODE> |
| |
| <BR> |
| Whether to allow nontransactional access to persistent state.</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/OpenJPAEntityManager.html#setNontransactionalWrite(boolean)">setNontransactionalWrite</A></B>(boolean write)</CODE> |
| |
| <BR> |
| Whether to allow nontransactional changes to persistent state.</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/OpenJPAEntityManager.html#setOptimistic(boolean)">setOptimistic</A></B>(boolean opt)</CODE> |
| |
| <BR> |
| Whether to use optimistic transactional semantics.</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/OpenJPAEntityManager.html#setOrderDirtyObjects(boolean)">setOrderDirtyObjects</A></B>(boolean order)</CODE> |
| |
| <BR> |
| Whether dirty objects will be returned in the order they were dirtied.</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/OpenJPAEntityManager.html#setPopulateStoreCache(boolean)">setPopulateStoreCache</A></B>(boolean cache)</CODE> |
| |
| <BR> |
| Whether to populate the store cache with objects used by this |
| transaction.</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/OpenJPAEntityManager.html#setRestoreState(int)">setRestoreState</A></B>(int restore)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setRestoreState(org.apache.openjpa.persistence.RestoreStateType)"><CODE>setRestoreState(RestoreStateType)</CODE></A> instead.</I></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/OpenJPAEntityManager.html#setRestoreState(org.apache.openjpa.persistence.RestoreStateType)">setRestoreState</A></B>(<A HREF="../../../../org/apache/openjpa/persistence/RestoreStateType.html" title="enum in org.apache.openjpa.persistence">RestoreStateType</A> restoreType)</CODE> |
| |
| <BR> |
| Whether to restore an object's original state on rollback.</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/OpenJPAEntityManager.html#setRetainState(boolean)">setRetainState</A></B>(boolean retain)</CODE> |
| |
| <BR> |
| Whether objects retain their persistent state on transaction commit.</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/OpenJPAEntityManager.html#setRollbackOnly()">setRollbackOnly</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#setRollbackOnly()" title="class or interface in javax.persistence"><CODE>EntityTransaction.setRollbackOnly()</CODE></A> |
| instead: <code>em.getTransaction().setRollbackOnly()</code></I></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/OpenJPAEntityManager.html#setRollbackOnly(java.lang.Throwable)">setRollbackOnly</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityTransaction.html#setRollbackOnly(java.lang.Throwable)"><CODE>OpenJPAEntityTransaction.setRollbackOnly(java.lang.Throwable)</CODE></A> |
| instead: <code>em.getTransaction().setRollbackOnly()</code></I></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/OpenJPAEntityManager.html#setSavepoint(java.lang.String)">setSavepoint</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
| |
| <BR> |
| Set a transactional savepoint where operations after this savepoint |
| will be rolled back.</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/OpenJPAEntityManager.html#setSyncWithManagedTransactions(boolean)">setSyncWithManagedTransactions</A></B>(boolean resync)</CODE> |
| |
| <BR> |
| Whether to check for a global transaction upon every managed, |
| non-transactional operation.</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/OpenJPAEntityManager.html#setTrackChangesByType(boolean)">setTrackChangesByType</A></B>(boolean track)</CODE> |
| |
| <BR> |
| If a large number of objects will be created, modified, or deleted |
| during this transaction setting this option to true will reduce memory |
| usage if you perform periodic flushes by tracking changes at the type |
| level instead of the instance level, resulting in more aggressive cache |
| invalidation.</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/OpenJPAEntityManager.html#setTransactionListenerCallbackMode(int)">setTransactionListenerCallbackMode</A></B>(int callbackMode)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I></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/OpenJPAEntityManager.html#transactional(java.lang.Object, boolean)">transactional</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, |
| boolean updateVersion)</CODE> |
| |
| <BR> |
| Make the given object transactional.</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/OpenJPAEntityManager.html#transactionalAll(java.util.Collection, boolean)">transactionalAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| boolean updateVersion)</CODE> |
| |
| <BR> |
| Make the given objects transactional.</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/OpenJPAEntityManager.html#transactionalAll(java.lang.Object[], boolean)">transactionalAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] objs, |
| boolean updateVersion)</CODE> |
| |
| <BR> |
| Make the given objects transactional.</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/OpenJPAEntityManager.html#validateChanges()">validateChanges</A></B>()</CODE> |
| |
| <BR> |
| Validate the changes made in this transaction, reporting any optimistic |
| violations, constraint violations, etc.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_javax.persistence.EntityManager"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from interface javax.persistence.<A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#clear()" title="class or interface in javax.persistence">clear</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#close()" title="class or interface in javax.persistence">close</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#contains(java.lang.Object)" title="class or interface in javax.persistence">contains</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#createNamedQuery(java.lang.String, java.lang.Class)" title="class or interface in javax.persistence">createNamedQuery</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#createQuery(javax.persistence.criteria.CriteriaQuery)" title="class or interface in javax.persistence">createQuery</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#createQuery(java.lang.String, java.lang.Class)" title="class or interface in javax.persistence">createQuery</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#detach(java.lang.Object)" title="class or interface in javax.persistence">detach</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#find(java.lang.Class, java.lang.Object)" title="class or interface in javax.persistence">find</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#find(java.lang.Class, java.lang.Object, javax.persistence.LockModeType)" title="class or interface in javax.persistence">find</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#find(java.lang.Class, java.lang.Object, javax.persistence.LockModeType, java.util.Map)" title="class or interface in javax.persistence">find</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#find(java.lang.Class, java.lang.Object, java.util.Map)" title="class or interface in javax.persistence">find</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#flush()" title="class or interface in javax.persistence">flush</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#getDelegate()" title="class or interface in javax.persistence">getDelegate</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#getFlushMode()" title="class or interface in javax.persistence">getFlushMode</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#getMetamodel()" title="class or interface in javax.persistence">getMetamodel</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#getProperties()" title="class or interface in javax.persistence">getProperties</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#getReference(java.lang.Class, java.lang.Object)" title="class or interface in javax.persistence">getReference</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#isOpen()" title="class or interface in javax.persistence">isOpen</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#joinTransaction()" title="class or interface in javax.persistence">joinTransaction</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#lock(java.lang.Object, javax.persistence.LockModeType)" title="class or interface in javax.persistence">lock</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#lock(java.lang.Object, javax.persistence.LockModeType, java.util.Map)" title="class or interface in javax.persistence">lock</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#merge(T)" title="class or interface in javax.persistence">merge</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#persist(java.lang.Object)" title="class or interface in javax.persistence">persist</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#refresh(java.lang.Object)" title="class or interface in javax.persistence">refresh</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#refresh(java.lang.Object, javax.persistence.LockModeType)" title="class or interface in javax.persistence">refresh</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#refresh(java.lang.Object, javax.persistence.LockModeType, java.util.Map)" title="class or interface in javax.persistence">refresh</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#refresh(java.lang.Object, java.util.Map)" title="class or interface in javax.persistence">refresh</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#remove(java.lang.Object)" title="class or interface in javax.persistence">remove</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#setFlushMode(javax.persistence.FlushModeType)" title="class or interface in javax.persistence">setFlushMode</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#setProperty(java.lang.String, java.lang.Object)" title="class or interface in javax.persistence">setProperty</A>, <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#unwrap(java.lang.Class)" title="class or interface in javax.persistence">unwrap</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_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>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="CONN_RETAIN_DEMAND"><!-- --></A><H3> |
| CONN_RETAIN_DEMAND</H3> |
| <PRE> |
| static final int <B>CONN_RETAIN_DEMAND</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><CODE>ConnectionRetainMode</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CONN_RETAIN_DEMAND">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CONN_RETAIN_TRANS"><!-- --></A><H3> |
| CONN_RETAIN_TRANS</H3> |
| <PRE> |
| static final int <B>CONN_RETAIN_TRANS</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><CODE>ConnectionRetainMode</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CONN_RETAIN_TRANS">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CONN_RETAIN_ALWAYS"><!-- --></A><H3> |
| CONN_RETAIN_ALWAYS</H3> |
| <PRE> |
| static final int <B>CONN_RETAIN_ALWAYS</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><CODE>ConnectionRetainMode</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CONN_RETAIN_ALWAYS">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="DETACH_FETCH_GROUPS"><!-- --></A><H3> |
| DETACH_FETCH_GROUPS</H3> |
| <PRE> |
| static final int <B>DETACH_FETCH_GROUPS</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>DetachStateType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_FETCH_GROUPS">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="DETACH_FGS"><!-- --></A><H3> |
| DETACH_FGS</H3> |
| <PRE> |
| static final int <B>DETACH_FGS</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>DetachStateType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_FGS">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="DETACH_LOADED"><!-- --></A><H3> |
| DETACH_LOADED</H3> |
| <PRE> |
| static final int <B>DETACH_LOADED</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>DetachStateType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_LOADED">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="DETACH_ALL"><!-- --></A><H3> |
| DETACH_ALL</H3> |
| <PRE> |
| static final int <B>DETACH_ALL</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>DetachStateType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_ALL">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="RESTORE_NONE"><!-- --></A><H3> |
| RESTORE_NONE</H3> |
| <PRE> |
| static final int <B>RESTORE_NONE</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>RestoreStateType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.RESTORE_NONE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="RESTORE_IMMUTABLE"><!-- --></A><H3> |
| RESTORE_IMMUTABLE</H3> |
| <PRE> |
| static final int <B>RESTORE_IMMUTABLE</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>RestoreStateType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.RESTORE_IMMUTABLE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="RESTORE_ALL"><!-- --></A><H3> |
| RESTORE_ALL</H3> |
| <PRE> |
| static final int <B>RESTORE_ALL</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><CODE>RestoreStateType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.RESTORE_ALL">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="DETACH_CLOSE"><!-- --></A><H3> |
| DETACH_CLOSE</H3> |
| <PRE> |
| static final int <B>DETACH_CLOSE</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_CLOSE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="DETACH_COMMIT"><!-- --></A><H3> |
| DETACH_COMMIT</H3> |
| <PRE> |
| static final int <B>DETACH_COMMIT</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_COMMIT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="DETACH_NONTXREAD"><!-- --></A><H3> |
| DETACH_NONTXREAD</H3> |
| <PRE> |
| static final int <B>DETACH_NONTXREAD</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_NONTXREAD">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="DETACH_ROLLBACK"><!-- --></A><H3> |
| DETACH_ROLLBACK</H3> |
| <PRE> |
| static final int <B>DETACH_ROLLBACK</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_ROLLBACK">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CLEAR_DATASTORE"><!-- --></A><H3> |
| CLEAR_DATASTORE</H3> |
| <PRE> |
| static final int <B>CLEAR_DATASTORE</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoClearType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoClearType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CLEAR_DATASTORE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CLEAR_ALL"><!-- --></A><H3> |
| CLEAR_ALL</H3> |
| <PRE> |
| static final int <B>CLEAR_ALL</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/AutoClearType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoClearType</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CLEAR_ALL">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CALLBACK_FAIL_FAST"><!-- --></A><H3> |
| CALLBACK_FAIL_FAST</H3> |
| <PRE> |
| static final int <B>CALLBACK_FAIL_FAST</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/CallbackMode.html" title="enum in org.apache.openjpa.persistence"><CODE>CallbackMode</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CALLBACK_FAIL_FAST">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CALLBACK_IGNORE"><!-- --></A><H3> |
| CALLBACK_IGNORE</H3> |
| <PRE> |
| static final int <B>CALLBACK_IGNORE</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/CallbackMode.html" title="enum in org.apache.openjpa.persistence"><CODE>CallbackMode</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CALLBACK_IGNORE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CALLBACK_LOG"><!-- --></A><H3> |
| CALLBACK_LOG</H3> |
| <PRE> |
| static final int <B>CALLBACK_LOG</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/CallbackMode.html" title="enum in org.apache.openjpa.persistence"><CODE>CallbackMode</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CALLBACK_LOG">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CALLBACK_RETHROW"><!-- --></A><H3> |
| CALLBACK_RETHROW</H3> |
| <PRE> |
| static final int <B>CALLBACK_RETHROW</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/CallbackMode.html" title="enum in org.apache.openjpa.persistence"><CODE>CallbackMode</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CALLBACK_RETHROW">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CALLBACK_ROLLBACK"><!-- --></A><H3> |
| CALLBACK_ROLLBACK</H3> |
| <PRE> |
| static final int <B>CALLBACK_ROLLBACK</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use the <A HREF="../../../../org/apache/openjpa/persistence/CallbackMode.html" title="enum in org.apache.openjpa.persistence"><CODE>CallbackMode</CODE></A> enum instead.</I><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CALLBACK_ROLLBACK">Constant Field Values</A></DL> |
| </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="getEntityManagerFactory()"><!-- --></A><H3> |
| getEntityManagerFactory</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerFactory</A> <B>getEntityManagerFactory</B>()</PRE> |
| <DL> |
| <DD>Return the factory that produced this entity manager. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#getEntityManagerFactory()" title="class or interface in javax.persistence">getEntityManagerFactory</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFetchPlan()"><!-- --></A><H3> |
| getFetchPlan</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/FetchPlan.html" title="interface in org.apache.openjpa.persistence">FetchPlan</A> <B>getFetchPlan</B>()</PRE> |
| <DL> |
| <DD>Return the (mutable) fetch plan for loading objects from this |
| entity manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="pushFetchPlan()"><!-- --></A><H3> |
| pushFetchPlan</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/FetchPlan.html" title="interface in org.apache.openjpa.persistence">FetchPlan</A> <B>pushFetchPlan</B>()</PRE> |
| <DL> |
| <DD>Pushes a new fetch plan that inherits from the current fetch plan onto |
| a stack, and makes the new plan the active one. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the new fetch plan<DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="popFetchPlan()"><!-- --></A><H3> |
| popFetchPlan</H3> |
| <PRE> |
| void <B>popFetchPlan</B>()</PRE> |
| <DL> |
| <DD>Pops the fetch plan from the top of the stack, making the next one down |
| the active one. This returns void to avoid confusion, since fetch plans |
| tend to be used in method-chaining patterns often. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionRetainMode()"><!-- --></A><H3> |
| getConnectionRetainMode</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence">ConnectionRetainMode</A> <B>getConnectionRetainMode</B>()</PRE> |
| <DL> |
| <DD>Return the connection retain mode for this entity manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTransactionManaged()"><!-- --></A><H3> |
| isTransactionManaged</H3> |
| <PRE> |
| boolean <B>isTransactionManaged</B>()</PRE> |
| <DL> |
| <DD>Whether this entity manager is using managed transactions. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isManaged()"><!-- --></A><H3> |
| isManaged</H3> |
| <PRE> |
| boolean <B>isManaged</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#isTransactionManaged()"><CODE>isTransactionManaged()</CODE></A> instead to interrogate |
| whether or not this EntityManager's transaction is managed. To determine |
| if a given entity instance is managed, use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#contains(java.lang.Object)" title="class or interface in javax.persistence"><CODE>EntityManager.contains(java.lang.Object)</CODE></A>.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSyncWithManagedTransactions()"><!-- --></A><H3> |
| getSyncWithManagedTransactions</H3> |
| <PRE> |
| boolean <B>getSyncWithManagedTransactions</B>()</PRE> |
| <DL> |
| <DD>Whether to check for a global transaction upon every managed, |
| non-transactional operation. Defaults to false. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSyncWithManagedTransactions(boolean)"><!-- --></A><H3> |
| setSyncWithManagedTransactions</H3> |
| <PRE> |
| void <B>setSyncWithManagedTransactions</B>(boolean resync)</PRE> |
| <DL> |
| <DD>Whether to check for a global transaction upon every managed, |
| non-transactional operation. Defaults to false. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getClassLoader()"><!-- --></A><H3> |
| getClassLoader</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A> <B>getClassLoader</B>()</PRE> |
| <DL> |
| <DD>Return the current thread's class loader at the time this entity |
| manager was obtained from the factory. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionUserName()"><!-- --></A><H3> |
| getConnectionUserName</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionUserName</B>()</PRE> |
| <DL> |
| <DD>Return the connection user name. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionPassword()"><!-- --></A><H3> |
| getConnectionPassword</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionPassword</B>()</PRE> |
| <DL> |
| <DD>Return the connection password. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMultithreaded()"><!-- --></A><H3> |
| getMultithreaded</H3> |
| <PRE> |
| boolean <B>getMultithreaded</B>()</PRE> |
| <DL> |
| <DD>Whether the entity manager or its managed instances are used in a |
| multithreaded environment. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setMultithreaded(boolean)"><!-- --></A><H3> |
| setMultithreaded</H3> |
| <PRE> |
| void <B>setMultithreaded</B>(boolean multi)</PRE> |
| <DL> |
| <DD>Whether the entity manager or its managed instances are used in a |
| multithreaded environment. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getIgnoreChanges()"><!-- --></A><H3> |
| getIgnoreChanges</H3> |
| <PRE> |
| boolean <B>getIgnoreChanges</B>()</PRE> |
| <DL> |
| <DD>Whether to take into account changes in the transaction when executing |
| a query or iterating an extent. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setIgnoreChanges(boolean)"><!-- --></A><H3> |
| setIgnoreChanges</H3> |
| <PRE> |
| void <B>setIgnoreChanges</B>(boolean ignore)</PRE> |
| <DL> |
| <DD>Whether to take into account changes in the transaction when executing |
| a query or iterating an extent. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNontransactionalRead()"><!-- --></A><H3> |
| getNontransactionalRead</H3> |
| <PRE> |
| boolean <B>getNontransactionalRead</B>()</PRE> |
| <DL> |
| <DD>Whether to allow nontransactional access to persistent state. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setNontransactionalRead(boolean)"><!-- --></A><H3> |
| setNontransactionalRead</H3> |
| <PRE> |
| void <B>setNontransactionalRead</B>(boolean read)</PRE> |
| <DL> |
| <DD>Whether to allow nontransactional access to persistent state. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNontransactionalWrite()"><!-- --></A><H3> |
| getNontransactionalWrite</H3> |
| <PRE> |
| boolean <B>getNontransactionalWrite</B>()</PRE> |
| <DL> |
| <DD>Whether to allow nontransactional changes to persistent state. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setNontransactionalWrite(boolean)"><!-- --></A><H3> |
| setNontransactionalWrite</H3> |
| <PRE> |
| void <B>setNontransactionalWrite</B>(boolean write)</PRE> |
| <DL> |
| <DD>Whether to allow nontransactional changes to persistent state. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOptimistic()"><!-- --></A><H3> |
| getOptimistic</H3> |
| <PRE> |
| boolean <B>getOptimistic</B>()</PRE> |
| <DL> |
| <DD>Whether to use optimistic transactional semantics. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setOptimistic(boolean)"><!-- --></A><H3> |
| setOptimistic</H3> |
| <PRE> |
| void <B>setOptimistic</B>(boolean opt)</PRE> |
| <DL> |
| <DD>Whether to use optimistic transactional semantics. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRestoreState()"><!-- --></A><H3> |
| getRestoreState</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/RestoreStateType.html" title="enum in org.apache.openjpa.persistence">RestoreStateType</A> <B>getRestoreState</B>()</PRE> |
| <DL> |
| <DD>Whether to restore an object's original state on rollback. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRestoreState(org.apache.openjpa.persistence.RestoreStateType)"><!-- --></A><H3> |
| setRestoreState</H3> |
| <PRE> |
| void <B>setRestoreState</B>(<A HREF="../../../../org/apache/openjpa/persistence/RestoreStateType.html" title="enum in org.apache.openjpa.persistence">RestoreStateType</A> restoreType)</PRE> |
| <DL> |
| <DD>Whether to restore an object's original state on rollback. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRetainState()"><!-- --></A><H3> |
| getRetainState</H3> |
| <PRE> |
| boolean <B>getRetainState</B>()</PRE> |
| <DL> |
| <DD>Whether objects retain their persistent state on transaction commit. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRetainState(boolean)"><!-- --></A><H3> |
| setRetainState</H3> |
| <PRE> |
| void <B>setRetainState</B>(boolean retain)</PRE> |
| <DL> |
| <DD>Whether objects retain their persistent state on transaction commit. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDetachState()"><!-- --></A><H3> |
| getDetachState</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence">DetachStateType</A> <B>getDetachState</B>()</PRE> |
| <DL> |
| <DD>Detach mode constant to determine which fields are part of the |
| detached graph. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDetachState(org.apache.openjpa.persistence.DetachStateType)"><!-- --></A><H3> |
| setDetachState</H3> |
| <PRE> |
| void <B>setDetachState</B>(<A HREF="../../../../org/apache/openjpa/persistence/DetachStateType.html" title="enum in org.apache.openjpa.persistence">DetachStateType</A> type)</PRE> |
| <DL> |
| <DD>Detach mode constant to determine which fields are part of the |
| detached graph. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAutoClear()"><!-- --></A><H3> |
| getAutoClear</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/AutoClearType.html" title="enum in org.apache.openjpa.persistence">AutoClearType</A> <B>getAutoClear</B>()</PRE> |
| <DL> |
| <DD>Whether to clear state when entering a transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAutoClear(org.apache.openjpa.persistence.AutoClearType)"><!-- --></A><H3> |
| setAutoClear</H3> |
| <PRE> |
| void <B>setAutoClear</B>(<A HREF="../../../../org/apache/openjpa/persistence/AutoClearType.html" title="enum in org.apache.openjpa.persistence">AutoClearType</A> clearType)</PRE> |
| <DL> |
| <DD>Whether to clear state when entering a transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAutoDetach()"><!-- --></A><H3> |
| getAutoDetach</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</A><<A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</A>> <B>getAutoDetach</B>()</PRE> |
| <DL> |
| <DD><A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> values which indicate when persistent |
| managed objects should be automatically detached in-place. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAutoDetach(org.apache.openjpa.persistence.AutoDetachType)"><!-- --></A><H3> |
| setAutoDetach</H3> |
| <PRE> |
| void <B>setAutoDetach</B>(<A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</A> value)</PRE> |
| <DL> |
| <DD><A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> values which indicate when persistent |
| managed objects should be automatically detached in-place. |
| The current value is replaced in its entirety. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAutoDetach(java.util.EnumSet)"><!-- --></A><H3> |
| setAutoDetach</H3> |
| <PRE> |
| void <B>setAutoDetach</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util">EnumSet</A><<A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</A>> values)</PRE> |
| <DL> |
| <DD><A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> values which indicate when persistent |
| managed objects should be automatically detached in-place. |
| The current value is replaced in its entirety. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAutoDetach(org.apache.openjpa.persistence.AutoDetachType, boolean)"><!-- --></A><H3> |
| setAutoDetach</H3> |
| <PRE> |
| void <B>setAutoDetach</B>(<A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</A> value, |
| boolean on)</PRE> |
| <DL> |
| <DD>Bit flags marked in <A HREF="../../../../org/apache/openjpa/persistence/AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><CODE>AutoDetachType</CODE></A> which indicate when persistent |
| managed objects should be automatically detached in-place. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getEvictFromStoreCache()"><!-- --></A><H3> |
| getEvictFromStoreCache</H3> |
| <PRE> |
| boolean <B>getEvictFromStoreCache</B>()</PRE> |
| <DL> |
| <DD>Whether to also evict an object from the store cache when it is |
| evicted through this entity manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setEvictFromStoreCache(boolean)"><!-- --></A><H3> |
| setEvictFromStoreCache</H3> |
| <PRE> |
| void <B>setEvictFromStoreCache</B>(boolean evict)</PRE> |
| <DL> |
| <DD>Whether to also evict an object from the store cache when it is |
| evicted through this entity manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPopulateStoreCache()"><!-- --></A><H3> |
| getPopulateStoreCache</H3> |
| <PRE> |
| boolean <B>getPopulateStoreCache</B>()</PRE> |
| <DL> |
| <DD>Whether objects accessed during this transaction will be added to the |
| store cache. Defaults to true. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.3.4</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setPopulateStoreCache(boolean)"><!-- --></A><H3> |
| setPopulateStoreCache</H3> |
| <PRE> |
| void <B>setPopulateStoreCache</B>(boolean cache)</PRE> |
| <DL> |
| <DD>Whether to populate the store cache with objects used by this |
| transaction. Defaults to true. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.3.4</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTrackChangesByType()"><!-- --></A><H3> |
| isTrackChangesByType</H3> |
| <PRE> |
| boolean <B>isTrackChangesByType</B>()</PRE> |
| <DL> |
| <DD>Whether memory usage is reduced during this transaction at the expense |
| of tracking changes at the type level instead of the instance level, |
| resulting in more aggressive cache invalidation. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.0.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setTrackChangesByType(boolean)"><!-- --></A><H3> |
| setTrackChangesByType</H3> |
| <PRE> |
| void <B>setTrackChangesByType</B>(boolean track)</PRE> |
| <DL> |
| <DD>If a large number of objects will be created, modified, or deleted |
| during this transaction setting this option to true will reduce memory |
| usage if you perform periodic flushes by tracking changes at the type |
| level instead of the instance level, resulting in more aggressive cache |
| invalidation. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.0.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="putUserObject(java.lang.Object, java.lang.Object)"><!-- --></A><H3> |
| putUserObject</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>putUserObject</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> key, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> val)</PRE> |
| <DL> |
| <DD>Put the specified key-value pair into the map of user objects. Use |
| a value of null to remove the key. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getUserObject(java.lang.Object)"><!-- --></A><H3> |
| getUserObject</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getUserObject</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> key)</PRE> |
| <DL> |
| <DD>Get the value for the specified key from the map of user objects. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findAll(java.lang.Class, java.lang.Object...)"><!-- --></A><H3> |
| findAll</H3> |
| <PRE> |
| <T> T[] <B>findAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... oids)</PRE> |
| <DL> |
| <DD>Return the objects with the given oids. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>oids</CODE> - the oids of the objects to return |
| <DT><B>Returns:</B><DD>the objects that were looked up, in the |
| same order as the oids parameter.<DT><B>See Also:</B><DD><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#find(java.lang.Class, java.lang.Object)" title="class or interface in javax.persistence"><CODE>EntityManager.find(Class,Object)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findAll(java.lang.Class, java.util.Collection)"><!-- --></A><H3> |
| findAll</H3> |
| <PRE> |
| <T> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><T> <B>findAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> oids)</PRE> |
| <DL> |
| <DD>Return the objects with the given oids. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>oids</CODE> - the oids of the objects to return |
| <DT><B>Returns:</B><DD>the objects that were looked up, in the |
| same order as the oids parameter.<DT><B>See Also:</B><DD><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#find(java.lang.Class, java.lang.Object)" title="class or interface in javax.persistence"><CODE>EntityManager.find(Class,Object)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findCached(java.lang.Class, java.lang.Object)"><!-- --></A><H3> |
| findCached</H3> |
| <PRE> |
| <T> T <B>findCached</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid)</PRE> |
| <DL> |
| <DD>Return the cached instance for the given oid/object, or null if not |
| cached. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>oid</CODE> - the object's id |
| <DT><B>Returns:</B><DD>the cached object, or null if not cached</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getObjectIdClass(java.lang.Class)"><!-- --></A><H3> |
| getObjectIdClass</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> <B>getObjectIdClass</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> pcClass)</PRE> |
| <DL> |
| <DD>Return the application identity class the given persistent class uses |
| for object ids, or null if not a type that uses application identity. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTransaction()"><!-- --></A><H3> |
| getTransaction</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityTransaction.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityTransaction</A> <B>getTransaction</B>()</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#getTransaction()" title="class or interface in javax.persistence">getTransaction</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSavepoint(java.lang.String)"><!-- --></A><H3> |
| setSavepoint</H3> |
| <PRE> |
| void <B>setSavepoint</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
| <DL> |
| <DD>Set a transactional savepoint where operations after this savepoint |
| will be rolled back. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="rollbackToSavepoint()"><!-- --></A><H3> |
| rollbackToSavepoint</H3> |
| <PRE> |
| void <B>rollbackToSavepoint</B>()</PRE> |
| <DL> |
| <DD>Rollback the current transaction to the last savepoint. |
| Savepoints set after this one will become invalid. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="rollbackToSavepoint(java.lang.String)"><!-- --></A><H3> |
| rollbackToSavepoint</H3> |
| <PRE> |
| void <B>rollbackToSavepoint</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
| <DL> |
| <DD>Rollback the current transaction to the given savepoint name. |
| Savepoints set after this one will become invalid. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="releaseSavepoint()"><!-- --></A><H3> |
| releaseSavepoint</H3> |
| <PRE> |
| void <B>releaseSavepoint</B>()</PRE> |
| <DL> |
| <DD>Release the last set savepoint and any resources associated with it. |
| The given savepoint and any set after it will become invalid. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="releaseSavepoint(java.lang.String)"><!-- --></A><H3> |
| releaseSavepoint</H3> |
| <PRE> |
| void <B>releaseSavepoint</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
| <DL> |
| <DD>Release the savepoint and any resources associated with it. |
| The given savepoint and any set after it will become invalid. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="preFlush()"><!-- --></A><H3> |
| preFlush</H3> |
| <PRE> |
| void <B>preFlush</B>()</PRE> |
| <DL> |
| <DD>Run pre-flush actions on transactional objects, including |
| persistence-by-reachability, inverse relationship management, |
| deletion of dependent instances, and instance callbacks. |
| Transaction listeners are not invoked. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.3.3</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="validateChanges()"><!-- --></A><H3> |
| validateChanges</H3> |
| <PRE> |
| void <B>validateChanges</B>()</PRE> |
| <DL> |
| <DD>Validate the changes made in this transaction, reporting any optimistic |
| violations, constraint violations, etc. In a datastore transaction or |
| a flushed optimistic transaction, this method will act just like |
| <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#flush()" title="class or interface in javax.persistence"><CODE>EntityManager.flush()</CODE></A>. In an optimistic transaction that has not yet begun a |
| datastore-level transaction, however, it will only report exceptions |
| that would occur on flush, without retaining any datastore resources. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isStoreActive()"><!-- --></A><H3> |
| isStoreActive</H3> |
| <PRE> |
| boolean <B>isStoreActive</B>()</PRE> |
| <DL> |
| <DD>Whether a store transaction is active. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="beginStore()"><!-- --></A><H3> |
| beginStore</H3> |
| <PRE> |
| void <B>beginStore</B>()</PRE> |
| <DL> |
| <DD>Begins a store transaction if one isn't already started. The |
| entity manager must already be in a logical transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="containsAll(java.lang.Object...)"><!-- --></A><H3> |
| containsAll</H3> |
| <PRE> |
| boolean <B>containsAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</PRE> |
| <DL> |
| <DD>Whether the given objects are managed. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="containsAll(java.util.Collection)"><!-- --></A><H3> |
| containsAll</H3> |
| <PRE> |
| boolean <B>containsAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</PRE> |
| <DL> |
| <DD>Whether the given objects are managed. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="persistAll(java.lang.Object...)"><!-- --></A><H3> |
| persistAll</H3> |
| <PRE> |
| void <B>persistAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</PRE> |
| <DL> |
| <DD>Persist the given objects. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="persistAll(java.util.Collection)"><!-- --></A><H3> |
| persistAll</H3> |
| <PRE> |
| void <B>persistAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</PRE> |
| <DL> |
| <DD>Persist the given objects. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeAll(java.lang.Object...)"><!-- --></A><H3> |
| removeAll</H3> |
| <PRE> |
| void <B>removeAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</PRE> |
| <DL> |
| <DD>Delete the given persistent objects. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeAll(java.util.Collection)"><!-- --></A><H3> |
| removeAll</H3> |
| <PRE> |
| void <B>removeAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</PRE> |
| <DL> |
| <DD>Delete the given persistent objects. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="release(java.lang.Object)"><!-- --></A><H3> |
| release</H3> |
| <PRE> |
| void <B>release</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</PRE> |
| <DL> |
| <DD>Release the given object from management. This operation is not |
| recursive. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="releaseAll(java.lang.Object...)"><!-- --></A><H3> |
| releaseAll</H3> |
| <PRE> |
| void <B>releaseAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</PRE> |
| <DL> |
| <DD>Release the given object from management. This operation is not |
| recursive. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="releaseAll(java.util.Collection)"><!-- --></A><H3> |
| releaseAll</H3> |
| <PRE> |
| void <B>releaseAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</PRE> |
| <DL> |
| <DD>Release the given objects from management. This operation is not |
| recursive. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="retrieve(java.lang.Object)"><!-- --></A><H3> |
| retrieve</H3> |
| <PRE> |
| void <B>retrieve</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</PRE> |
| <DL> |
| <DD>Immediately load the given object's persistent fields. One might |
| use this action to make sure that an instance's fields are loaded |
| before transitioning it to transient. Note that this action is not |
| recursive. Any related objects that are loaded will not necessarily |
| have their fields loaded. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="retrieveAll(java.lang.Object...)"><!-- --></A><H3> |
| retrieveAll</H3> |
| <PRE> |
| void <B>retrieveAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</PRE> |
| <DL> |
| <DD>Retrieve the persistent state of the given objects. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#retrieve(java.lang.Object)"><CODE>retrieve(java.lang.Object)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="retrieveAll(java.util.Collection)"><!-- --></A><H3> |
| retrieveAll</H3> |
| <PRE> |
| void <B>retrieveAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</PRE> |
| <DL> |
| <DD>Retrieve the persistent state of the given objects. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#retrieve(java.lang.Object)"><CODE>retrieve(java.lang.Object)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="refreshAll(java.lang.Object...)"><!-- --></A><H3> |
| refreshAll</H3> |
| <PRE> |
| void <B>refreshAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</PRE> |
| <DL> |
| <DD>Refresh the state of the given objects. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="refreshAll(java.util.Collection)"><!-- --></A><H3> |
| refreshAll</H3> |
| <PRE> |
| void <B>refreshAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</PRE> |
| <DL> |
| <DD>Refresh the state of the given objects. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="refreshAll()"><!-- --></A><H3> |
| refreshAll</H3> |
| <PRE> |
| void <B>refreshAll</B>()</PRE> |
| <DL> |
| <DD>Refresh all transactional objects. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="evict(java.lang.Object)"><!-- --></A><H3> |
| evict</H3> |
| <PRE> |
| void <B>evict</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</PRE> |
| <DL> |
| <DD><P> Evict the given object.</P> |
| <P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer |
| needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only |
| affects objects which are managed and unmodified. |
| </P> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pc</CODE> - A persistent class which will be evicted</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="evictAll(java.lang.Object...)"><!-- --></A><H3> |
| evictAll</H3> |
| <PRE> |
| void <B>evictAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</PRE> |
| <DL> |
| <DD><P>Evict the given objects.</P> |
| <P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer |
| needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only |
| affects objects which are managed and unmodified. |
| </P> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pcs</CODE> - The persistent classes which will be evicted</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="evictAll(java.util.Collection)"><!-- --></A><H3> |
| evictAll</H3> |
| <PRE> |
| void <B>evictAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</PRE> |
| <DL> |
| <DD><P>Evict the given objects.</P> |
| <P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer |
| needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only |
| affects objects which are managed and unmodified. |
| </P> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pcs</CODE> - A collection of persistent classes which will be evicted.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="evictAll()"><!-- --></A><H3> |
| evictAll</H3> |
| <PRE> |
| void <B>evictAll</B>()</PRE> |
| <DL> |
| <DD><P>Evict all clean objects.</P> |
| <P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer |
| needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only |
| affects objects which are managed and unmodified. |
| </P> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="evictAll(java.lang.Class)"><!-- --></A><H3> |
| evictAll</H3> |
| <PRE> |
| void <B>evictAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls)</PRE> |
| <DL> |
| <DD><P>Evict all persistent-clean and persistent-nontransactional |
| instances in the extent of the given class (including subclasses).</P> |
| <P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer |
| needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only |
| affects objects which are managed and unmodified. |
| </P> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>cls</CODE> - All clean instances of this class will be evicted.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="evictAll(org.apache.openjpa.persistence.Extent)"><!-- --></A><H3> |
| evictAll</H3> |
| <PRE> |
| void <B>evictAll</B>(<A HREF="../../../../org/apache/openjpa/persistence/Extent.html" title="interface in org.apache.openjpa.persistence">Extent</A> extent)</PRE> |
| <DL> |
| <DD><P>Evict all persistent-clean and persistent-nontransactional |
| instances in the given <A HREF="../../../../org/apache/openjpa/persistence/Extent.html" title="interface in org.apache.openjpa.persistence"><CODE>Extent</CODE></A>.</P> |
| <P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer |
| needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only |
| affects objects which are managed and unmodified. |
| </P> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>extent</CODE> - Extend which contains the persistent classes to evict.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="detachCopy(java.lang.Object)"><!-- --></A><A NAME="detachCopy(T)"><!-- --></A><H3> |
| detachCopy</H3> |
| <PRE> |
| <T> T <B>detachCopy</B>(T pc)</PRE> |
| <DL> |
| <DD>Detach the specified object from the entity manager, detaching based on |
| the AutoDetach value specified and returning a copy of the detached |
| entity. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pc</CODE> - the instance to detach |
| <DT><B>Returns:</B><DD>the detached instance<DT><B>Since:</B></DT> |
| <DD>2.0.0 |
| |
| Note: This method provides the same contract as the detach method with |
| signature: public <T> T detach(T pc) available in the 1.x release of |
| OpenJPA. The JPA 2.0 specification defined a method with an incompatible |
| signature and different semantics. The specification defined method |
| trumped the existing method.</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="detachAll(java.util.Collection)"><!-- --></A><H3> |
| detachAll</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>detachAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</PRE> |
| <DL> |
| <DD>Detach the specified objects from the entity manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pcs</CODE> - the instances to detach |
| <DT><B>Returns:</B><DD>the detached instances</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="detachAll(java.lang.Object...)"><!-- --></A><H3> |
| detachAll</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>detachAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</PRE> |
| <DL> |
| <DD>Detach the specified objects from the entity manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pcs</CODE> - the instances to detach |
| <DT><B>Returns:</B><DD>the detached instances</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="mergeAll(java.lang.Object...)"><!-- --></A><H3> |
| mergeAll</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>mergeAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</PRE> |
| <DL> |
| <DD>Merge the specified objects into the entity manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pcs</CODE> - instances to import |
| <DT><B>Returns:</B><DD>the re-attached instances</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="mergeAll(java.util.Collection)"><!-- --></A><H3> |
| mergeAll</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>mergeAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</PRE> |
| <DL> |
| <DD>Merge the specified detached objects into the entity manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pcs</CODE> - Collection of instances to import |
| <DT><B>Returns:</B><DD>the re-attached instances</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="transactional(java.lang.Object, boolean)"><!-- --></A><H3> |
| transactional</H3> |
| <PRE> |
| void <B>transactional</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, |
| boolean updateVersion)</PRE> |
| <DL> |
| <DD>Make the given object transactional. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pc</CODE> - instance to make transactional<DD><CODE>updateVersion</CODE> - if true, the instance's version will be |
| incremented at the next flush</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="transactionalAll(java.util.Collection, boolean)"><!-- --></A><H3> |
| transactionalAll</H3> |
| <PRE> |
| void <B>transactionalAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs, |
| boolean updateVersion)</PRE> |
| <DL> |
| <DD>Make the given objects transactional. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>objs</CODE> - instances to make transactional<DD><CODE>updateVersion</CODE> - if true, the instance's version will be |
| incremented at the next flush</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="transactionalAll(java.lang.Object[], boolean)"><!-- --></A><H3> |
| transactionalAll</H3> |
| <PRE> |
| void <B>transactionalAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] objs, |
| boolean updateVersion)</PRE> |
| <DL> |
| <DD>Make the given objects transactional. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>objs</CODE> - instances to make transactional<DD><CODE>updateVersion</CODE> - if true, the instance's version will be |
| incremented at the next flush</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nontransactional(java.lang.Object)"><!-- --></A><H3> |
| nontransactional</H3> |
| <PRE> |
| void <B>nontransactional</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</PRE> |
| <DL> |
| <DD>Make the given object nontransactional. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nontransactionalAll(java.util.Collection)"><!-- --></A><H3> |
| nontransactionalAll</H3> |
| <PRE> |
| void <B>nontransactionalAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> objs)</PRE> |
| <DL> |
| <DD>Make the given objects nontransactional. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nontransactionalAll(java.lang.Object[])"><!-- --></A><H3> |
| nontransactionalAll</H3> |
| <PRE> |
| void <B>nontransactionalAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] objs)</PRE> |
| <DL> |
| <DD>Make the given objects nontransactional. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNamedGenerator(java.lang.String)"><!-- --></A><H3> |
| getNamedGenerator</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/Generator.html" title="interface in org.apache.openjpa.persistence">Generator</A> <B>getNamedGenerator</B>(<A HREF="http://download.oracle.com/javase/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 named generator defined in the metadata. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getIdGenerator(java.lang.Class)"><!-- --></A><H3> |
| getIdGenerator</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/Generator.html" title="interface in org.apache.openjpa.persistence">Generator</A> <B>getIdGenerator</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> forClass)</PRE> |
| <DL> |
| <DD>Returns a <A HREF="../../../../org/apache/openjpa/persistence/Generator.html" title="interface in org.apache.openjpa.persistence"><CODE>Generator</CODE></A> for the datastore identity values of the |
| specified type, or null if the type is unmanaged or its identity |
| cannot be represented by a sequence. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFieldGenerator(java.lang.Class, java.lang.String)"><!-- --></A><H3> |
| getFieldGenerator</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/Generator.html" title="interface in org.apache.openjpa.persistence">Generator</A> <B>getFieldGenerator</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> forClass, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName)</PRE> |
| <DL> |
| <DD>Returns a <A HREF="../../../../org/apache/openjpa/persistence/Generator.html" title="interface in org.apache.openjpa.persistence"><CODE>Generator</CODE></A> for the generated values of the specified |
| type, or null if the field is not generated. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createExtent(java.lang.Class, boolean)"><!-- --></A><H3> |
| createExtent</H3> |
| <PRE> |
| <T> <A HREF="../../../../org/apache/openjpa/persistence/Extent.html" title="interface in org.apache.openjpa.persistence">Extent</A><T> <B>createExtent</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls, |
| boolean subs)</PRE> |
| <DL> |
| <DD>Return an extent of the given class, optionally including subclasses. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createQuery(java.lang.String)"><!-- --></A><H3> |
| createQuery</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A> <B>createQuery</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> query)</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#createQuery(java.lang.String)" title="class or interface in javax.persistence">createQuery</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createNamedQuery(java.lang.String)"><!-- --></A><H3> |
| createNamedQuery</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A> <B>createNamedQuery</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#createNamedQuery(java.lang.String)" title="class or interface in javax.persistence">createNamedQuery</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createNativeQuery(java.lang.String)"><!-- --></A><H3> |
| createNativeQuery</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A> <B>createNativeQuery</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sql)</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#createNativeQuery(java.lang.String)" title="class or interface in javax.persistence">createNativeQuery</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createNativeQuery(java.lang.String, java.lang.Class)"><!-- --></A><H3> |
| createNativeQuery</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A> <B>createNativeQuery</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sql, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> resultClass)</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#createNativeQuery(java.lang.String, java.lang.Class)" title="class or interface in javax.persistence">createNativeQuery</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createNativeQuery(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| createNativeQuery</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A> <B>createNativeQuery</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sql, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> resultMapping)</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#createNativeQuery(java.lang.String, java.lang.String)" title="class or interface in javax.persistence">createNativeQuery</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createQuery(javax.persistence.Query)"><!-- --></A><H3> |
| createQuery</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A> <B>createQuery</B>(<A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/Query.html?is-external=true" title="class or interface in javax.persistence">Query</A> query)</PRE> |
| <DL> |
| <DD>Create a new query from the given one. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createQuery(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| createQuery</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A> <B>createQuery</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> language, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> query)</PRE> |
| <DL> |
| <DD>Create a new query in the given language. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createDynamicQuery(org.apache.openjpa.persistence.query.QueryDefinition)"><!-- --></A><H3> |
| createDynamicQuery</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</A> <B>createDynamicQuery</B>(<A HREF="../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> dynamic)</PRE> |
| <DL> |
| <DD>Create an executable query from a dynamically defined query. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>2.0.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLockMode(java.lang.Object)"><!-- --></A><H3> |
| getLockMode</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/LockModeType.html?is-external=true" title="class or interface in javax.persistence">LockModeType</A> <B>getLockMode</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</PRE> |
| <DL> |
| <DD>Return the lock mode of the given instance, or null if not locked. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#getLockMode(java.lang.Object)" title="class or interface in javax.persistence">getLockMode</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lock(java.lang.Object, javax.persistence.LockModeType, int)"><!-- --></A><H3> |
| lock</H3> |
| <PRE> |
| void <B>lock</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, |
| <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/LockModeType.html?is-external=true" title="class or interface in javax.persistence">LockModeType</A> mode, |
| int timeout)</PRE> |
| <DL> |
| <DD>Ensure that the given instance is locked at the given lock level. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pc</CODE> - the object to lock<DD><CODE>mode</CODE> - the lock level to use<DD><CODE>timeout</CODE> - the number of milliseconds to wait for the lock before |
| giving up, or -1 for no limit</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lock(java.lang.Object)"><!-- --></A><H3> |
| lock</H3> |
| <PRE> |
| void <B>lock</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc)</PRE> |
| <DL> |
| <DD>Ensure that the given instance is locked at the current lock level, as |
| set in the <A HREF="../../../../org/apache/openjpa/persistence/FetchPlan.html" title="interface in org.apache.openjpa.persistence"><CODE>FetchPlan</CODE></A> for the entity manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lockAll(java.util.Collection, javax.persistence.LockModeType, int)"><!-- --></A><H3> |
| lockAll</H3> |
| <PRE> |
| void <B>lockAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs, |
| <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/LockModeType.html?is-external=true" title="class or interface in javax.persistence">LockModeType</A> mode, |
| int timeout)</PRE> |
| <DL> |
| <DD>Ensure that the given instances are locked at the given lock level. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pcs</CODE> - the objects to lock<DD><CODE>mode</CODE> - the lock level to use<DD><CODE>timeout</CODE> - the number of milliseconds to wait for the lock before |
| giving up, or -1 for no limit</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lockAll(java.util.Collection)"><!-- --></A><H3> |
| lockAll</H3> |
| <PRE> |
| void <B>lockAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> pcs)</PRE> |
| <DL> |
| <DD>Ensure that the given instances are locked at the current lock level, |
| as set in the <A HREF="../../../../org/apache/openjpa/persistence/FetchPlan.html" title="interface in org.apache.openjpa.persistence"><CODE>FetchPlan</CODE></A> for the entity manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lockAll(java.lang.Object[], javax.persistence.LockModeType, int)"><!-- --></A><H3> |
| lockAll</H3> |
| <PRE> |
| void <B>lockAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] pcs, |
| <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/LockModeType.html?is-external=true" title="class or interface in javax.persistence">LockModeType</A> mode, |
| int timeout)</PRE> |
| <DL> |
| <DD>Ensure that the given instances are locked at the given lock level. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pcs</CODE> - the objects to lock<DD><CODE>mode</CODE> - the lock level to use<DD><CODE>timeout</CODE> - the number of milliseconds to wait for the lock before |
| giving up, or -1 for no limit</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lockAll(java.lang.Object...)"><!-- --></A><H3> |
| lockAll</H3> |
| <PRE> |
| void <B>lockAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>... pcs)</PRE> |
| <DL> |
| <DD>Ensure that the given instances are locked at the current lock level, |
| as set in the <A HREF="../../../../org/apache/openjpa/persistence/FetchPlan.html" title="interface in org.apache.openjpa.persistence"><CODE>FetchPlan</CODE></A> for the entity manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="cancelAll()"><!-- --></A><H3> |
| cancelAll</H3> |
| <PRE> |
| boolean <B>cancelAll</B>()</PRE> |
| <DL> |
| <DD>Cancel all pending data store statements. If statements are cancelled |
| while a flush is in progress, the transaction rollback only flag will |
| be set. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if any statements were cancelled, false otherwise</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnection()"><!-- --></A><H3> |
| getConnection</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getConnection</B>()</PRE> |
| <DL> |
| <DD>Return the connection in use by the entity manager, or a new |
| connection if none. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getManagedObjects()"><!-- --></A><H3> |
| getManagedObjects</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getManagedObjects</B>()</PRE> |
| <DL> |
| <DD>Return a set of all managed instances. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTransactionalObjects()"><!-- --></A><H3> |
| getTransactionalObjects</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getTransactionalObjects</B>()</PRE> |
| <DL> |
| <DD>Return a set of current transaction instances. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPendingTransactionalObjects()"><!-- --></A><H3> |
| getPendingTransactionalObjects</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getPendingTransactionalObjects</B>()</PRE> |
| <DL> |
| <DD>Return a set of instances which will become transactional upon |
| the next transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDirtyObjects()"><!-- --></A><H3> |
| getDirtyObjects</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <B>getDirtyObjects</B>()</PRE> |
| <DL> |
| <DD>Return a set of current dirty instances. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOrderDirtyObjects()"><!-- --></A><H3> |
| getOrderDirtyObjects</H3> |
| <PRE> |
| boolean <B>getOrderDirtyObjects</B>()</PRE> |
| <DL> |
| <DD>Whether dirty objects will be returned in the order they were dirtied. |
| Default is determined by the store manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setOrderDirtyObjects(boolean)"><!-- --></A><H3> |
| setOrderDirtyObjects</H3> |
| <PRE> |
| void <B>setOrderDirtyObjects</B>(boolean order)</PRE> |
| <DL> |
| <DD>Whether dirty objects will be returned in the order they were dirtied. |
| Default is determined by the store manager. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="dirtyClass(java.lang.Class)"><!-- --></A><H3> |
| dirtyClass</H3> |
| <PRE> |
| void <B>dirtyClass</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> cls)</PRE> |
| <DL> |
| <DD>Mark the given class as dirty within the current transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPersistedClasses()"><!-- --></A><H3> |
| getPersistedClasses</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>> <B>getPersistedClasses</B>()</PRE> |
| <DL> |
| <DD>Return the set of classes that have been made persistent in the current |
| transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRemovedClasses()"><!-- --></A><H3> |
| getRemovedClasses</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>> <B>getRemovedClasses</B>()</PRE> |
| <DL> |
| <DD>Return the set of classes that have been deleted in the current |
| transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getUpdatedClasses()"><!-- --></A><H3> |
| getUpdatedClasses</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>> <B>getUpdatedClasses</B>()</PRE> |
| <DL> |
| <DD>Return the set of classes for objects that have been modified |
| in the current transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createInstance(java.lang.Class)"><!-- --></A><H3> |
| createInstance</H3> |
| <PRE> |
| <T> T <B>createInstance</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> cls)</PRE> |
| <DL> |
| <DD>Create a new instance of type <code>cls</code>. If <code>cls</code> is |
| an interface or an abstract class whose abstract methods follow the |
| JavaBeans convention, this method will create a concrete implementation |
| according to the metadata that defines the class. If <code>cls</code> |
| is a non-final concrete type that has metadata but does not implement |
| <A HREF="../../../../org/apache/openjpa/enhance/PersistenceCapable.html" title="interface in org.apache.openjpa.enhance"><CODE>PersistenceCapable</CODE></A>, this method will |
| create a subclass of the type that does implement |
| <A HREF="../../../../org/apache/openjpa/enhance/PersistenceCapable.html" title="interface in org.apache.openjpa.enhance"><CODE>PersistenceCapable</CODE></A>, and will attempt |
| to redefine the methods in <code>cls</code> to enable persistent |
| attribute tracking. Otherwise, if <code>cls</code> is a managed type, |
| this will return an instance of the specified class. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>cls</code> is not a managed |
| type or interface.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="dirty(java.lang.Object, java.lang.String)"><!-- --></A><H3> |
| dirty</H3> |
| <PRE> |
| void <B>dirty</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> field)</PRE> |
| <DL> |
| <DD>Make the named field of the given object dirty. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getObjectId(java.lang.Object)"><!-- --></A><H3> |
| getObjectId</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getObjectId</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
| <DL> |
| <DD>Return the oid of the given instance. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isDirty(java.lang.Object)"><!-- --></A><H3> |
| isDirty</H3> |
| <PRE> |
| boolean <B>isDirty</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
| <DL> |
| <DD>Return whether the given object is dirty. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTransactional(java.lang.Object)"><!-- --></A><H3> |
| isTransactional</H3> |
| <PRE> |
| boolean <B>isTransactional</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
| <DL> |
| <DD>Return whether the given object is transactional. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isPersistent(java.lang.Object)"><!-- --></A><H3> |
| isPersistent</H3> |
| <PRE> |
| boolean <B>isPersistent</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
| <DL> |
| <DD>Return whether the given object is persistent. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isNewlyPersistent(java.lang.Object)"><!-- --></A><H3> |
| isNewlyPersistent</H3> |
| <PRE> |
| boolean <B>isNewlyPersistent</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
| <DL> |
| <DD>Return whether the given object was made persistent in the current |
| transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isRemoved(java.lang.Object)"><!-- --></A><H3> |
| isRemoved</H3> |
| <PRE> |
| boolean <B>isRemoved</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
| <DL> |
| <DD>Return whether the given object is deleted. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isDetached(java.lang.Object)"><!-- --></A><H3> |
| isDetached</H3> |
| <PRE> |
| boolean <B>isDetached</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
| <DL> |
| <DD>Returns <code>true</code> if <code>pc</code> is a detached object |
| (one that can be reattached to a <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence"><CODE>EntityManager</CODE></A> via a call |
| to <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#merge(T)" title="class or interface in javax.persistence"><CODE>EntityManager.merge(T)</CODE></A>); otherwise returns |
| <code>false</code>. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getVersion(java.lang.Object)"><!-- --></A><H3> |
| getVersion</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getVersion</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
| <DL> |
| <DD>Returns the current version indicator for <code>o</code>. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConfiguration()"><!-- --></A><H3> |
| getConfiguration</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf">OpenJPAConfiguration</A> <B>getConfiguration</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRestoreState(int)"><!-- --></A><H3> |
| setRestoreState</H3> |
| <PRE> |
| void <B>setRestoreState</B>(int restore)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setRestoreState(org.apache.openjpa.persistence.RestoreStateType)"><CODE>setRestoreState(RestoreStateType)</CODE></A> instead.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDetachState(int)"><!-- --></A><H3> |
| setDetachState</H3> |
| <PRE> |
| void <B>setDetachState</B>(int detach)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setDetachState(org.apache.openjpa.persistence.DetachStateType)"><CODE>setDetachState(DetachStateType)</CODE></A> instead.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAutoClear(int)"><!-- --></A><H3> |
| setAutoClear</H3> |
| <PRE> |
| void <B>setAutoClear</B>(int autoClear)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setAutoClear(org.apache.openjpa.persistence.AutoClearType)"><CODE>setAutoClear(AutoClearType)</CODE></A> instead.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAutoDetach(int)"><!-- --></A><H3> |
| setAutoDetach</H3> |
| <PRE> |
| void <B>setAutoDetach</B>(int autoDetachFlags)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType)"><CODE>setAutoDetach(AutoDetachType)</CODE></A> or |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setAutoDetach(java.util.EnumSet)"><CODE>setAutoDetach(java.util.EnumSet)</CODE></A> instead.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAutoDetach(int, boolean)"><!-- --></A><H3> |
| setAutoDetach</H3> |
| <PRE> |
| void <B>setAutoDetach</B>(int flag, |
| boolean on)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType, boolean)"><CODE>setAutoDetach(AutoDetachType, boolean)</CODE></A> instead.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isLargeTransaction()"><!-- --></A><H3> |
| isLargeTransaction</H3> |
| <PRE> |
| boolean <B>isLargeTransaction</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#isTrackChangesByType()"><CODE>isTrackChangesByType()</CODE></A> instead.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setLargeTransaction(boolean)"><!-- --></A><H3> |
| setLargeTransaction</H3> |
| <PRE> |
| void <B>setLargeTransaction</B>(boolean value)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManager.html#setTrackChangesByType(boolean)"><CODE>setTrackChangesByType(boolean)</CODE></A> instead.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addTransactionListener(java.lang.Object)"><!-- --></A><H3> |
| addTransactionListener</H3> |
| <PRE> |
| void <B>addTransactionListener</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeTransactionListener(java.lang.Object)"><!-- --></A><H3> |
| removeTransactionListener</H3> |
| <PRE> |
| void <B>removeTransactionListener</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTransactionListenerCallbackMode()"><!-- --></A><H3> |
| getTransactionListenerCallbackMode</H3> |
| <PRE> |
| int <B>getTransactionListenerCallbackMode</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setTransactionListenerCallbackMode(int)"><!-- --></A><H3> |
| setTransactionListenerCallbackMode</H3> |
| <PRE> |
| void <B>setTransactionListenerCallbackMode</B>(int callbackMode)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addLifecycleListener(java.lang.Object, java.lang.Class...)"><!-- --></A><H3> |
| addLifecycleListener</H3> |
| <PRE> |
| void <B>addLifecycleListener</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>... classes)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeLifecycleListener(java.lang.Object)"><!-- --></A><H3> |
| removeLifecycleListener</H3> |
| <PRE> |
| void <B>removeLifecycleListener</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> listener)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLifecycleListenerCallbackMode()"><!-- --></A><H3> |
| getLifecycleListenerCallbackMode</H3> |
| <PRE> |
| int <B>getLifecycleListenerCallbackMode</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setLifecycleListenerCallbackMode(int)"><!-- --></A><H3> |
| setLifecycleListenerCallbackMode</H3> |
| <PRE> |
| void <B>setLifecycleListenerCallbackMode</B>(int callbackMode)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>cast to <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><CODE>OpenJPAEntityManagerSPI</CODE></A> instead. This |
| method pierces the published-API boundary, as does the SPI cast.</I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="begin()"><!-- --></A><H3> |
| begin</H3> |
| <PRE> |
| void <B>begin</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#begin()" title="class or interface in javax.persistence"><CODE>EntityTransaction.begin()</CODE></A> |
| instead: <code>em.getTransaction().begin()</code></I> |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#begin()" title="class or interface in javax.persistence">begin</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true" title="class or interface in javax.persistence">EntityTransaction</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="commit()"><!-- --></A><H3> |
| commit</H3> |
| <PRE> |
| void <B>commit</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#commit()" title="class or interface in javax.persistence"><CODE>EntityTransaction.commit()</CODE></A> |
| instead: <code>em.getTransaction().commit()</code></I> |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#commit()" title="class or interface in javax.persistence">commit</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true" title="class or interface in javax.persistence">EntityTransaction</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="rollback()"><!-- --></A><H3> |
| rollback</H3> |
| <PRE> |
| void <B>rollback</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#rollback()" title="class or interface in javax.persistence"><CODE>EntityTransaction.rollback()</CODE></A> |
| instead: <code>em.getTransaction().rollback()</code></I> |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#rollback()" title="class or interface in javax.persistence">rollback</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true" title="class or interface in javax.persistence">EntityTransaction</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isActive()"><!-- --></A><H3> |
| isActive</H3> |
| <PRE> |
| boolean <B>isActive</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#isActive()" title="class or interface in javax.persistence"><CODE>EntityTransaction.isActive()</CODE></A> |
| instead: <code>em.getTransaction().isActive()</code></I> |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#isActive()" title="class or interface in javax.persistence">isActive</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true" title="class or interface in javax.persistence">EntityTransaction</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="commitAndResume()"><!-- --></A><H3> |
| commitAndResume</H3> |
| <PRE> |
| void <B>commitAndResume</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityTransaction.html#commitAndResume()"><CODE>OpenJPAEntityTransaction.commitAndResume()</CODE></A> instead: |
| <code>em.getTransaction().commitAndResume()</code></I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="rollbackAndResume()"><!-- --></A><H3> |
| rollbackAndResume</H3> |
| <PRE> |
| void <B>rollbackAndResume</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityTransaction.html#rollbackAndResume()"><CODE>OpenJPAEntityTransaction.rollbackAndResume()</CODE></A> |
| instead: <code>em.getTransaction().rollbackAndResume()</code></I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRollbackOnly()"><!-- --></A><H3> |
| setRollbackOnly</H3> |
| <PRE> |
| void <B>setRollbackOnly</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#setRollbackOnly()" title="class or interface in javax.persistence"><CODE>EntityTransaction.setRollbackOnly()</CODE></A> |
| instead: <code>em.getTransaction().setRollbackOnly()</code></I> |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#setRollbackOnly()" title="class or interface in javax.persistence">setRollbackOnly</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true" title="class or interface in javax.persistence">EntityTransaction</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRollbackOnly(java.lang.Throwable)"><!-- --></A><H3> |
| setRollbackOnly</H3> |
| <PRE> |
| void <B>setRollbackOnly</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityTransaction.html#setRollbackOnly(java.lang.Throwable)"><CODE>OpenJPAEntityTransaction.setRollbackOnly(java.lang.Throwable)</CODE></A> |
| instead: <code>em.getTransaction().setRollbackOnly()</code></I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRollbackCause()"><!-- --></A><H3> |
| getRollbackCause</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> <B>getRollbackCause</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityTransaction.html#getRollbackCause()"><CODE>OpenJPAEntityTransaction.getRollbackCause()</CODE></A> |
| instead: <code>em.getTransaction().getRollbackCause()</code></I> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRollbackOnly()"><!-- --></A><H3> |
| getRollbackOnly</H3> |
| <PRE> |
| boolean <B>getRollbackOnly</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>use <A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#getRollbackOnly()" title="class or interface in javax.persistence"><CODE>EntityTransaction.getRollbackOnly()</CODE></A> |
| instead: <code>em.getTransaction().getRollbackOnly()</code></I> |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true#getRollbackOnly()" title="class or interface in javax.persistence">getRollbackOnly</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html?is-external=true" title="class or interface in javax.persistence">EntityTransaction</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getCriteriaBuilder()"><!-- --></A><H3> |
| getCriteriaBuilder</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/persistence/criteria/OpenJPACriteriaBuilder.html" title="interface in org.apache.openjpa.persistence.criteria">OpenJPACriteriaBuilder</A> <B>getCriteriaBuilder</B>()</PRE> |
| <DL> |
| <DD>Gets the QueryBuilder with OpenJPA-extended capabilities. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true#getCriteriaBuilder()" title="class or interface in javax.persistence">getCriteriaBuilder</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javaee/6/api/javax/persistence/EntityManager.html?is-external=true" title="class or interface in javax.persistence">EntityManager</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>2.0.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSupportedProperties()"><!-- --></A><H3> |
| getSupportedProperties</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>getSupportedProperties</B>()</PRE> |
| <DL> |
| <DD>Get the properties supported by this runtime. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>2.0.0</DD> |
| </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/OpenJPAEntityManager.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/NoResultException.html" title="class in org.apache.openjpa.persistence"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/openjpa/persistence/OpenJPAEntityManagerFactory.html" title="interface 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/OpenJPAEntityManager.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="OpenJPAEntityManager.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 | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2006–2015 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved. |
| </BODY> |
| </HTML> |