Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2009
    Posts
    6

    Unanswered: issue with DDL ON WAS application Server and Oracle

    Application server WAS
    Database Oracle 11g
    API : java JDBC

    I ADD a column(DESC) to a table A in one transaction. After this transaction is completed I fire a query select * from A where 1 =2 and try to get get resultset metdata in another transaction . The newly added column(DESC) is not found in the resulsetmetdata

    IF i do the same after 2 minutes then I can find the newly added column.

    This column is found immediately if a query is fired directly on sql prompt.

    This is not replicated in most of the environments and being encountered only in one environment and looks specific to database or JDBC driver


    Any help is appreciated.

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    Oracle always presents a read consistent view of the database as existed at start of transaction
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Sep 2009
    Posts
    6
    Thanks for the prompt reply .
    The second transaction started only after the first was finished.

  4. #4
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >Thanks for the prompt reply .
    >The second transaction started only after the first was finished.

    If you deem Oracle's behavior to be incorrect, then file a bug report to MOS.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •