2 Replies Latest reply on Sep 15, 2004 7:38 AM by ranxero

    database question

    mannu Newbie

      sorry for this other stupid question:
      What are the steps to add a new specific database in jboss?
      Should I create a Mbean in jboss.jcml?
      And after, should I create a type-mapping in standardjaws?
      Is it the right way?

      Be sure that I would be very happy to have many detailed answers...

        • 1. Re: database question
          John Twomey Newbie

          Look in the FAQ forum under "Post Your FAQ".

          There you will find my detailed description on how to add MySQL to JBOSS. This same general technique should apply to just about any DB.

          JT

          • 2. Re: database question
            ranxero Newbie

             

            "jtwomey" wrote:
            Look in the FAQ forum under "Post Your FAQ".

            There you will find my detailed description on how to add MySQL to JBOSS. This same general technique should apply to just about any DB.

            JT


            hi, I looked like you proposed but there ist nothing alike. I have a strange problem with mysql integration for jboss as well and maybe someone might come up with a solution?!

            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 for 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 all the rest of the data, String, Integer, etc. never gets written to the mysql db.
            I'm pretty sure I set 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

            ranxero