Author: curtisr7
Date: Tue Aug 16 16:39:40 2011
New Revision: 1158364
URL: http://svn.apache.org/viewvc?rev=1158364&view=rev
Log:
OPENJPA-2039: Update javadoc and minor formatting changes.
Modified:
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.java
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java
openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/JDBCFetchPlan.java
Modified:
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.java
URL:
http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.java?rev=1158364&r1=1158363&r2=1158364&view=diff
==============================================================================
---
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.java
(original)
+++
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.java
Tue Aug 16 16:39:40 2011
@@ -243,18 +243,22 @@ public interface JDBCFetchConfiguration
public JDBCFetchConfiguration addFetchInnerJoins(Collection<String>
fields);
/**
- * If true - Ignore whether or not a field is in the dfg for mappings that
use 2-part selects to load fk table data.
+ * Affirms if foreign key for a relation field will be pre-fetched as part
of the owning object irrespective of
+ * whether the field is included in the default fetch group of this fetch
configuration. <br>
+ * By default, foreign key for a relation field is pre-fetched as part of
the owning object <em>only</em> if the
+ * field in included in the default fetch group of this fetch
configuration.
*
* @since 2.2.0
- * @return false
*/
public boolean getIgnoreDfgForFkSelect();
/**
- * If true - Ignore whether or not a field is in the dfg for mappings that
use 2-part selects to load fk table data.
+ * Affirms if foreign key for a relation field will be pre-fetched as part
of the owning object irrespective of
+ * whether the field is included in the default fetch group of this fetch
configuration. <br>
+ * By default, foreign key for a relation field is pre-fetched as part of
the owning object <em>only</em> if the
+ * field in included in the default fetch group of this fetch
configuration.
*
* @since 2.2.0
- * @return false
*/
public void setIgnoreDfgForFkSelect(boolean b);
}
Modified:
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java
URL:
http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java?rev=1158364&r1=1158363&r2=1158364&view=diff
==============================================================================
---
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java
(original)
+++
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java
Tue Aug 16 16:39:40 2011
@@ -143,10 +143,12 @@ public class JDBCFetchConfigurationImpl
public boolean getIgnoreDfgForFkSelect() {
return _state.ignoreDfgForFkSelect;
}
+
@Override
public void setIgnoreDfgForFkSelect(boolean b) {
_state.ignoreDfgForFkSelect = b;
}
+
public int getEagerFetchMode() {
return _state.eagerMode;
}
Modified:
openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/JDBCFetchPlan.java
URL:
http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/JDBCFetchPlan.java?rev=1158364&r1=1158363&r2=1158364&view=diff
==============================================================================
---
openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/JDBCFetchPlan.java
(original)
+++
openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/JDBCFetchPlan.java
Tue Aug 16 16:39:40 2011
@@ -229,18 +229,22 @@ public interface JDBCFetchPlan
public JDBCFetchPlan setJoinSyntax(int syntax);
/**
- * If true - Ignore whether or not a field is in the dfg for mappings that
use 2-part selects to load fk table data.
+ * Affirms if foreign key for a relation field will be pre-fetched as part
of the owning object irrespective of
+ * whether the field is included in the default fetch group of this fetch
configuration. <br><br>
+ * By default, foreign key for a relation field is pre-fetched as part of
the owning object <em>only</em> if the
+ * field in included in the default fetch group of this fetch
configuration.
*
* @since 2.2.0
- * @return false
*/
public boolean getIgnoreDfgForFkSelect();
/**
- * If true - Ignore whether or not a field is in the dfg for mappings that
use 2-part selects to load fk table data.
+ * Affirms if foreign key for a relation field will be pre-fetched as part
of the owning object irrespective of
+ * whether the field is included in the default fetch group of this fetch
configuration. <br><br>
+ * By default, foreign key for a relation field is pre-fetched as part of
the owning object <em>only</em> if the
+ * field in included in the default fetch group of this fetch
configuration.
*
* @since 2.2.0
- * @return false
*/
public void setIgnoreDfgForFkSelect(boolean b);
}