mirror of https://github.com/apache/openjpa.git
OPENJPA-1932: Documentation update: Correct broken and outdated links.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1090746 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8c68768917
commit
82c79adab1
|
@ -125,7 +125,7 @@ You can obtain a copy of the License at:
|
|||
</para>
|
||||
<para>
|
||||
The source code is available at:
|
||||
<ulink url="https://glassfish.dev.java.net/source/browse/glassfish/">https://glassfish.dev.java.net/source/browse/glassfish/</ulink>
|
||||
<ulink url="http://java.net/projects/glassfish/sources/svn/show">http://java.net/projects/glassfish/sources/svn/show</ulink>
|
||||
or <ulink url="http://jcp.org/en/jsr/detail?id=317"> http://jcp.org/en/jsr/detail?id=317 </ulink>
|
||||
</para>
|
||||
</section>
|
||||
|
|
|
@ -1182,7 +1182,7 @@ optionally collected as
|
|||
<programlisting>
|
||||
<property name="openjpa.jdbc.QuerySQLCache" value="true(EnableStatistics=true)">
|
||||
</programlisting>
|
||||
The <ulink url="../javadoc/org/apache/openjpa/kerenl/QueryStatistics.html">
|
||||
The <ulink url="../javadoc/org/apache/openjpa/kernel/QueryStatistics.html">
|
||||
<code>QueryStatistics</code></ulink> can be accessed via <code>PreparedQueryCache.getStatistics()</code>.
|
||||
|
||||
</para>
|
||||
|
|
|
@ -1726,8 +1726,8 @@ classes. See <xref linkend="ref_guide_cache_conf"/> for details.
|
|||
</para>
|
||||
<para>
|
||||
<emphasis role="bold">Configuration API:</emphasis>
|
||||
<ulink url="../javadoc/org/apache/openjpa/conf/OpenJPAConfiguration.html#getDetachState()">
|
||||
<methodname>org.apache.openjpa.conf.OpenJPAConfiguration.getDetachState
|
||||
<ulink url="../javadoc/org/apache/openjpa/conf/OpenJPAConfigurationImpl.html#getDetachState()">
|
||||
<methodname>org.apache.openjpa.conf.OpenJPAConfigurationImpl.getDetachState
|
||||
</methodname></ulink>
|
||||
</para>
|
||||
<para>
|
||||
|
@ -2327,8 +2327,8 @@ for an object lock before throwing an exception, or -1 for no limit. See
|
|||
</para>
|
||||
<para>
|
||||
<emphasis role="bold">Configuration API:</emphasis>
|
||||
<ulink url="../javadoc/org/apache/openjpa/conf/OpenJPAConfiguration.html#getLog()">
|
||||
<methodname>org.apache.openjpa.conf.OpenJPAConfiguration.getLog</methodname>
|
||||
<ulink url="../javadoc/org/apache/openjpa/lib/conf/Configuration.html#getLog()">
|
||||
<methodname>org.apache.openjpa.lib.conf.Configuration.getLog</methodname>
|
||||
</ulink>
|
||||
</para>
|
||||
<para>
|
||||
|
|
|
@ -3860,8 +3860,8 @@ special handling to be able to store unicode values. Setting this property to
|
|||
one of these types, and if so, will attempt to correctly configure the statement
|
||||
using the <methodname> OraclePreparedStatement.setFormOfUse</methodname>. For
|
||||
more details, see the Oracle
|
||||
<ulink url="http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/nchar/readme.html">
|
||||
Readme For NChar</ulink>. Note that this can only work if OpenJPA is able to
|
||||
<ulink url="http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch7progrunicode.htm#i1006858">
|
||||
JDBC Programming with Unicode</ulink>. Note that this can only work if OpenJPA is able to
|
||||
access the underlying <classname>OraclePreparedStatement</classname> instance,
|
||||
which may not be possible when using some third-party datasources. If OpenJPA
|
||||
detects that this is the case, a warning will be logged.
|
||||
|
|
|
@ -2653,7 +2653,7 @@ The default fetch type is EAGER but can be changed to LAZY by using:
|
|||
The entity property class is required to have
|
||||
JAXB binding annotations. You can generate property class from an XML schema by using
|
||||
the <literal>xjc</literal> generator from the
|
||||
<ulink url="https://jaxb.dev.java.net/">JAXB reference implementation</ulink>.
|
||||
<ulink url="http://jaxb.java.net/">JAXB reference implementation</ulink>.
|
||||
The <literal>xjc</literal> will generate the
|
||||
class along with the required annotations. Ensure that <classname>@XmlRootElement</classname>
|
||||
appears in the root class. In some cases this annotation needs to be added manually.
|
||||
|
@ -2662,8 +2662,9 @@ appears in the root class. In some cases this annotation needs to be added manua
|
|||
The entity property class is required to have getter and setter methods for all its
|
||||
fields. By default, the <literal>xjc</literal> will not generate setter
|
||||
methods for collections but you can force it to do so by using the
|
||||
<ulink url="https://jaxb2-commons.dev.java.net/collection-setter-injector/">collection
|
||||
setter injector plugin</ulink>.
|
||||
<ulink url="http://confluence.highsource.org/display/J2B/Setters+Plugin">
|
||||
setters plugin</ulink>
|
||||
or collection setter injector plugin.
|
||||
</para>
|
||||
<para>
|
||||
The JAXB jar files must be on the application classpath (jaxb-api.jar,
|
||||
|
@ -3105,7 +3106,7 @@ OpenJPA recognizes the following class extensions.
|
|||
<para>
|
||||
This extension specifies how to eagerly fetch subclass state. It overrides the
|
||||
global <link linkend="openjpa.jdbc.SubclassFetchMode"><literal>
|
||||
openjpa.jdbc.SubclassFetchMode</literal></link> property. Set the JPA
|
||||
openjpa.jdbc.SubclassFetchMode</literal></link> property. Set the OpenJPA
|
||||
<ulink url="../javadoc/org/apache/openjpa/persistence/jdbc/SubclassFetchMode.html">
|
||||
<classname>org.apache.openjpa.persistence.jdbc.SubclassFetchMode</classname>
|
||||
</ulink> annotation to a value from the
|
||||
|
@ -3225,12 +3226,12 @@ OpenJPA recognizes the following field extensions.
|
|||
<para>
|
||||
This extension specifies how to eagerly fetch related objects. It overrides the
|
||||
global <link linkend="openjpa.jdbc.EagerFetchMode"><literal>
|
||||
openjpa.jdbc.EagerFetchMode</literal></link> property. Set the JPA
|
||||
openjpa.jdbc.EagerFetchMode</literal></link> property. Set the OpenJPA
|
||||
<ulink url="../javadoc/org/apache/openjpa/persistence/jdbc/EagerFetchMode.html">
|
||||
<classname>org.apache.openjpa.persistence.jdbc.EagerFetchMode</classname>
|
||||
</ulink> annotation to a value from the
|
||||
<ulink url="../javadoc/org/apache/openjpa/persistence/jdbc/EagerFetchType.html">
|
||||
<classname>org.apache.openjpa.persistence.jdbc.EagerFetchType</classname>
|
||||
<ulink url="../javadoc/org/apache/openjpa/persistence/jdbc/FetchMode.html">
|
||||
<classname>org.apache.openjpa.persistence.jdbc.FetchMode</classname>
|
||||
</ulink> enum: <literal>JOIN</literal>, <literal>PARALLEL</literal>, or
|
||||
<literal>NONE</literal>. See <xref linkend="ref_guide_perfpack_eager"/>
|
||||
for a discussion of eager fetching.
|
||||
|
|
Loading…
Reference in New Issue