0 Replies Latest reply on Jan 2, 2003 5:13 AM by John Watson

    Read-only CMP fields

    John Watson Newbie

      How do I define a read-only CMP field - for example where the field is populated by a database insert trigger? (I'm using JBoss 3.2.0 beta 2) ejb-jar_2_0.dtd doesn't seem to cater for them as far as I can see. I've tried defining the field in the deployment descriptor, then just defining a getter in the local interface and the bean, but the bean won't load, because setters are required.