Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: why do JDBC queries only recognize data populated by JDBC and not through SQLPlus*Worsheet?

Re: why do JDBC queries only recognize data populated by JDBC and not through SQLPlus*Worsheet?

From: surly tom <tdk_at_gotocrystal.net>
Date: 2000/02/17
Message-ID: <38ACCF00.2AB62EA0@gotocrystal.net>#1/1

If your doing this back to back, look at the auto commit configuration for both tools. JDBC usually defaults to auto commit, and you may be trying to see an uncommitted transaction.

Slim wrote:

> I execute the query:
>
> select * from <table>
>
> SQL worksheet returns:
>
> ANN_ID ANN_NAME ANN_DESC
> ANN_EMAIL
> --------- ------------------------------ ------------------------------ ----
> ------
> 1 tic tac toe
> 2 a b c
> 3 x y z
> 4 f g h
> 10 f g h
>
> JDBC returns:
>
> ANN_ID ANN_NAME ANN_DESC
> ANN_EMAIL
> --------- ------------------------------ ------------------------------ ----
> ------
> 10 f g h
>
> ann_id 10 was inserted using JDBC, ann_id 1-4 were inserted using SQL
> worksheet.
>
> why does this happen?
>
> slim.
Received on Thu Feb 17 2000 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US