Problems storing CLOBs with build-in Oracle 8.1.6 thin driver of WebLogic 6.0 SP2

Hi,
I'm using the build-in Oracle 8.1.6 thin driver that comes with
weblogic.jar of WebLogic 6.0 SP2. It doesn't store CLOBs. Here I have
to use the class weblogic.jdbc.common.OracleClob. Why?
WebLogic 5.1 SP 9 + Oracle 8.1.6 thin driver (external) does. Here I
use the class oracle.sql.CLOB.
Must I use a OCI driver?
Thanks,
Juergen

I'd also recommend to switch to 8.1.7 thin driver. It's more stable.
Regards,
Slava Imeshev
"NhaBep" <[email protected]> wrote in message
news:3b71bbcf$[email protected]..
>
You can use thin driver to persist CLOB. One thing you must be sure to setautocommit
to false. Hope this help.
[email protected] (Juergen) wrote:
Hi,
I'm using the build-in Oracle 8.1.6 thin driver that comes with
weblogic.jar of WebLogic 6.0 SP2. It doesn't store CLOBs. Here I have
to use the class weblogic.jdbc.common.OracleClob. Why?
WebLogic 5.1 SP 9 + Oracle 8.1.6 thin driver (external) does. Here I
use the class oracle.sql.CLOB.
Must I use a OCI driver?
Thanks,
Juergen

