| <!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.5.0_41) on Fri Apr 12 14:46:22 CDT 2013 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| Compatibility (OpenJPA Parent POM 1.2.3 API) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.apache.openjpa.conf.Compatibility class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="Compatibility (OpenJPA Parent POM 1.2.3 API)"; |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| |
| |
| <!-- ========= 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/Compatibility.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/conf/CacheMarshallersValue.html" title="class in org.apache.openjpa.conf"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/openjpa/conf/DetachOptions.html" title="class in org.apache.openjpa.conf"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/openjpa/conf/Compatibility.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="Compatibility.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> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.openjpa.conf</FONT> |
| <BR> |
| Class Compatibility</H2> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.openjpa.conf.Compatibility</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>Compatibility</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL> |
| </PRE> |
| |
| <P> |
| Struct encompassing backwards-compatibility options. |
| <P> |
| |
| <P> |
| <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/conf/Compatibility.html#JPQL_EXTENDED">JPQL_EXTENDED</A></B></CODE> |
| |
| <BR> |
| Allow non-compliant extensions of JPQL.</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/conf/Compatibility.html#JPQL_STRICT">JPQL_STRICT</A></B></CODE> |
| |
| <BR> |
| If a JPQL statement is not compliant with the JPA specification, |
| fail to parse it.</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/conf/Compatibility.html#JPQL_WARN">JPQL_WARN</A></B></CODE> |
| |
| <BR> |
| If a JPQL statement is not compliant with the JPA specification, |
| warn the first time that statement is parsed.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#Compatibility()">Compatibility</A></B>()</CODE> |
| |
| <BR> |
| </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> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#getCloseOnManagedCommit()">getCloseOnManagedCommit</A></B>()</CODE> |
| |
| <BR> |
| Whether to close the broker when the managed transaction commits.</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/conf/Compatibility.html#getCopyObjectIds()">getCopyObjectIds</A></B>()</CODE> |
| |
| <BR> |
| Whether to copy identity objects before returning them to client 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/conf/Compatibility.html#getFlushBeforeDetach()">getFlushBeforeDetach</A></B>()</CODE> |
| |
| <BR> |
| Whether OpenJPA should flush changes before detaching or serializing an |
| entity.</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/conf/Compatibility.html#getJPQL()">getJPQL</A></B>()</CODE> |
| |
| <BR> |
| Whether or not JPQL extensions are allowed.</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/conf/Compatibility.html#getNonOptimisticVersionCheck()">getNonOptimisticVersionCheck</A></B>()</CODE> |
| |
| <BR> |
| Whether or not to perform a version check on instances being updated |
| in a datastore 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/conf/Compatibility.html#getOverrideContextClassloader()">getOverrideContextClassloader</A></B>()</CODE> |
| |
| <BR> |
| Whether to temporally override the thread's Context Classloader when processing |
| ORM XML documents to avoid deadlock potential with certain Classloader hierarchy |
| configurations.</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/conf/Compatibility.html#getQuotedNumbersInQueries()">getQuotedNumbersInQueries</A></B>()</CODE> |
| |
| <BR> |
| Whether to interpret quoted numbers in query strings as numbers.</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/conf/Compatibility.html#getReloadOnDetach()">getReloadOnDetach</A></B>()</CODE> |
| |
| <BR> |
| Whether OpenJPA should attempt to load fields when the DetachState |
| option is set to loaded.</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/conf/Compatibility.html#getReorderMetaDataResolution()">getReorderMetaDataResolution</A></B>()</CODE> |
| |
| <BR> |
| Whether OpenJPA should reorder entities in MetaDataRepository.processBuffer() to ensure that the MetaData for |
| entities with foreign keys in their identity are processed after the entities they depend on.</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/conf/Compatibility.html#getResetFlushFlagForCascadePersist()">getResetFlushFlagForCascadePersist</A></B>()</CODE> |
| |
| <BR> |
| Whether OpenJPA should reset the internal state (flush flag) when cascading a persist to another |
| Entity.</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/conf/Compatibility.html#getStoreMapCollectionInEntityAsBlob()">getStoreMapCollectionInEntityAsBlob</A></B>()</CODE> |
| |
| <BR> |
| Whether if map and collection in entity are stored as blob.</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/conf/Compatibility.html#getStrictIdentityValues()">getStrictIdentityValues</A></B>()</CODE> |
| |
| <BR> |
| Whether to require exact identity value types when creating object |
| ids from a class and value.</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/conf/Compatibility.html#getValidateFalseReturnsHollow()">getValidateFalseReturnsHollow</A></B>()</CODE> |
| |
| <BR> |
| Whether to return hollow instances to broker lookups with a |
| <code>validate</code> parameter of false.</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/conf/Compatibility.html#getValidateTrueChecksStore()">getValidateTrueChecksStore</A></B>()</CODE> |
| |
| <BR> |
| Whether to check the datastore for the existence of a nontransactional |
| cached object in broker lookups with a <code>validate</code> parameter |
| of true.</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/conf/Compatibility.html#setCloseOnManagedCommit(boolean)">setCloseOnManagedCommit</A></B>(boolean close)</CODE> |
| |
| <BR> |
| Whether to close the broker when the managed transaction commits.</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/conf/Compatibility.html#setCopyObjectIds(boolean)">setCopyObjectIds</A></B>(boolean copy)</CODE> |
| |
| <BR> |
| Whether to copy identity objects before returning them to client code.</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/conf/Compatibility.html#setFlushBeforeDetach(boolean)">setFlushBeforeDetach</A></B>(boolean beforeDetach)</CODE> |
| |
| <BR> |
| Whether OpenJPA should flush changes before detaching or serializing an |
| 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/conf/Compatibility.html#setJPQL(java.lang.String)">setJPQL</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> jpql)</CODE> |
| |
| <BR> |
| Whether or not JPQL extensions are allowed.</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/conf/Compatibility.html#setNonOptimisticVersionCheck(boolean)">setNonOptimisticVersionCheck</A></B>(boolean nonOptimisticVersionCheck)</CODE> |
| |
| <BR> |
| Whether or not to perform a version check on instances being updated |
| in a datastore 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/conf/Compatibility.html#setOverrideContextClassloader(boolean)">setOverrideContextClassloader</A></B>(boolean overrideContextClassloader)</CODE> |
| |
| <BR> |
| Whether to temporally override the thread's Context Classloader when processing |
| ORM XML documents to avoid deadlock potential with certain Classloader hierarchy |
| configurations.</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/conf/Compatibility.html#setQuotedNumbersInQueries(boolean)">setQuotedNumbersInQueries</A></B>(boolean quotedNumbers)</CODE> |
| |
| <BR> |
| Whether to interpret quoted numbers in query strings as numbers.</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/conf/Compatibility.html#setReloadOnDetach(boolean)">setReloadOnDetach</A></B>(boolean reloadOnDetach)</CODE> |
| |
| <BR> |
| Whether OpenJPA should attempt to load fields when the DetachState |
| option is set to loaded.</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/conf/Compatibility.html#setReorderMetaDataResolution(boolean)">setReorderMetaDataResolution</A></B>(boolean reorderProcessBuffer)</CODE> |
| |
| <BR> |
| Whether OpenJPA should reorder entities in MetaDataRepository.processBuffer() to ensure that the MetaData for |
| entities with foreign keys in their identity are processed after the entities they depend on.</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/conf/Compatibility.html#setResetFlushFlagForCascadePersist(boolean)">setResetFlushFlagForCascadePersist</A></B>(boolean b)</CODE> |
| |
| <BR> |
| Whether OpenJPA should reset the internal state (flush flag) when cascading a persist to another |
| 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/conf/Compatibility.html#setStoreMapCollectionInEntityAsBlob(boolean)">setStoreMapCollectionInEntityAsBlob</A></B>(boolean storeAsBlob)</CODE> |
| |
| <BR> |
| Whether if map and collection in entity are stored as blob.</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/conf/Compatibility.html#setStrictIdentityValues(boolean)">setStrictIdentityValues</A></B>(boolean strictVals)</CODE> |
| |
| <BR> |
| Whether to require exact identity value types when creating object |
| ids from a class and value.</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/conf/Compatibility.html#setValidateFalseReturnsHollow(boolean)">setValidateFalseReturnsHollow</A></B>(boolean hollow)</CODE> |
| |
| <BR> |
| Whether to return hollow instances to broker lookups with a |
| <code>validate</code> parameter of false.</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/conf/Compatibility.html#setValidateTrueChecksStore(boolean)">setValidateTrueChecksStore</A></B>(boolean check)</CODE> |
| |
| <BR> |
| Whether to check the datastore for the existence of a nontransactional |
| cached object in broker lookups with a <code>validate</code> parameter |
| of true.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</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="JPQL_STRICT"><!-- --></A><H3> |
| JPQL_STRICT</H3> |
| <PRE> |
| public static final int <B>JPQL_STRICT</B></PRE> |
| <DL> |
| <DD>If a JPQL statement is not compliant with the JPA specification, |
| fail to parse it. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.conf.Compatibility.JPQL_STRICT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JPQL_WARN"><!-- --></A><H3> |
| JPQL_WARN</H3> |
| <PRE> |
| public static final int <B>JPQL_WARN</B></PRE> |
| <DL> |
| <DD>If a JPQL statement is not compliant with the JPA specification, |
| warn the first time that statement is parsed. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.conf.Compatibility.JPQL_WARN">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JPQL_EXTENDED"><!-- --></A><H3> |
| JPQL_EXTENDED</H3> |
| <PRE> |
| public static final int <B>JPQL_EXTENDED</B></PRE> |
| <DL> |
| <DD>Allow non-compliant extensions of JPQL. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.conf.Compatibility.JPQL_EXTENDED">Constant Field Values</A></DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="Compatibility()"><!-- --></A><H3> |
| Compatibility</H3> |
| <PRE> |
| public <B>Compatibility</B>()</PRE> |
| <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="getStrictIdentityValues()"><!-- --></A><H3> |
| getStrictIdentityValues</H3> |
| <PRE> |
| public boolean <B>getStrictIdentityValues</B>()</PRE> |
| <DL> |
| <DD>Whether to require exact identity value types when creating object |
| ids from a class and value. Defaults to false. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setStrictIdentityValues(boolean)"><!-- --></A><H3> |
| setStrictIdentityValues</H3> |
| <PRE> |
| public void <B>setStrictIdentityValues</B>(boolean strictVals)</PRE> |
| <DL> |
| <DD>Whether to require exact identity value types when creating object |
| ids from a class and value. Defaults to false. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getQuotedNumbersInQueries()"><!-- --></A><H3> |
| getQuotedNumbersInQueries</H3> |
| <PRE> |
| public boolean <B>getQuotedNumbersInQueries</B>()</PRE> |
| <DL> |
| <DD>Whether to interpret quoted numbers in query strings as numbers. |
| OpenJPA versions 0.3.1 and prior treated them as numbers; more recent |
| versions treat them as strings. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setQuotedNumbersInQueries(boolean)"><!-- --></A><H3> |
| setQuotedNumbersInQueries</H3> |
| <PRE> |
| public void <B>setQuotedNumbersInQueries</B>(boolean quotedNumbers)</PRE> |
| <DL> |
| <DD>Whether to interpret quoted numbers in query strings as numbers. |
| OpenJPA versions 0.3.1 and prior treated them as numbers; more recent |
| versions treat them as strings. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getValidateFalseReturnsHollow()"><!-- --></A><H3> |
| getValidateFalseReturnsHollow</H3> |
| <PRE> |
| public boolean <B>getValidateFalseReturnsHollow</B>()</PRE> |
| <DL> |
| <DD>Whether to return hollow instances to broker lookups with a |
| <code>validate</code> parameter of false. OpenJPA versions prior to |
| 0.4.0 did not return hollow instances without special configuration |
| (the <code>ObjectLookupMode</code>). Beginning with 0.4.0, hollow |
| objects are the default. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setValidateFalseReturnsHollow(boolean)"><!-- --></A><H3> |
| setValidateFalseReturnsHollow</H3> |
| <PRE> |
| public void <B>setValidateFalseReturnsHollow</B>(boolean hollow)</PRE> |
| <DL> |
| <DD>Whether to return hollow instances to broker lookups with a |
| <code>validate</code> parameter of false. OpenJPA versions prior to |
| 0.4.0 did not return hollow instances without special configuration |
| (the <code>ObjectLookupMode</code>). Beginning with 0.4.0, hollow |
| objects are the default. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getValidateTrueChecksStore()"><!-- --></A><H3> |
| getValidateTrueChecksStore</H3> |
| <PRE> |
| public boolean <B>getValidateTrueChecksStore</B>()</PRE> |
| <DL> |
| <DD>Whether to check the datastore for the existence of a nontransactional |
| cached object in broker lookups with a <code>validate</code> parameter |
| of true. OpenJPA versions prior to 0.4.0 checked the datastore. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setValidateTrueChecksStore(boolean)"><!-- --></A><H3> |
| setValidateTrueChecksStore</H3> |
| <PRE> |
| public void <B>setValidateTrueChecksStore</B>(boolean check)</PRE> |
| <DL> |
| <DD>Whether to check the datastore for the existence of a nontransactional |
| cached object in broker lookups with a <code>validate</code> parameter |
| of true. OpenJPA versions prior to 0.4.0 checked the datastore. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getCopyObjectIds()"><!-- --></A><H3> |
| getCopyObjectIds</H3> |
| <PRE> |
| public boolean <B>getCopyObjectIds</B>()</PRE> |
| <DL> |
| <DD>Whether to copy identity objects before returning them to client code. |
| Versions of OpenJPA prior to 0.3.0 always copied identity objects. Also, |
| you should configure OpenJPA to copy identity objects if you mutate them |
| after use. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setCopyObjectIds(boolean)"><!-- --></A><H3> |
| setCopyObjectIds</H3> |
| <PRE> |
| public void <B>setCopyObjectIds</B>(boolean copy)</PRE> |
| <DL> |
| <DD>Whether to copy identity objects before returning them to client code. |
| Versions of OpenJPA prior to 0.3.0 always copied identity objects. Also, |
| you should configure OpenJPA to copy identity objects if you mutate them |
| after use. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getCloseOnManagedCommit()"><!-- --></A><H3> |
| getCloseOnManagedCommit</H3> |
| <PRE> |
| public boolean <B>getCloseOnManagedCommit</B>()</PRE> |
| <DL> |
| <DD>Whether to close the broker when the managed transaction commits. |
| Versions of OpenJPA prior to 0.3.0 did not close the broker. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setCloseOnManagedCommit(boolean)"><!-- --></A><H3> |
| setCloseOnManagedCommit</H3> |
| <PRE> |
| public void <B>setCloseOnManagedCommit</B>(boolean close)</PRE> |
| <DL> |
| <DD>Whether to close the broker when the managed transaction commits. |
| Versions of OpenJPA prior to 0.3.0 did not close the broker. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setNonOptimisticVersionCheck(boolean)"><!-- --></A><H3> |
| setNonOptimisticVersionCheck</H3> |
| <PRE> |
| public void <B>setNonOptimisticVersionCheck</B>(boolean nonOptimisticVersionCheck)</PRE> |
| <DL> |
| <DD>Whether or not to perform a version check on instances being updated |
| in a datastore transaction. Version of OpenJPA prior to 0.4.1 always |
| forced a version check. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNonOptimisticVersionCheck()"><!-- --></A><H3> |
| getNonOptimisticVersionCheck</H3> |
| <PRE> |
| public boolean <B>getNonOptimisticVersionCheck</B>()</PRE> |
| <DL> |
| <DD>Whether or not to perform a version check on instances being updated |
| in a datastore transaction. Version of OpenJPA prior to 0.4.1 always |
| forced a version check. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getJPQL()"><!-- --></A><H3> |
| getJPQL</H3> |
| <PRE> |
| public int <B>getJPQL</B>()</PRE> |
| <DL> |
| <DD>Whether or not JPQL extensions are allowed. Defaults to |
| <A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#JPQL_STRICT"><CODE>JPQL_STRICT</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#JPQL_WARN"><CODE>JPQL_WARN</CODE></A>, |
| <A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#JPQL_STRICT"><CODE>JPQL_STRICT</CODE></A>, |
| <A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#JPQL_EXTENDED"><CODE>JPQL_EXTENDED</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setJPQL(java.lang.String)"><!-- --></A><H3> |
| setJPQL</H3> |
| <PRE> |
| public void <B>setJPQL</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> jpql)</PRE> |
| <DL> |
| <DD>Whether or not JPQL extensions are allowed. Possible values: "warn", |
| "strict", "extended". |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#JPQL_WARN"><CODE>JPQL_WARN</CODE></A>, |
| <A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#JPQL_STRICT"><CODE>JPQL_STRICT</CODE></A>, |
| <A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#JPQL_EXTENDED"><CODE>JPQL_EXTENDED</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStoreMapCollectionInEntityAsBlob()"><!-- --></A><H3> |
| getStoreMapCollectionInEntityAsBlob</H3> |
| <PRE> |
| public boolean <B>getStoreMapCollectionInEntityAsBlob</B>()</PRE> |
| <DL> |
| <DD>Whether if map and collection in entity are stored as blob. |
| Defaults to <code>false</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setStoreMapCollectionInEntityAsBlob(boolean)"><!-- --></A><H3> |
| setStoreMapCollectionInEntityAsBlob</H3> |
| <PRE> |
| public void <B>setStoreMapCollectionInEntityAsBlob</B>(boolean storeAsBlob)</PRE> |
| <DL> |
| <DD>Whether if map and collection in entity are stored as blob. |
| Defaults to <code>false</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFlushBeforeDetach()"><!-- --></A><H3> |
| getFlushBeforeDetach</H3> |
| <PRE> |
| public boolean <B>getFlushBeforeDetach</B>()</PRE> |
| <DL> |
| <DD>Whether OpenJPA should flush changes before detaching or serializing an |
| entity. In JPA this is usually false, but other persistence frameworks |
| (ie JDO) may expect it to be true. |
| <P>Prior to version 1.0.3 and 1.2.0 changes were always flushed. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if changes should be flushed, otherwise false.<DT><B>Since:</B></DT> |
| <DD>1.0.3, 1.2.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFlushBeforeDetach(boolean)"><!-- --></A><H3> |
| setFlushBeforeDetach</H3> |
| <PRE> |
| public void <B>setFlushBeforeDetach</B>(boolean beforeDetach)</PRE> |
| <DL> |
| <DD>Whether OpenJPA should flush changes before detaching or serializing an |
| entity. In JPA this is usually false, but other persistence frameworks |
| (ie JDO) may expect it to be true. |
| <P>Prior to version 1.0.3 and 1.2.0 changes were always flushed. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>beforeDetach</CODE> - if true changes will be flushed before detaching or |
| serializing an entity.<DT><B>Since:</B></DT> |
| <DD>1.0.3, 1.2.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getReorderMetaDataResolution()"><!-- --></A><H3> |
| getReorderMetaDataResolution</H3> |
| <PRE> |
| public boolean <B>getReorderMetaDataResolution</B>()</PRE> |
| <DL> |
| <DD>Whether OpenJPA should reorder entities in MetaDataRepository.processBuffer() to ensure that the MetaData for |
| entities with foreign keys in their identity are processed after the entities they depend on. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if the reordering should be performed, false if not.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setReorderMetaDataResolution(boolean)"><!-- --></A><H3> |
| setReorderMetaDataResolution</H3> |
| <PRE> |
| public void <B>setReorderMetaDataResolution</B>(boolean reorderProcessBuffer)</PRE> |
| <DL> |
| <DD>Whether OpenJPA should reorder entities in MetaDataRepository.processBuffer() to ensure that the MetaData for |
| entities with foreign keys in their identity are processed after the entities they depend on. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>reorderProcessBuffer</CODE> - true if the reordering should be performed, false if not.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getReloadOnDetach()"><!-- --></A><H3> |
| getReloadOnDetach</H3> |
| <PRE> |
| public boolean <B>getReloadOnDetach</B>()</PRE> |
| <DL> |
| <DD>Whether OpenJPA should attempt to load fields when the DetachState |
| option is set to loaded. This also determines whether a |
| redundant copy of the version field is made. Defaults to true. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the _reloadOnDetach<DT><B>Since:</B></DT> |
| <DD>1.2.2</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setReloadOnDetach(boolean)"><!-- --></A><H3> |
| setReloadOnDetach</H3> |
| <PRE> |
| public void <B>setReloadOnDetach</B>(boolean reloadOnDetach)</PRE> |
| <DL> |
| <DD>Whether OpenJPA should attempt to load fields when the DetachState |
| option is set to loaded. This also determines whether a |
| redundant copy of the version field is made. Defaults to true. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>reloadOnDetach</CODE> - the _reloadOnDetach to set<DT><B>Since:</B></DT> |
| <DD>1.2.2</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOverrideContextClassloader()"><!-- --></A><H3> |
| getOverrideContextClassloader</H3> |
| <PRE> |
| public boolean <B>getOverrideContextClassloader</B>()</PRE> |
| <DL> |
| <DD>Whether to temporally override the thread's Context Classloader when processing |
| ORM XML documents to avoid deadlock potential with certain Classloader hierarchy |
| configurations. Defaults to false. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setOverrideContextClassloader(boolean)"><!-- --></A><H3> |
| setOverrideContextClassloader</H3> |
| <PRE> |
| public void <B>setOverrideContextClassloader</B>(boolean overrideContextClassloader)</PRE> |
| <DL> |
| <DD>Whether to temporally override the thread's Context Classloader when processing |
| ORM XML documents to avoid deadlock potential with certain Classloader hierarchy |
| configurations. Defaults to false. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getResetFlushFlagForCascadePersist()"><!-- --></A><H3> |
| getResetFlushFlagForCascadePersist</H3> |
| <PRE> |
| public boolean <B>getResetFlushFlagForCascadePersist</B>()</PRE> |
| <DL> |
| <DD>Whether OpenJPA should reset the internal state (flush flag) when cascading a persist to another |
| Entity. That is, when a flush is performed, OpenJPA keep state to indicate the flush has been |
| performed. In certain cascade persist scenarios the fact that a flush has been performed prior to |
| a cascade persist can cause certain entities to not be written to the database given the prior |
| flush. This property, when set, will cause the flush flag to be reset in cascade scenarios. For more |
| details see JIRA OPENJPA-2051 |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>2.0.x</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setResetFlushFlagForCascadePersist(boolean)"><!-- --></A><H3> |
| setResetFlushFlagForCascadePersist</H3> |
| <PRE> |
| public void <B>setResetFlushFlagForCascadePersist</B>(boolean b)</PRE> |
| <DL> |
| <DD>Whether OpenJPA should reset the internal state (flush flag) when cascading a persist to another |
| Entity. That is, when a flush is performed, OpenJPA keep state to indicate the flush has been |
| performed. In certain cascade persist scenarios the fact that a flush has been performed prior to |
| a cascade persist can cause certain entities to not be written to the database given the prior |
| flush. This property, when set, will cause the flush flag to be reset in cascade scenarios. For more |
| details see JIRA OPENJPA-2051 |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>2.0.x</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/Compatibility.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/conf/CacheMarshallersValue.html" title="class in org.apache.openjpa.conf"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/openjpa/conf/DetachOptions.html" title="class in org.apache.openjpa.conf"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/openjpa/conf/Compatibility.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="Compatibility.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> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2006-2013 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |