Re: Do I have to supply getXXX() and setXXX(...)-methods?
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]
RE: Do I have to supply getXXX() and setXXX(...)-methods?
No! > -Original Message- > From: Henrik Berg [mailto:[EMAIL PROTECTED] > Sent: Friday, March 21, 2003 11:23 AM > To: [EMAIL PROTECTED] > Subject: Do I have to supply getXXX() and setXXX(...)-methods? > > > 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? > > -- > Henrik > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]