Similar Messages

  • Memory leak in weblogic 6.0 sp2 oracle 8.1.7 thin driver

    Hi,
         I have a simple client that opens a database connection, selects from
    a table containing five rows of data (with four columns in each row)
    and then closes all connections. On running this in a loop, I get the
    following error after some time:
    <Nov 28, 2001 5:57:40 PM GMT+06:00> <Error> <Adapter>
    <OutOfMemoryError in
    Adapter
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    >
    <Nov 28, 2001 5:57:40 PM GMT+06:00> <Error> <Kernel> <ExecuteRequest
    failed
    java.lang.OutOfMemoryError
    I am running with a heap size of 64 Mb. The java command that runs
    the client is:
    java -ms64m -mx64m -cp .:/opt/bea/wlserver6.0/lib/weblogic.jar
    -Djava.naming.f
    actory.initial=weblogic.jndi.WLInitialContextFactory
    -Djava.naming.provider.url=
    t3://garlic:7001 -verbose:gc Test
    The following is the client code that opens the db connection and does
    the select:
    import java.util.*;
    import java.sql.*;
    import javax.naming.*;
    import javax.sql.*;
    public class Test {
    private static final String strQuery = "SELECT * from tblPromotion";
    public static void main(String argv[])
    throws Exception
    String ctxFactory     = System.getProperty
    ("java.naming.factory.initial");
    String providerUrl     = System.getProperty
    ("java.naming.provider.url");
    Properties jndiEnv          = System.getProperties ();
    System.out.println ("ctxFactory : " + ctxFactory);
    System.out.println ("ProviderURL : " + providerUrl);
    Context ctx     = new InitialContext (jndiEnv);
    for (int i=0; i <1000000; i++)
    System.out.println("Running query for the "+i+" time");
    Connection con = null;
    Statement stmnt = null;
    ResultSet rs     = null;
    try
    DataSource ds     = (DataSource) ctx.lookup
    (System.getProperty("eaMDataStore", "jdbc/eaMarket"));
    con = ds.getConnection ();
    stmnt = con.createStatement();
    rs = stmnt.executeQuery(strQuery);
    while (rs.next ())
    //System.out.print(".");
    //System.out.println(".");
    ds = null;
    catch (java.sql.SQLException sqle)
    System.out.println("SQL Exception : "+sqle.getMessage());
    finally
    try {
    rs.close ();
    rs = null;
    //System.out.println("closed result set");
    } catch (Exception e) {
    System.out.println("Exception closing result set");
    try {
    stmnt.close ();
    stmnt = null;
    //System.out.println("closed statement");
    } catch (Exception e) {
    System.out.println("Exception closing result set");
    try {
    con.close();
    con = null;
    //System.out.println("closed connection");
    } catch (Exception e) {
    System.out.println("Exception closing connection");
    I am using the Oracle 8.1.7 thin driver. Please let me know if this
    memory leak is a known issue or if its something I am doing.
    thanks,
    rudy

    Repost in JDBC section ... very serious issue but it may be due to Oracle or
    to WL ... does it happen if you test inside WL itself?
    How many iterations does it take to blow? How long? Does changing to a
    different driver (maybe Cloudscape) have the same result?
    Peace,
    Cameron Purdy
    Tangosol Inc.
    << Tangosol Server: How Weblogic applications are customized >>
    << Download now from http://www.tangosol.com/download.jsp >>
    "R.C." <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I have a simple client that opens a database connection, selects from
    a table containing five rows of data (with four columns in each row)
    and then closes all connections. On running this in a loop, I get the
    following error after some time:
    <Nov 28, 2001 5:57:40 PM GMT+06:00> <Error> <Adapter>
    <OutOfMemoryError in
    Adapter
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    >
    <Nov 28, 2001 5:57:40 PM GMT+06:00> <Error> <Kernel> <ExecuteRequest
    failed
    java.lang.OutOfMemoryError
    I am running with a heap size of 64 Mb. The java command that runs
    the client is:
    java -ms64m -mx64m -cp .:/opt/bea/wlserver6.0/lib/weblogic.jar
    -Djava.naming.f
    actory.initial=weblogic.jndi.WLInitialContextFactory
    -Djava.naming.provider.url=
    t3://garlic:7001 -verbose:gc Test
    The following is the client code that opens the db connection and does
    the select:
    import java.util.*;
    import java.sql.*;
    import javax.naming.*;
    import javax.sql.*;
    public class Test {
    private static final String strQuery = "SELECT * from tblPromotion";
    public static void main(String argv[])
    throws Exception
    String ctxFactory = System.getProperty
    ("java.naming.factory.initial");
    String providerUrl = System.getProperty
    ("java.naming.provider.url");
    Properties jndiEnv = System.getProperties ();
    System.out.println ("ctxFactory : " + ctxFactory);
    System.out.println ("ProviderURL : " + providerUrl);
    Context ctx = new InitialContext (jndiEnv);
    for (int i=0; i <1000000; i++)
    System.out.println("Running query for the "+i+" time");
    Connection con = null;
    Statement stmnt = null;
    ResultSet rs = null;
    try
    DataSource ds = (DataSource) ctx.lookup
    (System.getProperty("eaMDataStore", "jdbc/eaMarket"));
    con = ds.getConnection ();
    stmnt = con.createStatement();
    rs = stmnt.executeQuery(strQuery);
    while (rs.next ())
    //System.out.print(".");
    //System.out.println(".");
    ds = null;
    catch (java.sql.SQLException sqle)
    System.out.println("SQL Exception : "+sqle.getMessage());
    finally
    try {
    rs.close ();
    rs = null;
    //System.out.println("closed result set");
    } catch (Exception e) {
    System.out.println("Exception closing result set");
    try {
    stmnt.close ();
    stmnt = null;
    //System.out.println("closed statement");
    } catch (Exception e) {
    System.out.println("Exception closing result set");
    try {
    con.close();
    con = null;
    //System.out.println("closed connection");
    } catch (Exception e) {
    System.out.println("Exception closing connection");
    I am using the Oracle 8.1.7 thin driver. Please let me know if this
    memory leak is a known issue or if its something I am doing.
    thanks,
    rudy

  • WebLogic 5.1.0 & Oracle 8.1.7 thin driver for jdk 1.3.1

    We're currently using Oracle 8.1.6, and need to upgrade to 8.1.7.
    Platform: Solaris 2.6
    WebLogic: 5.1 Service Pack 9
    JDK : 1.3.1
    Regarding the thin drivers, my understanding is that w/ 8.1.7, we can use either
    8.1.7 OR 9.0.1 thin drivers. Has anyone seen issues using either thin driver
    w/ Oracle 8.1.7 and WebLogic?
    Thanks in advance!
    -Chad Baker

    Regarding the thin drivers, my understanding is that w/ 8.1.7, we can use either
    8.1.7 OR 9.0.1 thin drivers. Has anyone seen issues using either thin driver
    w/ Oracle 8.1.7 and WebLogic?Chad,
    We've used both thin drivers successfully under WebLogic 5.1, and
    have been using the 9.0.1 thin driver under Weblogic 6.1 without any
    problems. We moved to the 9.0.1 driver because it's the first driver
    version to implement
    PreparedStatement.setTimestamp(Timestamp,Calendar).
    Recently, we started looking at using JMS and may need to use
    distributed
    transactions, and we're concerned about transaction support in the
    thin
    driver. Various WebLogic docs, like
    http://e-docs.bea.com/wls/docs61///notes/issues.html#1048698, mention
    that 8.1.7 has XA threading issues that cause problems in distributed
    transactions. In one place, they mention that they may have a
    workaround, but it's unclear what the status of that is. And it looks
    like they definitely haven't gotten to testing
    the 9.0.1 driver. If you're interested in distributed transactions,
    you might want to investigate that first.
    Jim

  • Oracle 8.1.7 Thin Driver Resultsets

    A simple question I hope.
    We are using the Oracle 8.1.7 thin driver to connect Weblogic 6.0sp2 to an Oracle
    8 db. My question is regarding how the resultset is passed to the server. Is
    there cacheing? If so, is the cache recycled..i.e. for a 1000 row set are rows
    fed to the server 100 at a time? Or is the entire resultset passed at once.
    A general description of this transation or pointers to documentation would be
    greatly appreciated. Thanks for your consideration,
    Jason

    Jason Carter wrote:
    A simple question I hope.
    We are using the Oracle 8.1.7 thin driver to connect Weblogic 6.0sp2 to an Oracle
    8 db. My question is regarding how the resultset is passed to the server. Is
    there cacheing? If so, is the cache recycled..i.e. for a 1000 row set are rows
    fed to the server 100 at a time? Or is the entire resultset passed at once.
    A general description of this transation or pointers to documentation would be
    greatly appreciated. Thanks for your consideration,
    JasonHi. This is entirely an oracle DBMS and driver question. From what I can glean from
    oracle documentation, there is a settable driver property which sets how many rows
    the driver gets in one request. This implies the DBMS and driver will cooperate to
    get a given result set in chunks.
    Joe

  • SSRS 2008 Using Stored Procedure with SysRef Cursor Oracle

    Hi,
    I am new to SSRS.
    I have a ssrs procedure which runs to Return Result of Select Query. ( In form of SYS REF Cursor in Oracle ).
    When I am trying to see the Value in Test Window. It is showing Output. But when I m Running the Report in the environment it is giving me error.
    Please help me if there is a better way of handling it.
    As I read in some forum as SSRS has issue handling SYS Ref Cursor...
    Thanks
    Priyank
    Thanks Priyank Piyush

    Hi Priyank,
    According to your description, you are use a Stored Procedure from SysRef Cursor Oracle as the report dataset. The query works well in Dataset Query Designer, while an error occurs when you render the report.
    As per my understanding, the problem is that there are something wrong with the report design. Please double-check the design of the report. In order to trouble shoot the problem more efficiently, could you please post the detail error message? Then we can
    make further analysis.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Problem with oracle 9i personal and thin driver

    hi all,
    this is the code i test the connection of thin driver and oracle 9i personal database.
    but i got the error below, could someone tell me where i did wrong.
    thank you...
    import java.sql.*;
    import java.math.*;
    import java.io.*;
    import java.awt.*;
    import oracle.jdbc.driver.*;
    class JdbcTest
      public static void main(String arg[])
        try
          // load oracle driver
          DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
          //connect to the local database
          Connection connection = DriverManager.getConnection
                                 ("jdbc:oracle:thin:@myhost:1521:ORCL","scott","tiger");
          Statement statement = connection.createStatement();
          ResultSet resultset = statement.executeQuery("SELECT ename FROM emp");
          //print the name out
          while(resultset.next())
            System.out.println(resultset.getString(1));
          //close the resultset, statement, and connection
          resultset.close();
          statement.close();
          connection.close();
        catch(SQLException sqle)
          System.err.println(sqle);
    }  C:\CODE-JDBC\ORACLE\TEST-CONNECT>java JdbcTest
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

    Replace this line:
    DriverManager.registerDriver(new racle.jdbc.OracleDriver());with this one:
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();

  • Using oracle thin driver from Weblogic server 6.1

    Hi
    I need to know which driver is best for establishing JDBC Connection i.e.
    whether to use JDriver provided with Weblogic or to go using Oracle thin driver.
    Can some one tell the detailed procedure involved in configuring oracle thin driver
    in Weblogicserver 6.1.
    Thanks in advance,
    S Gopikrishna

    I would recommend using the thin driver where ever possible, their are
    certain problems with thin driver which are more in the area of XA support
    you can check weblogic documentation for pointers on this. Oracles latest
    thin driver is pretty stable as they have fixed a bunch of problems.
    heres how to use thin driver:
    create the connection pool using the following url
    jdbc:oracle:thin:@<mc-name or ip-address>:<port-no>:<oracle sid>
    and driver: oracle.jdbc.driver.OracleDriver
    You dont have to install the thin driver its bundled with the product.
    hth
    sree
    "S Gopikrishna" <[email protected]> wrote in message
    news:3c34a0e5$[email protected]..
    Hi
    I need to know which driver is best for establishing JDBC Connection
    i.e.
    whether to use JDriver provided with Weblogic or to go using Oracle thin
    driver.
    Can some one tell the detailed procedure involved in configuring oracle thin
    driver
    in Weblogicserver 6.1.
    Thanks in advance,
    S Gopikrishna

  • How can I do "2PC"  WLS6.0 + oracle 8.1.6 (thin driver )

     

    Access oracle db by sys user and execute initjvm.sql and initxa.sql.
    And then grant "select" priviledge on dba_pending_transactions to users that you
    want to use to make dbpool.
    "jongho cha" <[email protected]> wrote:
    >
    Hi gurus ^^
    I'm trying to do two phase commit with wls6.0 and oracle 8.1.6.
    and I used oracle thin driver ( supports jdbc2.0 )
    part from my config.xml --
    <JDBCTxDataSource EnableTwoPhaseCommit="true"
    JNDIName="testTXDataSource" Name="testTXDataSource"
    PoolName="testPool" Targets="myserver"/>
    <JDBCConnectionPool CapacityIncrement="2"
    DriverName="oracle.jdbc.xa.client.OracleXADataSource"
    InitialCapacity="1"
    LoginDelaySeconds="0"
    MaxCapacity="10"
    Name="testPool" Properties="user=uskeic;password=dba;url=jdbc:oracle:thin:@remote_oracle_db_ip:1521:dbname;dataSourceName=testPool"
    ShrinkPeriodMinutes="15" ShrinkingEnabled="false"
    Targets="myserver" TestConnectionsOnReserve="true"
    TestTableName="dual" URL="jdbc:oracle:thin:@remote_oracle_db_ip:1521:dbname"/>
    is it right configuration ?
    basically , it looks like there's no problem when the WLS starts.
    but if I get Conncetion from txDatasource and createStatement from the
    connection
    , I got some Exception
    it tells like ..
    java.sql.SQLException: ORA-06550: column 1, row14:PLS-00201: 'JAVA_XA.XA_START'
    specifier must be defined
    ORA-06550: column 1, row8:PL/SQL: Statement ignored
    and blah blah blah...
    my code starts here ,,
    Connection con = null ;
    XAConnection xaCon = null ;
    Statement stmt = null ;
    UserTransaction tx = (UserTransaction)ctx.lookup("javax.transaction.UserTransaction");
    tx.begin();
    Context jndiContext = JNDIService.getInitialContext();
    XADataSource xaDataSource = (XADataSource)jndiContext.lookup( txDataSourceName
    xaCon = xaDataSource .getXAConnection();
    con = xaCon.getConnection(); // OK so far
    stmt = con.createStatement() ; // Error HERE !!!
    // ..... and do another DB works for testing 2PC
    tx.commit();
    you know, it's not a complete code . actually , it's like a psuedo code
    but the way of getting connection and create statement follows my entire
    code.
    Can any one help me ? ^^;
    Thanks in advance .

  • Oracle proxy authetication and thin driver

    Hello,
    I am using 10g, and bea 81 sp3, I am trying to setup proxy authetication. All the references I find for proxy authetication are using OCI driver. Is proxy authetication supported using oracle 10g thin driver (ojdbc14.jar)? Can anyone tell me, what drivers are support proxy authetication under oracle 10g?
    Also application servers like bea will not give you oracledata source if you use bea to setup oracle connection pool, is there a easy work around that?
    appreciate,
    Shailesh

    Replace this line:
    DriverManager.registerDriver(new racle.jdbc.OracleDriver());with this one:
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();

  • Compatability of oracle 8i/9i to thin driver

    Hi,
    I am new to JDBC. will you please tell me whether Oracle 8i / 9i is compatable to use JDBC thin driver.
    If so, what is the SID name i need to give. Let's say i have installed oracle 9i on my machine. and set the class path to "classes12.jar". where i need to create SID name. what SID name i need to give there.
    If i am using JDBC 2nd driver :
    con = DriverManager.getConnection ("jdbc:oracle:oci8:@orcl", "scott", "tiger");
    what i need to give at "oci8" and "orcl".... or these are required to be give as it is..?
    though it's a simple question please answer my question.

    jdbc:oracle:thin:@youmachinename:1521:myDbSID
    here after @ mention your database url , 1521 is default port number and after port number mention your SID

  • Oracle server side jdbc thin driver throws ORA-01017

    We upgraded our database to 11.2.0.1 from 9.2.0.6.
    When we try to connect to an external database from Oracle JVM using server side jdbc thin driver, it throws invalid user id/password error.
    The below test code simulates the issue and is not working on the upgraded instance. The same code is working in fine in other 11.2.0.1 instances. It worked fine before upgrade. In all cases, we are connecting to the same target database instance which is also in 11.2.0.1. It fails only on this database.
    SEC_CASE_SENSITIVE_LOGON is set to false.
    Any inputs will be highly appreciated.
    Code:_
    create or replace and compile java source named TestConn as
    import java.sql.SQLException;
    import oracle.jdbc.OracleDriver;
    import oracle.jdbc.OracleConnection;
    import java.sql.DriverManager;
    public class TestConn {
         public  static String runTest() {
          String msg = "Start";
          OracleConnection tempOC = null;
          try {
          String pUrl = "jdbc:oracle:thin:@dev:1521:dev";
          String pUser = "tst_user";
          String pPwd = "dummy";
          DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
          tempOC = (OracleConnection)DriverManager.getConnection(pUrl, pUser, pPwd);
    msg = "Success";
    } catch (SQLException sqle) {
          System.out.println(sqle.toString());
          sqle.printStackTrace();
          msg = "Failure";
            return msg;
    CREATE OR REPLACE FUNCTION test_conn RETURN VARCHAR2
    AS LANGUAGE JAVA
    NAME 'TestConn.runTest() return java.lang.String';
    set serverout on
    declare
    c varchar2(4000);
    begin
    dbms_java.set_output(5000);
    c:=test_conn();
    dbms_output.put_line(c);
    end;
    / Error Message_
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
           at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
           at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:388)
           at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:381)
           at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:564)
           at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:431)
           at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
           at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
           at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:366)
           at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java)
           at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:359)
           at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java)
           at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
           at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
           at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
           at java.sql.DriverManager.getConnection(DriverManager.java)
           at java.sql.DriverManager.getConnection(DriverManager.java)
           at TestConn.runTest(TESTCONN:22) Edited by: sskumar on Mar 6, 2011 1:12 PM

    At the time our issue was resolved, the bug was not published. And, I was told, there was no information in metalink about the isue. I am not sure whether they published some thing in the last few weeks.
    This is what resolved our issue.
    Step 1: alter system set java_jit_enabled=FALSE;
    Step 2: Try your test case. If it is the same issue as ours, your test case will be successful. If it succeeds, Go to step 3. If it does not succeed, it is a different issue.
    Step 3: alter system set java_jit_enabled=TRUE;
    Step 4: Run your test case. If it is the same issue, it is expected to fail. Go to Step 5 in case of failure.
    Step 5: Delete all rows from table java$mc$
    Step 6: Restart the database
    Step 7: Run your test case. It is expected to be successful.

  • Help on report base on stored Procedure with parameter in Oracle

    In Deski was able to get BO report from Stored Procedure if no parameters is required. When I tried to add a parameter to the Stored procedure does not return anything.   Your assistance is greatly appreciated.
    Here  is what I used perform the task.
    create or replace package Test_Package as
      -- Public type declarations
    TYPE Test_Type IS REF CURSOR RETURN Test_Table%ROWTYPE;
    end Test_Package;
    CREATE OR REPLACE PROCEDURE Test_Procedure(
                                test_cursor IN OUT test_package.Test_Type,
                                Test_Parameter in c2c.Test_Table.Id%type) IS
           BEGIN
                                open test_cursor for
                                select *
                                from c2c.Test_Table
                                where Test_Table.Id = Test_Parameter;
           END Test_Procedure;
    create table TEST_TABLE
      ID        NUMBER(5),
      FIRSTNAME VARCHAR2(30),
      LASTNAME  VARCHAR2(30)
    insert into Test_Table values(1,'Chen', 'Low');
    insert into Test_Table values(2,'Leonard', 'Johnson');
    insert into Test_Table values(3,'David ', 'Sucuk');
    insert into Test_Table values(4,'Marc', 'Paul');
    insert into Test_Table values(5,'Mark', 'Blasko');

    http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html

  • Problem storing properties with IServiceProfile

    Hi SDN,
    I found the following SDN Topic which seems to be similiar to my problem:
    https://forums.sdn.sap.com/thread.jspa?forumID=41&threadID=26137&messageID=233589#233589
    I feel I have the same problem but not on EP6 SP3 but on current EP6 (tested on SPS12 and SPS14). So I decided to open this as a new topic again:
    I have a service for which I am trying to set properties programmatically.
    I created an iView which calls a set method on the service. In this method a specific property of the service is changed using the following code:
    IServiceProfile serviceProfile= context.getServiceProfile();
    serviceProfile.setProperty(key, value);
    serviceProfile.store();
    However, if I look in the Property Editor of this service sometimes this call seems to change the property and sometimes not!
    Specifically, if I use the call above just after restarting the SAP EP it works. But any following call does not change the value in the Property Editor.
    If I check the value bevor changing it in the iView which does the change it seems like the property value has been changed correctly.
    But it is not a caching problem in the browser, because if I access the property from a different iView it has not changed as well.
    Does anybody know about a solution to this problem?
    Best regards,
    Stefan Brauneis

    Hi Detlev,
    I was hoping that anybody could find a better solution than telling "...ask the expert next door...".
    But this answer is of course more valuable than nothing. So you get points. Sorry, I could have done this earlier.
    The problem, however, still exists. Even if it has only very low priority for me, because there is the workaround of just using the services property editor. Every change there seems to be reflected immediately.
    I will keep this question open and wait if somebody on SDN has a solution to it.
    Best regards,
    Stefan Brauneis

  • Oracle 8.1.6 Thin Driver with Multiple Result Sets

    We're using Oracle 8.1.6 on NT using the latest driver release.
    Java 1.2.2
    We're experiencing problems with resultSet.next when we have multiple result sets open. What appears to be happening when you've read the last result set entry do a .next() call which should result in a false value we actually get java.sql.SQLException: ORA-01002: fetch out of sequence.
    This seems to us that the driver is trying to go beyond the end of the result set.
    We've checked JDBC standards (and examples on this site) and the code we've got is compliant. We've also found that the code produces the correct results under Oracle 7.3.4 and 8.0.4.
    I can also say that there is no other activity on the db, so there are no issues such as roll back segments coming into play.
    Any solutions, help, advice etc would be gratefully appreciated!
    null

    Phil,
    By "multiple result sets open", do you mean you are using REF Cursors, or do you have multiple statements opened, each with its own ResultSet? If you could post an example showing what the problem is, that would be very helpful.
    You don't happen to have 'for update' clause in your SQL statement, do you?
    Thanks

  • Ssl with Oracle jdbc thin driver on weblogic 9.2

    http://www.oracle.com/technology/products/weblogic/howto/jdbcssl/index.html
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/pdf/wp-oracle-jdbc_thin_ssl_2007.pdf
    I had already created the ssl-jdbc connections for Weblogic 9.2 with Oracle 10.2.0.3.0 based on the documents above.
    My questions
    1. the connections are not using the desired ports. The TCP listener is using 1521, and TCPS listener is using 1522, and 2484. However the connections do not use the configured ports. Is it normal?
    2. If using the unassigned port is the normal case, where can I limit the port range?
    3. How to prove the connections are in SSL?

    1. the connections are not using the desired ports. The TCP listener is using 1521, and TCPS listener is using 1522, and 2484. However the connections do not use the configured ports. Is it normal? It is normal.
    2. If using the unassigned port is the normal case, where can I limit the port range? I still have no idea.
    3. How to prove the connections are in SSL? No idea, too.

Maybe you are looking for

  • MS C++ runtime library error at start up

    Im getting an error when i try to start up photoshop. This is the error: Runtime error! Program D:/photoshop etc etc This application has requested the runtime to terminate it in an unusual  way. Please contact the application's support team for more

  • Resetting the File browse item in Javascript in Apex 4.0

    Hi, Can anyone please help to reset the File browse item in Apex with Javascript. For example I have an File Browse item P10_FILE_BROWSE, I have selected some file in it and on Click of button, I want to set NULL in that File Browse item "P10_FILE_BR

  • Adobe Reader X (10.1.1) Visual C++ Runtime error - Citrix XenApp 4.5

    Error: Microsoft Visual C++ Runtime Library Runtime Error! Program: C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe I work for a large government agency, and we are experiencing the above error, but we have the added complexity of Citrix (XenA

  • Audition CS6 Multitrack - clip in/out points arbitrarily changing

    Using CS6 on Win7 64bit in multitrack mode. Assembling music and voice clips on the timeline to make a programme, saving as I go, and working usually from start to finish, CS6 is truncating some clips after assembly and saving, leaving gaps in the se

  • Differences between Satellite A200-1YO & Satellite A200-244

    Hi, I was thinking of buying one of the models, but the images differents sites use to advertise varies on other sites, some have silver keypad, and others black keypad, im awae the main diff is the gfx card but what image is the correct one. Please