You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by th...@apache.org on 2003/06/30 23:18:22 UTC
cvs commit: db-ojb/src/test/org/apache/ojb OJB.properties
thma 2003/06/30 14:18:22
Modified: src/test/org/apache/ojb OJB.properties
Log:
make PersistentNestedFieldImpl default to provide nested field support.
documentation soon to come.
fieldaccess package needs a major refactoring, volunteers welcome!
Revision Changes Path
1.51 +5 -1 db-ojb/src/test/org/apache/ojb/OJB.properties
Index: OJB.properties
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/OJB.properties,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- OJB.properties 29 May 2003 14:44:08 -0000 1.50
+++ OJB.properties 30 Jun 2003 21:18:22 -0000 1.51
@@ -306,12 +306,16 @@
# using this Class persistent attributes don't need getters and setters
# and don't have to be declared public or protected.
#
-PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDefaultImpl
+#PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDefaultImpl
#
# There is also a high-speed version of this access strategy avalaible.
# The PersistentFieldMaxPerformanceImpl does not cooperate with
# an AccessController, but accesses the fields directly.
#PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldMaxPerformanceImpl
+#
+# in addition PersistentNestedFieldMaxPerformanceImpl provides support
+# for nested (or embedded) fields:
+PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentNestedFieldMaxPerformanceImpl
#
# The PersistentFieldPropertyImpl uses JavaBeans comformant calls only
# to access persistent attributes. No Reflection is needed.