blob: 5b7e31608131244f458821536e0da8109b9696bb [file] [log] [blame]
<!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_11) on Mon May 19 19:20:42 PDT 2008 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Compatibility (OpenJPA 1.1.0 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.1.0 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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Compatibility.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/openjpa/conf/CacheMarshallersValue.html" title="class in org.apache.openjpa.conf"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<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> &nbsp;
&nbsp;<A HREF="Compatibility.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#JPQL_EXTENDED">JPQL_EXTENDED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#JPQL_STRICT">JPQL_STRICT</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#JPQL_WARN">JPQL_WARN</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If a JPQL statement is not compliant with the JPA specification,
warn the first time that statement is parsed.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== 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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#getCloseOnManagedCommit()">getCloseOnManagedCommit</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#getCopyObjectIds()">getCopyObjectIds</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#getFlushBeforeDetach()">getFlushBeforeDetach</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#getJPQL()">getJPQL</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#getNonOptimisticVersionCheck()">getNonOptimisticVersionCheck</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#getQuotedNumbersInQueries()">getQuotedNumbersInQueries</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#getStoreMapCollectionInEntityAsBlob()">getStoreMapCollectionInEntityAsBlob</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#getStrictIdentityValues()">getStrictIdentityValues</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#getValidateFalseReturnsHollow()">getValidateFalseReturnsHollow</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#getValidateTrueChecksStore()">getValidateTrueChecksStore</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#setCloseOnManagedCommit(boolean)">setCloseOnManagedCommit</A></B>(boolean&nbsp;close)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#setCopyObjectIds(boolean)">setCopyObjectIds</A></B>(boolean&nbsp;copy)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#setFlushBeforeDetach(boolean)">setFlushBeforeDetach</A></B>(boolean&nbsp;beforeDetach)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;jpql)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#setNonOptimisticVersionCheck(boolean)">setNonOptimisticVersionCheck</A></B>(boolean&nbsp;nonOptimisticVersionCheck)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#setQuotedNumbersInQueries(boolean)">setQuotedNumbersInQueries</A></B>(boolean&nbsp;quotedNumbers)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#setStoreMapCollectionInEntityAsBlob(boolean)">setStoreMapCollectionInEntityAsBlob</A></B>(boolean&nbsp;storeAsBlob)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#setStrictIdentityValues(boolean)">setStrictIdentityValues</A></B>(boolean&nbsp;strictVals)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#setValidateFalseReturnsHollow(boolean)">setValidateFalseReturnsHollow</A></B>(boolean&nbsp;hollow)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/openjpa/conf/Compatibility.html#setValidateTrueChecksStore(boolean)">setValidateTrueChecksStore</A></B>(boolean&nbsp;check)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>
&nbsp;<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>
&nbsp;
<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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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>&nbsp;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&nbsp;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&nbsp;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>
<!-- ========= 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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Compatibility.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/openjpa/conf/CacheMarshallersValue.html" title="class in org.apache.openjpa.conf"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<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> &nbsp;
&nbsp;<A HREF="Compatibility.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &copy; 2006-2008 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>