0 Replies Latest reply on Sep 18, 2001 8:42 AM by dward2

    howto readonly particular cmp fields

      I have a CMP 1.1 Entity with some fields who have both set and get methods, and some with just gets (both in the remote interface and bean class). However, on create, jboss still includes those fields when it does an insert. How do I make JBoss not include those fields in the PreparedStatement it makes to do the insert? For complex reasons, the bean points to an updateable VIEW in Oracle, not a TABLE. The main table of the view is where the insert happens, the other joins of the view are lookups for read-only purposes.