0 Replies Latest reply on Sep 14, 2004 12:34 PM by ranxero

    Jboss CMP with mysql -> can't write data

    ranxero

      hello all,

      I set up mysql-4.0.20d-win and jboss-3.2.6RC1.
      I want to deploy a CMP bean that uses a mysql ds fpr persistence.
      everything is deploying fine, I have an autoincrement field for the bean which gets incremented every time a new data set is inserted -
      BUT al the rest of the data, String, Integer, etc. never gets written to the mysql db.
      I'm pretty sure Iset up the CMP bean correctly.
      in the jbosscmp-jdbc.xml and standardjbosscmp-jdbc.xml I set the
      'read-only' attribute to 'false'.
      I've been looking all over jboss installation to figure out where the problem comes from .... no clue.
      when I try to insert data from the mysql-client directly into mysql all the fields are written correctly.
      I'm really stuck with this

      anyone any ideas?

      would really appreciate someone's help

      Christian