users@glassfish.java.net

read only cmp fields in glassfish

From: <glassfish_at_javadesktop.org>
Date: Tue, 12 Jun 2007 12:02:46 PDT

I have an entity bean that should have some of its fields set by the database when the object is stored. The sun JDO, however, is creating an insert statement for those fields and inserting null which defeats the default value. Is there are config parameter to tell SQL generator not to insert/update these fields? Also note there is no settor in the object bean for these fields.
[Message sent by forum member 'stemarco' (stemarco)]

http://forums.java.net/jive/thread.jspa?messageID=221829