3 Replies Latest reply on Nov 12, 2001 1:51 PM by foglesa

    Database Persistance.

    raghav75

      Hai ,

      I hav been porting the application that is with JRUN to JBOSS. Presently I have been using JBoss-2.4.1 and oracle -8 as database version. Iam facing the following problem:

      In my application i used to store data in database through different ways.

      1. from entity bean via session bean to database

      2. Directly having connection with entity bean.

      In the first case iam not facing any problems while inserting data.BUt, i was not able to see data in the databe .
      IN the second case iam not facinfg any problem.
      what is the problem?
      could u plz any one can find the path to me............

      thanks in advance
      ok bye
      raghav

        • 1. Re: Database Persistance.
          foglesa

          You might want to check your commit-options. Jboss comes with them set to A which is cached sole access. You can try C if you have something else besides JBoss accessing the database. It will slow down the Entity beans some since there will be more database calls, but you should see the data in the database.

          Al

          • 2. Re: Database Persistance.
            raghav75

            hai foglesa,

            I had tried by setting the option to C , D , E ............. But data is not getting stored at databse
            side.Could u plz help in this perspective by teling other options.
            waiting fro ur reply
            ok bye
            raghav

            • 3. Re: Database Persistance.
              foglesa

              can you post the appropriate block of code from your session bean (i.e. from getting a reference to the entity to the setters) Maybe we can track it down there.

              Al