<!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) on Tue Nov 06 17:41:05 CST 2007 --> | |
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<TITLE> | |
Compatibility (OpenJPA 1.0.1 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 1.0.1 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"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </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/BrokerValue.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<A NAME="main"></A> | |
<!-- ======== 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> | |
<!-- ======== 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#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#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#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#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#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#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> | |
<!-- ========= 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> | |
<!-- ========= 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"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </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/BrokerValue.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
Copyright © 2006-2007 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. | |
</BODY> | |
</HTML> |