Complex (serializable) objects stored in a single field within a CMP 2.0
entity bean don't get updated permanently unless I create a new object and
store that. The log says something about the bean not being dirty. All
accesses are through local references. Am I doing something wrong, or is
this a bug (JBoss 3.0.0 alpha, November)?


bean.getData().setX(5); // only temporary update!

Data d = bean.getData();
d.setX(5);
bean.setData(d); // only temporary update!

Data d = new Data(bean.getData());
d.setX(5);
bean.setData(d); // this works


--
Eric Jain


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to