> Is it possible to tell OJB to call setter methods on the descriptor
> classes instead of attempting to get the field, calling
> myField.setAccessible(true), and calling the myField.set() method?  This
> will enforce the practice of creating good JavaBeans with the proper
> accessor methods.  It will also de-couple the names of the fields with
> the accessor methods.

Simply change the "PersistentFieldClass" setting in OJB.properties to
PersistentFieldIntrospectorImplNew, this will use the property
accessors.
Or use PersistentFieldAutoProxyImplNew, and OJB will determine for
each field whether it can use the default
PersistentFieldDirectAccessImplNew (which is faster) or the (slower)
PersistentFieldIntrospectorImplNew.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to