Women in Technology

Hear us Roar



Article:
  JBoss Optimizations 101
Subject:   difference between read-only and notsupported
Date:   2003-06-02 11:48:25
From:   anonymous2
Hi !


what is the difference between setting method as
read-only or setting method as notsupported
(transaction attribute)

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • difference between read-only and notsupported
    2003-06-03 01:23:18  anonymous2 [View]

    First, the behaviour with notSupported and CMP2.0 is undefined per-spec (and strongly discouraged).

    If you use read-only, the data loading process (from the DB) *will* take place in the DB transaction but will *not* be locked at the *application server* level (we are not speaking about the database level here).

    Cheers,


    sacha