0 Replies Latest reply on Sep 14, 2001 3:46 PM by David Ward

    howto readonly particular cmp fields

    David Ward Newbie

      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.