2 Replies Latest reply on Feb 27, 2002 7:17 PM by Todd Marshall

    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
          jian gao Newbie

          Yes, you must add a MBean tag in jboss.jcml, and it must begin with:
          <mbean code="org.jboss.jdbc.XADataSourceLoader
          similar as the existing ones in the jboss.jcml file.

          I am studying JBoss source code(jboss-tomcat 2.2.2), I read the org.jboss.jdbc.XADataSourceLoader.java, I found that this is the first step for using a database.

          But how to do next, I don't know.If anybody knows,please post your idea,Thanks

          • 2. Re: database question
            Todd Marshall Newbie

            If there isn't a type map for your database in standardjaws.xml, then add one.