The following is a setting in the ojb.properties file. I am assuming
this is referring to the mapping between the xml file defining the
relationship between the class file's methods and the actual table
columns. if so, is the third option, which I've uncommented for now,
the fastest of the 3? I understand the second one is the
MaxPerformance one, but I'm assuming by the explanation that it's in
relationship to the PersistentFieldDefaultImpl. Wouldn't things be
fastest if all get and set methods were specified instead of relying on
Reflection?
Or am I completely not getting what this setting is about???
# The PersistentFieldClass property defines the implementation class
# for PersistentField attributes used in the OJB MetaData layer.
# By default a attribute based Version using Reflection is selected.
# 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.Persiste
ntFieldDefaultImpl
#
# 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.Persist
entFieldMaxPerformanceImpl
#
# The PersistentFieldPropertyImpl uses JavaBeans comformant calls only
# to access persistent attributes. No Reflection is needed.
# But for each attribute xxx there must be public getXxx() and setXxx()
methods.
#
PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.Persiste
ntFieldPropertyImpl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: PersistentFieldPropertyImpl setting Robert S. Sfeir
- Re: PersistentFieldPropertyImpl setting Thomas Mahler
