Hi Bram,

You can tell OJB to not rely on getter/setter methods, by enabling
PersistentFieldDefaultImpl in OJB.properties.
If you do this, your persistent objects won't need getter and setter methods
at all!

cheers,
Thomas

> -----Urspr�ngliche Nachricht-----
> Von: Bram Meijboom [mailto:bram@;info.nl]
> Gesendet: Montag, 11. November 2002 14:48
> An: [EMAIL PROTECTED]
> Betreff: read only attributes
> 
> 
> Hi
> 
> simple question,
> 
> Is there a easy way to have read only attributes?
> 
> 
> I thought about making 2 beans, one with the read only 
> attribute and one
> without
> and making the pb.store(ReadOnly bean) not public available...
> 
> but it seem like a hack to me
> 
> 
> 
> 
> greets
> Bram
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ojb-user-help@;jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to