0 Replies Latest reply on Feb 20, 2002 10:17 AM by Kevin Moran

    Tuned-updates and non-primitive fields?

    Kevin Moran Newbie

      Hi all,
      I'm testing JBoss for possible use on my project. So far I really like what I've seen. What I've done is create a very simple entity bean with a cmp-field that is a java.util.Hashtable. For simplicity I'm using Hypersonic SQL as the database. I can deploy the bean and interact with it from my client. Everything appears to work okay. But if I restart JBoss, I see the bean's Hashtable field is back to its initial (empty) state. Having said that, I can make it work if I set tuned-updates to false (the default is true) either in jaws.xml or standardjaws.xml. I guess my question is, should I be setting tuned-updates to false for beans that have complex fields such as this or is this possibly a bug in JBoss?

      Thanks in advance,
      -kevin

      P.S. I'm using the integrated JBoss-2.4.4/Tomcat-4.0.1 distribution with JDK 1.4.0 under Mandrake Linux 8.0.