No you don't. Use the following setting in the OJB.properties file:

PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDefaultImpl

This assumes that your repository.xml mapping is based on fields in your classes.

Henrik Berg wrote:
Hi!

Simple question:  If I want to use OJB, do I have to make public
set/get-methods for all the fields I want to store in the database?



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



Reply via email to