Oracle.ManagedDataAccess and ArrayBindSize

Hello,
I am trying to upgrade Asp.net web application ODAC 32 bit component  from ODAC 11 to Oracle.MagagedDataAccess. The below code worked fine with ODAC 11 but it throws "System.InvalidOperationException: OracleParameter.ArrayBindSize is invalid" exception when I use ManagedDataAccess
OracleParameter paramWebRef = new OracleParameter("newwebreference", OracleDbType.Varchar2, 30, new object[order_id_.Count], ParameterDirection.Output); 
paramWebRef.ArrayBindSize = new int[order_id_.Count].Initialize(30);
paramWebRef.ArrayBindStatus = new OracleParameterStatus[order_id_.Count].Initialize(OracleParameterStatus.Success);
Am I missing any other properties or methods which I should use while using Managed DataAccess ?

i am using parameter array binding and setting the size and status.
                OracleParameter paramFound = new OracleParameter("found", OracleDbType.Int32, new object[company_id_.Count], ParameterDirection.Output);
                paramFound.ArrayBindStatus = new OracleParameterStatus[company_id_.Count].Initialize(OracleParameterStatus.Success);
                paramFound.ArrayBindSize = new int[company_id_.Count()];
When I run the above lines of code, ExecuteNonQuery not returning any values. Verified the stored procedure using Toad, it returns "1" for the "found" column but in C# code its
just 0 (OracleDecimal[])paramFound.Value)[i]

Similar Messages

  • How to specifiy the provider to be Oracle.ManagedDataAccess.Client when creating a dynamic connection string with EF Code First from Database?

    I am trying to use the relatively new Code First from Database with the newest EF (6.x) and on an Oracle database (11g, but I have installed the newest ODTwithODAC). First of all, it works fine as long as the connection string is inside the App.Config file. But when I try to build it dynamically in the C# code (or rather, statically at the moment) it fails. I have it working with a dynamically built connection string when doing Model from Database though, so I'm at a loss right now.
    First, I have created a second constructor for the context class that takes a string and does base(connectionString). Then I build the connection string via
    OracleConnectionStringBuilder oracleBuilder = new OracleConnectionStringBuilder();
    oracleBuilder.DataSource = "TEST.BLA.COM";
    oracleBuilder.UserID = "ABC";
    oracleBuilder.Password = "abc";
    oracleBuilder.PersistSecurityInfo = true;
    string connection = oracleBuilder.ToStrin();
    Now trying to open an EntityConnection by giving to it this provider-specific connection string (or even the static one from the App.Config) doesn't work; I get "keyword not supported: user id"). Trying it by creating a context and giving this connection string doesn't work either. I'm pretty sure that this is because I didn't specify the provider to use; after all, it should use the Oracle.ManagedDataAccess.Client provider and not an SQL Server based one.
    I then tried to get around this by using an EntityConnectionStringBuilder on top and specifying the provider keyword there, but then I get "keyword not supported: provider" when using it in the context constructor, and "the 'metadata' keyword is always required" when using it with the EntityConnection constructor.
    As I said above: I bet it's the provider that I have to specify somehow, but I don't know how. The code that does work is the following:
    using (var context = new Model())
    context.Database.Connection.Open();
    context.Database.Connection.Close();
    When I read context.Database.Connection.ConnectionString, it is exactly the provider-specific connection string I created above, but I don't know where to specify the provider again. Do you know of any way to do this? Certainly there must be one.
    PS: I have also posted this question on http://stackoverflow.com/questions/27979454/ef-code-first-from-database-with-managed-oracle-data-access-dynamic-connection because it is quite urgent and I'd like to use Code First from Database. Otherwise I'd have to go "back" to using Model from Database again, which is not ideal because we have updatable views where the .edmx-file has to be edited after every reload of the model, while with Code First from DB inserting into the view automatically works.

    I am trying to use the relatively new Code First from Database with the newest EF (6.x) and on an Oracle database (11g, but I have installed the newest ODTwithODAC). First of all, it works fine as long as the connection string is inside the App.Config file. But when I try to build it dynamically in the C# code (or rather, statically at the moment) it fails. I have it working with a dynamically built connection string when doing Model from Database though, so I'm at a loss right now.
    First, I have created a second constructor for the context class that takes a string and does base(connectionString). Then I build the connection string via
    OracleConnectionStringBuilder oracleBuilder = new OracleConnectionStringBuilder();
    oracleBuilder.DataSource = "TEST.BLA.COM";
    oracleBuilder.UserID = "ABC";
    oracleBuilder.Password = "abc";
    oracleBuilder.PersistSecurityInfo = true;
    string connection = oracleBuilder.ToStrin();
    Now trying to open an EntityConnection by giving to it this provider-specific connection string (or even the static one from the App.Config) doesn't work; I get "keyword not supported: user id"). Trying it by creating a context and giving this connection string doesn't work either. I'm pretty sure that this is because I didn't specify the provider to use; after all, it should use the Oracle.ManagedDataAccess.Client provider and not an SQL Server based one.
    I then tried to get around this by using an EntityConnectionStringBuilder on top and specifying the provider keyword there, but then I get "keyword not supported: provider" when using it in the context constructor, and "the 'metadata' keyword is always required" when using it with the EntityConnection constructor.
    As I said above: I bet it's the provider that I have to specify somehow, but I don't know how. The code that does work is the following:
    using (var context = new Model())
    context.Database.Connection.Open();
    context.Database.Connection.Close();
    When I read context.Database.Connection.ConnectionString, it is exactly the provider-specific connection string I created above, but I don't know where to specify the provider again. Do you know of any way to do this? Certainly there must be one.
    PS: I have also posted this question on http://stackoverflow.com/questions/27979454/ef-code-first-from-database-with-managed-oracle-data-access-dynamic-connection because it is quite urgent and I'd like to use Code First from Database. Otherwise I'd have to go "back" to using Model from Database again, which is not ideal because we have updatable views where the .edmx-file has to be edited after every reload of the model, while with Code First from DB inserting into the view automatically works.

  • Exception ORA-12537: Network Session: End of file, Oracle.ManagedDataAccess

    My environment:
    > Oracle 11g expression edition in Win7 ("DevDB")
    > Oracle 11g in non-Windows platform ("ProDB")
    > Oracle.ManagedDataAccess.dll (file version is 4.121.1.0, product version is 4.121.1.20131211)
    > Instant client sqlplus
    If I use sqlplus to connect "DevDB" and "ProDB" with following command, both DBs can be connected successfully.
    > sqlplus someUser@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xxx.xxx)(PORT=1521))(CONNECT_DATA=(SID=DBSID)))
    If I use following codes with Oracle.ManagedDataAccess.dll to connect DBs.
    string connectionString = "User Id=someUser;Password=somePwd;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xxx.xxx)(PORT=1521))(CONNECT_DATA=(SID=DBSID)))";
    OracleConnection con = new OracleConnection(connectionString);
    try{
      con.Open();
    } catch (Exception e) {
      Console.WriteLine(e.Message);
      Console.WriteLine(e.StackTrace);
    } finally {
      if (con != null)
      con.Dispose();
    It can connect to "DevDB" successfully. However, when I try to connect "ProDB", it throws following exception.
    ORA-12537: Network Session: End of file
       at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
       at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
       at Oracle.ManagedDataAccess.Client.OracleConnection.Open()
    Any tips to fix this problem?
    Thanks

    I added following settings in app.config file
      <configSections>
        <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess" />
      </configSections>
      <oracle.manageddataaccess.client>
        <version number="*">
          <settings>
            <setting name="SQLNET.AUTHENTICATION_SERVICES" value="all"/>
            <setting name="NAMES.DIRECTORY_PATH" value="ezconnect"/>
          </settings>
        </version>
      </oracle.manageddataaccess.client>
    Still failed, sometimes it throws "ORA-12537: Network Session: End of file", sometimes throws "ORA-03135: Connection lost contact".
    As ORA-12537 after change to Oracle.ManagedDataAcess.dll mentioned, it works without any problem with the unmanaged library.Please advice, thx.

  • Oracle.ManagedDataAccess.Client Operating System Authentication

    Hi.
    I am trying to get OSA to work with Oracle.ManagedDataAccess.Client, is this not supported?
    I get the following Error: ORA-01017: invalid username/password; logon denied
    Here are some of the variations of connection string, I have been testing with.
    Data Source=BLA.BLA.COM;
    Data Source=BLA.BLA.COM;User Id=/;
    Data Source=BLA.BLA.COM;Integraded Security=SSPI;
    Data Source=BLA.BLA.COM;Trusted Connection=True;
    Data Source=BLA.BLA.COM;User Id=/;Integraded Security=SSPI;
    Data Source=BLA.BLA.COM;User Id=/;Trusted Connection=True;
    Integrated Security and Trusted Connection gives me, unknown or illegal connection string attribute errors.
    My first assumption would be that my Operating System Account doesn't have access to the Oracle Database I am trying to log on to.
    But I am fully capable of connecting to the database with OSA with sqlplus, sqldeveloper and toad.
    Can somebody explain to me why this isn't working? And what I may do to fix it?
    It may be worth mentioning that I am trying to use the 12c x86 ODP.NET Managed Provider, against 11g/11.2 Oracle Databases.

    That's correct. Kerberos is not currently supported by managed ODP.NET. We are working to support this feature, but don't have an ETA on when it will be available.
    What company or organization is requesting this feature?
    I believe there's an open feature request for Kerberos support in the Oracle .NET Feature Request Tool. Fee free to add your vote to this request.

  • Oracle.ManagedDataAccess raise ORA-03135: Connection lost contact

    Hi,
    I am trying to connect to Oracle RAC using Oracle.ManagedDataAccess.dll 4.121.2.0 (latest release)
    All instances fail to run and raise the exception OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
    Except one instance it works fine…, I want to know what is the difference that made it run…, also I was able to connect using the unmanaged driver and the old driver and using sqlplus..
    The DBA sees the connection with this error:
    opiodr aborting process unknown ospid (6904) as a result of ORA-609
    Below the code, App.config, and Trace result, I am showing both the bad connection (badConn) and good connection (goodConn)
    Code:
    string constr1 = "DATA SOURCE=badConn;"; // or GoodConn;
    string constr2 = "USER ID=scott;Password=tiger;";
    string constr3 = "persist security info=True;Self Tuning=True;Min Pool Size=3;Max Pool Size=12;Incr Pool Size=3;Decr Pool Size=1;Connection Timeout=20;Connection Lifetime=59;";
                Oracle.ManagedDataAccess.Client.OracleConnection conn1;
    string constr = constr1 + constr2;// +constr3; I tried with and without the third part
    using (conn1 = new Oracle.ManagedDataAccess.Client.OracleConnection(constr))
    try
                        conn1.Open();
    Console.WriteLine(constr1 + "  connected sucessfully...");
    catch (Exception e)
    Console.WriteLine(e.Message);
    //throw;
    Configuration file:
      <oracle.manageddataaccess.client>
        <version number="4.121.2.0">
          <dataSources>
            <dataSource alias="badConn" descriptor="(DESCRIPTION =
              (ADDRESS_LIST =(ADDRESS=(PROTOCOL=TCP)(HOST=x.x.x.x)(PORT=1593)))
              (CONNECT_DATA =(SERVICE_NAME= oclp1)))"/>
            <dataSource alias="GoodConn" descriptor="(DESCRIPTION = (ADDRESS_LIST =(ADDRESS=(PROTOCOL=TCP)(HOST=address.com)(PORT=1582)))(CONNECT_DATA = (SERVICE_NAME= oclp2)))"/>
          </dataSources>
          <settings>
            <setting name="TNS_ADMIN" value="D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\" />
            <setting name="ORACLE_HOME" value="D:\Oracle\product\product\12.1.0\client_1" />
            <setting name="TraceLevel" value="7" />
            <setting name="TraceFileLocation" value="D:\"/>
          </settings>
        </version>
      </oracle.manageddataaccess.client>
    Trace result
    Good connection:
    2015-04-20 19:51:38.231722 TID:11  (PRI) (ENT) (CP) PoolManager`3.CreateNewPRThreadFunc()
    2015-04-20 19:51:38.235722 TID:11  (PRI) (SVC) (ENT) OracleConnectionImpl.Connect() (oper=open) (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=23686174)
    2015-04-20 19:51:38.237722 TID:11  (PRI) (BUF) (COBP.CTOR) (poolid:1) (parentpoolid:31609076) (OracleConnectionImpl.Connect)
    2015-04-20 19:51:38.259725 TID:11  (PRI) (BUF) (ALLOCATION) (bufid:1)
    2015-04-20 19:51:38.324731 TID:11  (NET) (REC) 00 00 00 00 00 00 00 00   |........|
    2015-04-20 19:51:38.325731 TID:11  (PRI) (BUF) (ALLOCATION) (bufid:2)
    2015-04-20 19:51:38.325731 TID:11  (NET)      NS Handshake completed successfully
    2015-04-20 19:51:38.325731 TID:11  (NET)      Negotiated SDU size = 8192
    2015-04-20 19:51:38.326731 TID:11  (PRI) (BUF) (ALLOCATION) (bufid:3)
    2015-04-20 19:51:38.326731 TID:11  (PRI) (BUF) (OBP.GET) (poolid:31609076) (key:8192) (bufid:3) (count:0) (ConOraBufPool.Init)
    2015-04-20 19:51:38.327731 TID:11  (PRI) (BUF) (COBP.PUT) (poolid:1) (key:8192) (bufid:3) (count:1) (OracleConnectionImpl.Connect)
    2015-04-20 19:51:38.328732 TID:11  (PRI) (BUF) (COBP.PUT) (poolid:1) (key:8192) (bufid:10) (count:8) (OracleConnectionImpl.Connect)
    2015-04-20 19:51:38.330732 TID:11  (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:10) (count:7) (OraBufWriter.Initialize)
    2015-04-20 19:51:38.331732 TID:11  (PRI) (SVC) (ENT) OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 19:51:38.331732 TID:11  (PRI) (TTC) (ENT) TTCProtocolNegotiation.WriteMessage()
    2015-04-20 19:51:38.332732 TID:11  (PRI) (TTC) (ENT) TTCMessage.WriteTTCCode()
    2015-04-20 19:51:38.332732 TID:11  (PRI) (TTC) (EXT) TTCMessage.WriteTTCCode()
    2015-04-20 19:51:38.332732 TID:11  (PRI) (TTC) (EXT) TTCProtocolNegotiation.WriteMessage()
    2015-04-20 19:51:38.333732 TID:11  (NET) (SND) 00 1D 00 00 06 00 00 00   |........|
    2015-04-20 19:51:38.333732 TID:11  (NET) (SND) 00 00                     |..      |
    2015-04-20 19:51:38.333732 TID:11  (NET) (SND) 01 06 00 4F 44 50 2E 4E   |...ODP.N|
    2015-04-20 19:51:38.333732 TID:11  (NET) (SND) 45 54 5F 4D 61 6E 61 67   |ET_Manag|
    2015-04-20 19:51:38.333732 TID:11  (NET) (SND) 65 64 00                  |ed.     |
    2015-04-20 19:51:38.334732 TID:11  (PRI) (TTC) (ENT) TTCProtocolNegotiation.ReadResponse()
    2015-04-20 19:51:38.335732 TID:11  (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:9) (count:6) (OraBufReader.GetDataFromNetwork)
    2015-04-20 19:51:38.336732 TID:11  (NET) (REC) New receive packet. Header:
    Bad connection: (The yellow part is exactly the same for both connection)
    2015-04-20 21:42:09.269759 TID:8   (CFG) (SQLNET)   SQLNET.ENCRYPTION_CLIENT : required
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SQLNET.AUTHENTICATION_SERVICES : (NTS)
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   NAMES.DIRECTORY_PATH : (TNSNAMES, EZCONNECT)
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SQLNET.CRYPTO_SEED : ….
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SQLNET.ENCRYPTION_TYPES_CLIENT : (RC4_56, DES40, RC4_40, DES, AES256)
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SQLNET.EXPIRE_TIME : 0
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SQLNET.INBOUND_CONNECT_TIMEOUT : 500
    2015-04-20 21:42:09.302763 TID:8   (CFG) (SQLNET)   SSL_VERSION : 1.0
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      Machine Name : abcd
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      User Name : scott
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      64-bit OS : True
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      64-bit Process : True
    2015-04-20 21:42:09.308763 TID:8   (CFG) (ENV)      .NET Runtime Version : 4.0.30319.18444
    2015-04-20 21:42:09.308763 TID:8   (CFG) (VER)      Oracle Data Provider for .NET, Managed Driver Version : 4.121.2.0
    2015-04-20 21:42:09.308763 TID:8   (CFG) (VER)      Oracle Data Provider for .NET, Managed Driver Informational Version : 4.121.2.20141216 ODAC RELEASE 3
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.INBOUND_CONNECT_TIMEOUT : 500
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     PerformanceCounters : 4095
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SSL_VERSION : 1.0
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     NAMES.DIRECTORY_PATH : (TNSNAMES, EZCONNECT)
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     TraceFileLocation : D:\
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     ORACLE_HOME : D:\Oracle\product\product\12.1.0\client_1
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.ENCRYPTION_TYPES_CLIENT : (RC4_56, DES40, RC4_40, DES, AES256)
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.AUTHENTICATION_SERVICES : (NTS)
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.CRYPTO_SEED : ….
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     TraceLevel : 7
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     TNS_ADMIN : D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\ (I update it)
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.ENCRYPTION_CLIENT : required
    2015-04-20 21:42:09.308763 TID:8   (CFG) (.NET)     SQLNET.EXPIRE_TIME : 0
    2015-04-20 21:42:09.316764 TID:8   (CFG) (TNSNAMES) OFSP : ….
    2015-04-20 21:42:09.350767 TID:8   (CFG) (SQLNET)   FilePath : D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\sqlnet.ora
    2015-04-20 21:42:09.350767 TID:8   (CFG) (TNSNAMES) FilePath : D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\tnsnames.ora
    2015-04-20 21:42:09.350767 TID:8   (PUB) (ENT) OracleConnection.ctor()
    2015-04-20 21:42:09.357768 TID:8   (PRI) (ENT) (CP) ConnectionString.GetCS()
    2015-04-20 21:42:09.362769 TID:8   (PRI) (ENT) (CP) ConnectionString.ctor()
    2015-04-20 21:42:09.375770 TID:8   (PRI) (ENT) (CP) ConnectionString.Parse()
    2015-04-20 21:42:09.388771 TID:8   (PRI) (ENT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (EXT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (ENT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (EXT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (ENT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (EXT) (CP) ConnectionString.SetProperty()
    2015-04-20 21:42:09.389771 TID:8   (PRI) (EXT) (CP) ConnectionString.Parse()
    2015-04-20 21:42:09.390771 TID:8   (PRI) (EXT) (CP) ConnectionString.ctor()
    2015-04-20 21:42:09.390771 TID:8   (PRI) (EXT) (CP) ConnectionString.GetCS()
    2015-04-20 21:42:09.390771 TID:8   (PUB) (EXT) OracleConnection.ctor()
    2015-04-20 21:42:09.435776 TID:8   (PUB) (ENT) OracleConnection.Open() (conid=295723) (state=Closed) (sessid=0) (implid=0) (pooling=T) (txnid=n/a)
    2015-04-20 21:42:09.441777 TID:8   (PRI) (ENT) (CP) OracleConnectionDispenser`3..cctor()
    2015-04-20 21:42:09.442777 TID:8   (PRI) (EXT) (CP) OracleConnectionDispenser`3..cctor()
    2015-04-20 21:42:09.443777 TID:8   (PRI) (ENT) (CP) OracleConnectionDispenser`3.Get()
    2015-04-20 21:42:09.448777 TID:8   (PRI) (ENT) (CP) PoolManager`3.ctor()
    2015-04-20 21:42:09.449777 TID:8   (PRI) (EXT) (CP) PoolManager`3.ctor()
    2015-04-20 21:42:09.454778 TID:8   (PRI) (ENT) (CP) PoolManager`3.Initialize() (constr=DATA SOURCE=badConn;USER ID=Scott;)
    2015-04-20 21:42:09.457778 TID:8   (PRI) (ENT) (CP) ConnectionString.Secure()
    2015-04-20 21:42:09.457778 TID:8   (PRI) (EXT) (CP) ConnectionString.Secure()
    2015-04-20 21:42:09.474780 TID:8   (PRI) (EXT) (CP) PoolManager`3.Initialize() (pmid=48657371) (constr=DATA SOURCE=badConn;USER ID=scott;)
    2015-04-20 21:42:09.475780 TID:8   (PRI) (BUF) (OBP.CTOR) (poolid:55492274) (OracleConnectionDispenser`3.GetPM)
    2015-04-20 21:42:09.482781 TID:8   (PRI) (ENT) (CP) OraclePoolManager.Get()
    2015-04-20 21:42:09.499782 TID:8   (PRI) (ENT) (CP) PoolManager`3.Get() (txnid=n/a) (bForceMatch=F)
    2015-04-20 21:42:09.505783 TID:8   (PRI) (ENT) (CP) PoolManager`3.CreateNewPR() (txnid=n/a)
    2015-04-20 21:42:09.726805 TID:8   (PRI) (ENT) TimeStamp.GetLocalTZOffset()
    2015-04-20 21:42:09.726805 TID:8   (PRI) (EXT) TimeStamp.GetLocalTZOffset()
    2015-04-20 21:42:09.738806 TID:8   (PRI) (ENT) (CP) ConnectionString.GetStringFromSecureString()
    2015-04-20 21:42:09.738806 TID:8   (PRI) (EXT) (CP) ConnectionString.GetStringFromSecureString()
    2015-04-20 21:42:09.766809 TID:10  (PRI) (ENT) (CP) PoolManager`3.CreateNewPRThreadFunc()
    2015-04-20 21:42:09.780810 TID:10  (PRI) (SVC) (ENT) OracleConnectionImpl.Connect() (oper=open) (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=48657371)
    2015-04-20 21:42:09.782811 TID:10  (PRI) (BUF) (COBP.CTOR) (poolid:1) (parentpoolid:55492274) (OracleConnectionImpl.Connect)
    2015-04-20 21:42:09.827815 TID:10  (PRI) (BUF) (ALLOCATION) (bufid:1)
    2015-04-20 21:42:09.837816 TID:10  (NET) (SND) 00 3A 00 00 01 00 00 00   |.:......|
    2015-04-20 21:42:09.922825 TID:10  (NET) (REC) 00 00 00 00 00 00 00 00   |........|
    2015-04-20 21:42:09.925825 TID:10  (PRI) (BUF) (ALLOCATION) (bufid:3)
    2015-04-20 21:42:09.925825 TID:10  (NET)      NS Handshake completed successfully
    2015-04-20 21:42:09.925825 TID:10  (NET)      Negotiated SDU size = 8192
    2015-04-20 21:42:09.933826 TID:10  (PRI) (BUF) (ALLOCATION) (bufid:4)
    2015-04-20 21:42:09.934826 TID:10  (PRI) (BUF) (OBP.GET) (poolid:55492274) (key:8192) (bufid:4) (count:0) (ConOraBufPool.Init)
    2015-04-20 21:42:09.944827 TID:10  (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:11) (count:7) (OraBufWriter.Initialize)
    2015-04-20 21:42:09.946827 TID:10  (PRI) (SVC) (ENT) OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 21:42:09.947827 TID:10  (PRI) (TTC) (ENT) TTCProtocolNegotiation.WriteMessage()
    2015-04-20 21:42:09.948827 TID:10  (PRI) (TTC) (ENT) TTCMessage.WriteTTCCode()
    2015-04-20 21:42:09.948827 TID:10  (PRI) (TTC) (EXT) TTCMessage.WriteTTCCode()
    2015-04-20 21:42:09.949827 TID:10  (PRI) (TTC) (EXT) TTCProtocolNegotiation.WriteMessage()
    2015-04-20 21:42:09.953828 TID:10  (NET) (SND) 00 1D 00 00 06 00 00 00   |........|
    2015-04-20 21:42:09.953828 TID:10  (NET) (SND) 00 00                     |..      |
    2015-04-20 21:42:09.953828 TID:10  (NET) (SND) 01 06 00 4F 44 50 2E 4E   |...ODP.N|
    2015-04-20 21:42:09.953828 TID:10  (NET) (SND) 45 54 5F 4D 61 6E 61 67   |ET_Manag|
    2015-04-20 21:42:09.953828 TID:10  (NET) (SND) 65 64 00                  |ed.     |
    2015-04-20 21:42:09.957828 TID:10  (PRI) (TTC) (ENT) TTCProtocolNegotiation.ReadResponse()
    2015-04-20 21:42:09.962829 TID:10  (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:10) (count:6) (OraBufReader.GetDataFromNetwork)
    2015-04-20 21:42:09.996832 TID:10  (PRI) (ENT) TTCProtocolNegotiation.ReadResponse()
    2015-04-20 21:42:09.999832 TID:10  (PRI) (TTC) (ERR) TTCProtocolNegotiation.ReadResponse() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.TTC.OraBufReader.GetDataFromNetwork()
       at OracleInternal.TTC.OraBufReader.Read(Boolean bIgnoreData)
       at OracleInternal.TTC.MarshallingEngine.UnmarshalUB1(Boolean bIgnoreData)
       at OracleInternal.TTC.TTCProtocolNegotiation.ReadResponse()
    2015-04-20 21:42:09.999832 TID:10  (PRI) (TTC) (ERR) TTCProtocolNegotiation.ReadResponse() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:09.999832 TID:10  (PRI) (EXT) TTCProtocolNegotiation.ReadResponse()
    2015-04-20 21:42:10.009833 TID:10  (PRI) (TTC) (EXT) TTCProtocolNegotiation.ReadResponse()
    2015-04-20 21:42:10.009833 TID:10  (PRI) (ENT) OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 21:42:10.009833 TID:10  (PRI) (SVC) (ERR) OracleConnectionImpl.DoProtocolNegotiation() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.TTC.OraBufReader.GetDataFromNetwork()
       at OracleInternal.TTC.OraBufReader.Read(Boolean bIgnoreData)
       at OracleInternal.TTC.MarshallingEngine.UnmarshalUB1(Boolean bIgnoreData)
       at OracleInternal.TTC.TTCProtocolNegotiation.ReadResponse()
       at OracleInternal.ServiceObjects.OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 21:42:10.009833 TID:10  (PRI) (SVC) (ERR) OracleConnectionImpl.DoProtocolNegotiation() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.009833 TID:10  (PRI) (EXT) OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 21:42:10.018834 TID:10  (PRI) (SVC) (EXT) OracleConnectionImpl.DoProtocolNegotiation()
    2015-04-20 21:42:10.018834 TID:10  (PRI) (ENT) OracleConnectionImpl.Connect()
    2015-04-20 21:42:10.018834 TID:10  (PRI) (SVC) (ERR) OracleConnectionImpl.Connect() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.TTC.OraBufReader.GetDataFromNetwork()
       at OracleInternal.TTC.OraBufReader.Read(Boolean bIgnoreData)
       at OracleInternal.TTC.MarshallingEngine.UnmarshalUB1(Boolean bIgnoreData)
       at OracleInternal.TTC.TTCProtocolNegotiation.ReadResponse()
       at OracleInternal.ServiceObjects.OracleConnectionImpl.DoProtocolNegotiation()
       at OracleInternal.ServiceObjects.OracleConnectionImpl.Connect(ConnectionString cs, Boolean bOpenEndUserSession, String instanceName)
    2015-04-20 21:42:10.019834 TID:10  (PRI) (SVC) (ERR) OracleConnectionImpl.Connect() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.019834 TID:10  (PRI) (EXT) OracleConnectionImpl.Connect()
    2015-04-20 21:42:10.028835 TID:10  (PRI) (SVC) (EXT) OracleConnectionImpl.Connect() (oper=open) (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=48657371)
    2015-04-20 21:42:10.028835 TID:10  (PRI) (EXT) (CP) PoolManager`3.CreateNewPRThreadFunc()
    2015-04-20 21:42:10.045837 TID:8   (PRI) (ENT) PoolManager`3.CreateNewPR()
    2015-04-20 21:42:10.045837 TID:8   (PRI) (ERR) (CP) PoolManager`3.CreateNewPR() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
    2015-04-20 21:42:10.045837 TID:8   (PRI) (ERR) (CP) PoolManager`3.CreateNewPR() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.045837 TID:8   (PRI) (EXT) PoolManager`3.CreateNewPR()
    2015-04-20 21:42:10.056838 TID:8   (PRI) (EXT) (CP) PoolManager`3.CreateNewPR() (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=48657371)
    2015-04-20 21:42:10.056838 TID:8   (PRI) (EXT) (CP) PoolManager`3.Get() (txnid=n/a) PM.Get(aff=;force=F) returning (null)
    2015-04-20 21:42:10.056838 TID:8   (PRI) (ENT) OraclePoolManager.Get()
    2015-04-20 21:42:10.056838 TID:8   (PRI) (ERR) (CP) OraclePoolManager.Get() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
       at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
    2015-04-20 21:42:10.056838 TID:8   (PRI) (ERR) (CP) OraclePoolManager.Get() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.056838 TID:8   (PRI) (EXT) OraclePoolManager.Get()
    2015-04-20 21:42:10.067839 TID:8   (PRI) (EXT) (CP) OraclePoolManager.Get() (txnid=n/a)
    2015-04-20 21:42:10.082841 TID:8   (PRI) (ENT) OracleConnectionDispenser`3.Get()
    2015-04-20 21:42:10.082841 TID:8   (PRI) (ERR) (CP) OracleConnectionDispenser`3.Get() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
       at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
    2015-04-20 21:42:10.082841 TID:8   (PRI) (ERR) (CP) OracleConnectionDispenser`3.Get() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.082841 TID:8   (PRI) (EXT) OracleConnectionDispenser`3.Get()
    2015-04-20 21:42:10.093842 TID:8   (PRI) (EXT) (CP) OracleConnectionDispenser`3.Get() (txnid=n/a)
    2015-04-20 21:42:10.093842 TID:8   (PRI) (ENT) OracleConnection.Open()
    2015-04-20 21:42:10.093842 TID:8   (PUB) (ERR) OracleConnection.Open() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
       at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
       at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
       at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
       at Oracle.ManagedDataAccess.Client.OracleConnection.Open()
    2015-04-20 21:42:10.093842 TID:8   (PUB) (ERR) OracleConnection.Open() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
       at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
    2015-04-20 21:42:10.093842 TID:8   (PRI) (EXT) OracleConnection.Open()
    2015-04-20 21:42:10.110843 TID:8   (PUB) (EXT) OracleConnection.Open() (conid=11111) (state=Closed) (sessid=0) (implid=0) (pooling=T) (txnid=n/a)
    Cheers,
    Muhammad

    Hi,
    Please open the alert log and check for ora-600 or ora-7445 error. if you are getting then paste the query and call stack information.
    Sorry last time i, was not logged in :)
    Kind Regards,
    Rakesh Jayappa
    Edited by: user9243284 on Sep 15, 2010 5:30 AM

  • Oracle.ManagedDataAccess.dll v4.121.1.0 - System.FormatException when Command.BindByName = true on Command.ExecuteReader().

    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll

    Hi,
    user5924091 wrote:
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    Do you have a sample reproducing the issue?
    I've tried the following simple test and I do not see any exceptions.
    NOTE: I've enabled all exception types by selecting Debug -> Exceptions... from the menu and then executed the test from VS2012.
    Regards,
    Mark
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Diagnostics;
    using System.Data;
    using Oracle.ManagedDataAccess.Types;
    using Oracle.ManagedDataAccess.Client;
    namespace ConsoleApplication1
      class Program
        static string constr = "Data Source=//localhost:1521/V121P1;" +
                               "User Id=demo;" +
                               "Password=demo;" +
                               "Pooling=false;" +
                               "Enlist=false;";
        static void Main(string[] args)
          OracleConnection con = new OracleConnection(constr);
          con.Open();
          OracleCommand cmd = con.CreateCommand();
          cmd.CommandText = "select employee_id from hr.employees";
          cmd.BindByName = true;
          OracleDataReader dr = cmd.ExecuteReader();
          while (dr.Read())
            Console.WriteLine("ID = {0}", dr[0]);
          dr.Dispose();
          cmd.Dispose();
          con.Dispose();
          if (Debugger.IsAttached)
            Console.Write("Any key to terminate...");
            Console.ReadKey(true);

  • Oracle.ManagedDataAccess - ora-12537

    Hi,
    I have problems with .net 4.0 WPF application. Everything working ok on developer machine and on tests virtual machines. I have just problem on one laptop. I tried different approaches but nothing helping.
    I'm using connection string like:
    string conn = ser Id=secret_user;Password=secret_password;Data Source=" +
    "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.7.46)" +
    "(PORT=1523))(CONNECT_DATA=(SERVER=dedicated)(SERVICE_NAME=HDPROD)))";
    or publishing app with tnsnames.ora and sqlnet.ora files and using connections strings like:
    string conn = "User Id=secret_user;Password=secret_password;Data Source=HDPROD"
    And everything is ok on my developer pc, test virtual machines, but im keep getting error: ora-12537 on one of laptops.
    Any ways to fix it?
    Regards,
    Bart.

    I added following settings in app.config file
      <configSections>
        <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess" />
      </configSections>
      <oracle.manageddataaccess.client>
        <version number="*">
          <settings>
            <setting name="SQLNET.AUTHENTICATION_SERVICES" value="all"/>
            <setting name="NAMES.DIRECTORY_PATH" value="ezconnect"/>
          </settings>
        </version>
      </oracle.manageddataaccess.client>
    Still failed, sometimes it throws "ORA-12537: Network Session: End of file", sometimes throws "ORA-03135: Connection lost contact".
    As ORA-12537 after change to Oracle.ManagedDataAcess.dll mentioned, it works without any problem with the unmanaged library.Please advice, thx.

  • Oracle.ManagedDataAccess.EntityFramework.dll

    The ODAC installer is not installing Oracle.ManagedDataAccess.EntityFramework.dll into the GAC by default.  What is the recommended way to have this happen?   I really do not want to copy the Oracle.ManagedDataAccess.EntityFramework.dll dll into every application that needs it and would prefer to have it in the GAC.

    You can make use of GACUTIL utility to install the dll into Global Assembly Cache.
    ex.
    The following command from command prompt installs the assembly mydll.dll into the global assembly cache.
    gacutil /i mydll.dll
    You should have admin privileges to execute the command

  • Oracle, Null and empty Strings

    Currently I'm facing problems with a class, which contains a String, which
    is set to "" (empty String).
    When the class is persistent, oracle writes null to the table column
    (which seems to be common oracle behaviour) and when retrieving the class,
    the field is set to null as well, giving me a lot of null-pointer
    exceptions.
    Anyway ... I can cope with that (just a lot of extra work)
    far worse is the problem, wenn searching objects, that have this field set
    to "" oder null.
    Oracle can't find the records because JDO creates Querys "where
    string=null" or "where string=''" , where oracle expects "where string is
    null" to find the records.
    Is there a workaround or solution ?

    Yeah, that would work as well, thx, but since I have to cope with
    null-Strings now everywhere in my program, it doesn't hurt just to forbid
    empty strings on the program side.
    In future times I'll test on Oracle first, then porting to DB/2 - this way
    I suppose work is far less to garant compability.
    Nevertheless ... having to set the bankcode into quotes is a kodo bug in
    my opinion.
    Kodo knows the type of classfields (in this case string) and shouldn't
    send the parameter as a BigDecimal to the database.
    Given that, and having only bankcodes of null (only neccesary when using
    Oracle), the method would look like:
    public Collection getAccounts (String bankCode)
    throws Exception
    return getAccounts (Account.class, "bankcode=="+bankcode);
    which is how a transparent persistent layer, um, should be , um , I mean
    ... just transparent ;-D
    Marc Prud'hommeaux wrote:
    Stefan-
    Couldn't you just do something like:
    public Collection getAccounts (String bankCode)
    throws Exception
    String filter;
    if (bankCode == null || bankCode.length () == 0)
    filter = "(bankCode == null || bankCode == "")";
    else
    filter = "bankCode == "" + bankCode + """;
    return getAccounts (Account.class, filter);
    If I understand the problem correctly, this should work for all the
    databases.
    In article <[email protected]>, Stefan wrote:
    What operations are you performing to cause this SQL to be issued? You
    say you are having trouble removing objects, but this is clearly not a
    DELETE statement. Is this the SQL that is issued when looking up
    objects by identity?I'm not removing objects, I was removing just quotes from parameters ;-)
    A string column... is it also represented as a string field in your class?Yeah ... just to give you an impression of the code:
    First we have a class, representing a bank account:
    public class Account {
    private AccountMgr myAccountMgr;
    private String bankCode;
    private String id;
    Note, that in nearly all cases bankCode will be a number or null.
    I have a second class "AccountMgr", which does all of the persistant stuff
    (seaching, making persistent etc.)
    This class has two methods, one versatile (protected) to retrieve accounts
    by a given filterString and one who just returns accounts by bankCode,
    building the expected filterstring. Here is my current working version:
    public class AccountMgr {
    public Collection getAccounts(String bankCode) throws Exception {
    if (bankCode!=null) {
    if (bankCode.equals("")) {
    throw new Exception("check code, bankCode='' not allowed to get
    same behavior from DB2 and Oracle");
    // if set, quote the bankCode
    bankCode="""+bankCode+""";
    return getAccounts(Account.class,"bankCode=="+bankCode);
    protected Collection getAccounts(Class accountClass, String filterAdd)
    throws Exception {
    PersistenceManager pm = MyHelper.getPersistenceManager();
    String filter="";
    if (filterAdd!=null && !filterAdd.trim().equals("")) {
    filter+=filterAdd + " && ";
    filter += "myAccountMgr==_accMgr";
    Query query = pm.newQuery(accountClass, filter);
    query.declareParameters("AccountMgr _accMgr");
    return (Collection) query.execute(this);
    As you can see, in the first method I have to set the bankCode into
    quotes, when it's not null.
    This is because otherwise a filter like "bankCode=1234" will be translated
    in a way, where 1234 is send as a BigDecimal to the database:
    [...] executing statement <4239745>: (SELECT [...] FROM JDO_ACCOUNT t0
    WHERE t0.BANKCODE = ? : [reused=1;params={(BigDecimal) 1234}]
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Select query differences between oracle 9 and oracle 8.

    Hi,
    I have a problem using the select query between oracle 7 and oracle 9i I don't have the same result :
    ex:
    With oracle7
    SQL> select 'champ1','champ2' from DUAL;
    'CHAMP 'CHAMP
    champ1 champ2
    With Oracle 9
    SQL> select 'champ1','champ2' from DUAL;
    'CHAMP1' 'CHAMP2'
    champ1 champ2
    So Can someone tell me how to solve this problem ? Is there a parameter in oracle 9 to set?
    Thanx.

    Whenever you are posting anything over internet forums like this - you should be very careful about not just posting the details which requires to solve the problem - also should be sensible about your question.
    This is not at all desired when you are posting such question. It may be because - you may not well aware of the fact.
    My suggestion is -> First Go through the basics Of SQL in general.
    Then go for any specific product like Oracle/ SQL Server/ Sybase etc.
    And, finally learn the advanced commands of that DB.
    You asked it - may be you thought the difference in output in terms of lines. But, that is not your actual output. That is the graphical display part only.
    Anyway,
    You can get the quite familier output by first type the following command ->
    set lin 310Regards.
    Satyaki De.

  • What is the Diffrence between Oracle 11 and 11i

    What is the Diffrence between Oracle 11 and Oracle11i ?.
    With Rgds
    Arun J.Isaac

    Oracle 11i is internet based and run with java platform where we can see the applets downloading alongwith oracle forms and it refreshes all the jar files in oracle default directory.
    Oracle 11 is not intergrated with Java its an Oracle standalone platform.
    Regards,
    Arumugam S.

  • Oracle Forms and Reports Installation - Creating domain failed

    I installed the weblogic 10.3.6 (Oracle WebLogic Server 11gR1 (10.3.6) + Coherence + OEPE - Package Installer) in my Microsoft Windows(32-bit JVM) system first.
    But there was an error occorred when the package of forms and reports (Oracle Forms and Reports 11gR2 (11.1.2.2.0)) was installing.
    Please find the following error message for your reference.
    Do you have any idea? Please kindly advise.
    Thanks a lot!
    2014-04-02 14:11:14,099 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - read template from "C:/Users/GZ/AppData/Local/Temp//tmp1396419069239wls.jar"
    2014-04-02 14:11:16,185 INFO  [main] com.oracle.cie.domain.template.catalog.impl.ComponentsXMLConverter - C:\Oracle\Middleware\wlserver_10.3\common\lib\components.xml does not contain component elements and will be skipped
    2014-04-02 14:11:17,556 INFO  [main] com.oracle.cie.domain.WLSTemplateBuilder - No config-groups.xml found in template
    2014-04-02 14:11:17,556 INFO  [main] com.oracle.cie.domain.WLSTemplateBuilder - No template-database.xml found in template
    2014-04-02 14:11:18,205 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: read template from "C:/Users/GZ/AppData/Local/Temp//tmp1396419069239wls.jar"
    2014-04-02 14:11:18,477 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set config option ServerStartMode to "prod"
    2014-04-02 14:11:18,477 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set config option ServerStartMode to "prod"
    2014-04-02 14:11:18,490 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - create Machine "PC-42A26D.GZAD.MSAD.LOCAL" as obj0
    2014-04-02 14:11:18,604 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: create Machine "PC-42A26D.GZAD.MSAD.LOCAL" as obj0
    2014-04-02 14:11:18,612 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - find Server "AdminServer" as obj1
    2014-04-02 14:11:18,652 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: find Server "AdminServer" as obj1
    2014-04-02 14:11:18,698 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute Machine to "PC-42A26D.GZAD.MSAD.LOCAL"
    2014-04-02 14:11:18,705 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute Machine to "PC-42A26D.GZAD.MSAD.LOCAL"
    2014-04-02 14:11:18,706 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute ListenPort to "7002"
    2014-04-02 14:11:18,716 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute ListenPort to "7002"
    2014-04-02 14:11:18,716 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - create Server!SSL "AdminServer!AdminServer" as obj2
    2014-04-02 14:11:18,724 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: create Server!SSL "AdminServer!AdminServer" as obj2
    2014-04-02 14:11:18,735 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj2 attribute HostnameVerificationIgnored to "true"
    2014-04-02 14:11:18,739 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj2 attribute HostnameVerificationIgnored to "true"
    2014-04-02 14:11:18,739 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - find User "weblogic" as obj3
    2014-04-02 14:11:18,755 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: find User "weblogic" as obj3
    2014-04-02 14:11:18,755 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - delete obj3
    2014-04-02 14:11:18,763 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: delete obj3
    2014-04-02 14:11:18,764 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - create User "weblogic" as obj4
    2014-04-02 14:11:18,768 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: create User "weblogic" as obj4
    2014-04-02 14:11:18,771 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute PeriodLength to "200000"
    2014-04-02 14:11:18,807 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute PeriodLength to "200000"
    2014-04-02 14:11:18,807 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute IdlePeriodsUntilTimeout to "20"
    2014-04-02 14:11:18,815 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute IdlePeriodsUntilTimeout to "20"
    2014-04-02 14:11:18,815 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute DGCIdlePeriodsUntilTimeout to "21"
    2014-04-02 14:11:18,821 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute DGCIdlePeriodsUntilTimeout to "21"
    2014-04-02 14:11:18,822 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute IdleConnectionTimeout to "1000"
    2014-04-02 14:11:18,830 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute IdleConnectionTimeout to "1000"
    2014-04-02 14:11:18,833 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj4 attribute Password to "********"
    2014-04-02 14:11:18,837 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj4 attribute Password to "********"
    2014-04-02 14:11:18,837 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set config option OverwriteDomain to "true"
    2014-04-02 14:11:18,837 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set config option OverwriteDomain to "true"
    2014-04-02 14:11:18,837 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set config option JavaHome to "C:/Oracle/Middleware/jdk160_29"
    2014-04-02 14:11:18,837 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set config option JavaHome to "C:/Oracle/Middleware/jdk160_29"
    2014-04-02 14:11:18,948 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - validateConfig "KeyStorePasswords"
    2014-04-02 14:11:18,953 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: validateConfig "KeyStorePasswords"
    2014-04-02 14:11:18,954 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - write Domain to "C:/Oracle/Middleware/user_projects/domains/base_domain"
    2014-04-02 14:11:19,441 INFO  [main] com.oracle.cie.domain.DomainChecker - ListenPort internal Validation result= [null]
    2014-04-02 14:11:19,441 INFO  [main] com.oracle.cie.domain.DomainChecker - ListenPort external Validation result= [null]
    2014-04-02 14:11:21,609 INFO  [Thread-1] com.oracle.cie.domain.StartMenu - Creating start menu program=C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd link=Start Admin Server for Weblogic Server Domain
    2014-04-02 14:11:21,659 INFO  [Thread-1] com.oracle.cie.domain.StartMenu - Creating start menu program=C:\Oracle\Middleware\user_projects\domains\base_domain\bin\stopWebLogic.cmd link=Stop Admin Server
    2014-04-02 14:11:21,667 INFO  [Thread-1] com.oracle.cie.domain.StartMenu - Creating start menu program=C:\Windows\system32\rundll32.exe link=Admin Server Console
    2014-04-02 14:11:21,759 INFO  [Thread-1] com.oracle.cie.domain.DomainRegistryWrapper - need to initialize domainRegistrydocument object
    2014-04-02 14:11:21,777 INFO  [Thread-1] com.oracle.cie.domain.DomainGenerator - Domain Generation Successful!
    2014-04-02 14:11:21,783 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: write Domain to "C:/Oracle/Middleware/user_projects/domains/base_domain"
    2014-04-02 14:11:21,784 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - close template
    2014-04-02 14:11:21,784 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: close template
    2014-04-02 14:11:21,784 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - read domain from "C:/Oracle/Middleware/user_projects/domains/base_domain"
    2014-04-02 14:11:21,967 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: read domain from "C:/Oracle/Middleware/user_projects/domains/base_domain"
    2014-04-02 14:11:21,967 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - add template C:/Oracle/Middleware/oracle_common/common/templates/applications/jrf_template_11.1.1.jar to domain
    2014-04-02 14:11:22,011 WARN  [main] com.oracle.cie.domain.template.dependency.TemplateSelectionTarget - Catalog does not have matching template for location C:\Users\GZ\AppData\Local\Temp\tmp1396419069239wls.jar
    2014-04-02 14:11:22,071 INFO  [main] com.oracle.cie.domain.WLSTemplateBuilder - No template-database.xml found in template
    2014-04-02 14:11:22,100 INFO  [main] com.oracle.cie.domain.WLSTemplateBuilder - No template-database.xml found in template
    2014-04-02 14:11:22,101 ERROR [main] com.oracle.cie.domain.ConfigGroupsEngine$ConfigTopology - Multiple definitions of server-group BI-ADF-ADMIN-SVR are not allowed
    2014-04-02 14:11:22,101 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - fail: add template C:/Oracle/Middleware/oracle_common/common/templates/applications/jrf_template_11.1.1.jar to domain
    2014-04-02 14:11:22,101 ERROR [main] com.oracle.cie.domain.script.ScriptExecutor - fail: add template C:/Oracle/Middleware/oracle_common/common/templates/applications/jrf_template_11.1.1.jar to domain
    com.oracle.cie.domain.ConfigGroupsException: Multiple definitions of server-group BI-ADF-ADMIN-SVR are not allowed
    at com.oracle.cie.domain.ConfigGroupsEngine$ConfigTopology.merge(ConfigGroupsEngine.java:2762)
    at com.oracle.cie.domain.ConfigGroupsEngine.mergeTopology(ConfigGroupsEngine.java:551)
    at com.oracle.cie.domain.ConfigGroupsEngine.merge(ConfigGroupsEngine.java:479)
    at com.oracle.cie.domain.AbstractTemplate.addConfigGroups(AbstractTemplate.java:314)
    at com.oracle.cie.domain.script.ScriptExecutor.addTemplate(ScriptExecutor.java:605)
    at com.oracle.cie.domain.script.jython.WLScriptContext.addTemplate(WLScriptContext.java:416)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyInstance.invoke(Unknown Source)
    at org.python.pycode._pyx3.addTemplate$20(C:\Users\GZ\AppData\Local\Temp\WLSTOfflineIni364664194239939514.py:89)
    at org.python.pycode._pyx3.call_function(C:\Users\GZ\AppData\Local\Temp\WLSTOfflineIni364664194239939514.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx15.f$0(C:\Users\GZ\AppData\Local\Temp\tmp1396419069304.py:42)
    at org.python.pycode._pyx15.call_function(C:\Users\GZ\AppData\Local\Temp\tmp1396419069304.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.util.PythonInterpreter.execfile(Unknown Source)
    at weblogic.management.scripting.WLST.main(WLST.java:139)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.WLST.main(WLST.java:29)

    hi user ...
    on windows there are some steps in front of installation and configuration.
    1) cleare the Windows Env (Path .. Programme x86 )
         no Blank in Path and so on
    2) insert into your local host file your server and IP Adress
    3) in Windows 32 setup of WLS is JDK included so you don't have to install the jdk in front of WLS
    4) verify if you are using the right installation medium (jdk 32 bit, wls 32 bit , fmw 32 bit
    in your OraInventory/logs directory is a *.out file for your installation please can you put this file in the forum
    is there a nodemanager up and running (if so please stop)
    Jan-Peter

  • Oracle Portal and Discoverer Integration

    Portal Version: 9.0.2.0.1
    RDBMS Versjion: 9.0.1.3
    OS/Vers. Where Portal is Installed:: Suse 7 SLES
    Error Number(s)::
    Oracle Portal and Discoverer Integration
    We're trying to integrate Discoverer with Portal unsuccessfully.
    We made many things in accordance with oracle's documentation until add discoverer portlets (worksheet and list of workbooks) in a test page.
    In view mode, the worksheet portlet shows the error:
    "The portlet has not been defined. The publisher must define the portlet by clicking on Edit Defaults for the portlet on the edit mode of this page. Please contact the publisher of this page."
    We think we have to edit properties before. Is this? Anyway edit worksheet portlet crashes between step 1 and 2. The error is: "The listener returned the following Message: 500 Internal Server Error".
    We have a public conection created in EM and a discoverer application which can be viewed using plus or viewer.
    Furthermore, it's not possible delete the added portlets neither the page that contain it. The error at delete is:
    Error: An unexpected error occurred: User-Defined Exception (WWC-44082)
    (WWC-00000)
    An unexpected error has occurred in portlet instances: User-Defined Exception (WWC-
    44846)
    An unexpected error occurred: User-Defined Exception (WWC-43000)
    The following error occurred during the call to Web provider:
    oracle.portal.provider.v2.PortletNotFoundException
    at oracle.portal.utils.v2.ContainerException.fillInStackTrace(Unknown Source)
    at java.lang.Throwable.<init>(Throwable.java:78)
    at java.lang.Exception.<init>(Exception.java:29)
    at oracle.portal.utils.v2.ContainerException.<init>(Unknown Source)
    at oracle.portal.provider.v2.PortletException.<init>(Unknown Source)
    at oracle.portal.provider.v2.PortletNotFoundException.<init>(Unknown Source)
    at oracle.disco.portlet.provider.DiscoPortletPersonalizationMgr.destroy
    (DiscoPortletPersonalizationMgr.java:65)
    at oracle.portal.provider.v2.DefaultPortletInstance.deregister(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.deregisterPortlet
    (Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.doMethodCall(Unknown Source)
    at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.processInternal(Unknown Source)
    at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.process(Unknown Source)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.doSOAPCall(Unknown Source)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ResourceFilterChain.doFilter
    (ResourceFilterChain.java:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke
    (ServletRequestDispatcher.java:523)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal
    (ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest
    (HttpRequestHandler.java:735)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    (WWC-43147)
    Edit properties for portlet List of Workbook works but in view mode we have the error in the portlet area:
    "Failed to refresh portlet. Please verify that the information used to create the
    portlet instance or customization is still valid. Otherwise, please contact your
    iAS administrator. oracle.discoiv.controller.FatalControllerException:
    DiscoNetworkException - Nested exception: org.omg.CORBA.OBJECT_NOT_EXIST: minor
    code: 0 completed: No null"
    Any ideas?
    Thanks

    Hi there,
    Have you applied any patches to 9ias since it was first installed? We had the same problem and had to apply a couple of patches to get the portlets working.
    1. Apply the 9.0.2.53.16 one-off patch for Oracle 9iAS Discoverer which takes Discoverer up to 9.0.2.53.16. This patch appears to be password protected and you need to get someone at Oracle support to give you a password.
    2. Apply the Discoverer Portlet Provider: 9.0.2.53.00c patch (patch no. 2595444) which gives you a new discportal.xsl file that actually works. It's this second step that solves your problem but you need to do step 1 before this. This is password protected as well.
    3. As you've upgraded Disco on the server to 9.0.2.53, you'll need to upgrade Disco Admin & Desktop within your 9iDS installation using patch no. 2555265. This is because Disco 9.0.2.53 uses an upgraded EUL that Disco Admin & Desktop need to be patched to use.
    This was the course of action Oracle support advised us about nine months ago. Of course they may have released a further patch to Disco that does 1 & 2 in one go, but we regularly carry out steps 1 and 2 on servers we use and we can use the Disco portlets successfully.
    Hope this helps
    Mark Rittman
    [email protected]

  • Oracle optimizer and heterogeneous services (Transparent Gateway for ODBC)

    Hi everyone!
    We have the following configuration:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production.
    Oracle Database Gateway for ODBC 11.2.0.2.0 on the same machine as Oracle DB.
    Non-Oracle DB installed on a different hardware accessed through Oracle Gateway for ODBC via dblink.
    Now, we have to query the remote non-Oracle system and retrieve some data. For the sake of brevity let's suppose we have the following table in our non-Oracle DB:
    create table test (
         ip_address varchar(15),
         start_time datetime,
         end_time datetime
    And we run the following SQL query against the remote table on our Oracle DB:
    SELECT start_time,end_time,ip_address
    FROM remote_table@db_link
    WHERE
    end_time >= to_date('2011-10-11 00:00:00','rrrr-mm-dd hh24:mi:ss')
    OR (
    end_time IS NULL AND start_time >= to_date('2011-10-11 00:00:00','rrrr-mm-dd hh24:mi:ss')
    AND start_time <= to_date('2011-10-12 00:00:00','rrrr-mm-dd hh24:mi:ss')
    AND ip_address = '127.0.0.1';
    But, having query monitoring on the remote DB enabled, we see that the actual query on the remote site looks like this:
    SELECT "START_TIME","END_TIME","IP_ADDRESS"
    FROM "REMOTE_TABLE"
    WHERE "IP_ADDRESS"='127.0.0.1' AND "START_TIME"<=?
    All references to END_TIME column are gone from WHERE clause for whatever reason.
    However, Oracle execution plan shows us the following:
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Inst |IN-OUT|
    | 0 | SELECT STATEMENT | | 1 | 27 | 200 (0)| 00:00:03 | | |
    |* 1 | FILTER | | 1 | 27 | 200 (0)| 00:00:03 | | |
    | 2 | REMOTE | REMOTE_TABLE | | | | | DB_LINK | R->S |
    Predicate Information (identified by operation id):
    1 - filter("END_TIME">=TO_DATE('2011-10-11 00:00:00','rrrr-mm-dd hh24:mi:ss') OR
    "END_TIME" IS NULL AND "START_TIME">=TO_DATE('2011-10-11 00:00:00','rrrr-mm-dd hh24:mi:ss'))
    Remote SQL Information (identified by operation id):
    2 - SELECT "END_TIME","IP_ADDRESS","START_TIME" FROM "REMOTE_TABLE" WHERE
    "IP_ADDRESS"='127.0.0.1' AND "START_TIME"<=:1 (accessing 'DB_LINK' )
    This actually means that Oracle CBO decided that it will apply filter on END_TIME column after having retrieved the data from the remote site. We don't want this behaviour but have no idea how to affect execution plan in this case.
    So, the question is: How can we force Oracle CBO to not change the initial query and pass it to the remote site "as is"? Is there any way we can achieve this goal?
    Edited by: user12024904 on 28-Oct-2011 04:05

    Hi,
    Our Oracle DB and Gateway are running on the following system:
    HP-UX B.11.31 U ia64
    The following SQL code is executed in SQLPlus:
    SELECT start_time,end_time,ip_address
    FROM ip_acc_complete@gr_link
    WHERE
    END_TIME >= to_date('2010-10-21 00:00:00','rrrr-mm-dd hh24:mi:ss')
    OR (
    END_TIME is null AND START_TIME >= to_date('2010-10-21 00:00:00','rrrr-mm-dd hh24:mi:ss')
    AND START_TIME <= to_date('2010-10-22 00:00:00','rrrr-mm-dd hh24:mi:ss')
    AND IP_ADDRESS = '127.0.0.1';
    Gateway debug trace shows the following:
    Oracle Corporation --- TUESDAY NOV 01 2011 14:59:15.254
    Heterogeneous Agent Release
    11.2.0.2.0
    Oracle Corporation --- TUESDAY NOV 01 2011 14:59:15.254
    Version 11.2.0.2.0
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/greenwich64/lib/libodbc.so.1"
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using query as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    SQL text from hgopars, id=1, len=117 ...
    00: 53454C45 43542022 454E445F 54494D45 [SELECT "END_TIME]
    10: 222C2249 505F4144 44524553 53222C22 [","IP_ADDRESS","]
    20: 53544152 545F5449 4D452220 46524F4D [START_TIME" FROM]
    30: 20224950 5F414343 5F434F4D 504C4554 [ "IP_ACC_COMPLET]
    40: 45222057 48455245 20224950 5F414444 [E" WHERE "IP_ADD]
    50: 52455353 223D2731 32372E30 2E302E31 [RESS"='127.0.0.1]
    60: 2720414E 44202253 54415254 5F54494D [' AND "START_TIM]
    70: 45223C3D 3F [E"<=?]
    Deferred open until first fetch.
    Performing delayed open.
    The non-Oracle DB is CopperEye Retrieval Server with its own custom ODBC driver.
    CopperEye query log shows that the following query is received from Oracle Gateway:
    01/11/2011 14:26:31 - NEW QUERY :
    SELECT "END_TIME","IP_ADDRESS","START_TIME" FROM "IP_ACC_COMPLETE" WHERE "IP_ADDRESS"='127.0.0.1' AND "START_TIME"<=?
    which complies with the information in Oracle Gateway trace file.
    So, it seems that it's Oracle DB decision to split the original WHERE clause into two parts, delegate one part to the remote site, retrieve the data and then apply the remaining filter locally.

  • Oracle XE and character set

    Hello all,
    I installed Oracle XE on RHEL 4 Linux and I found out that database character set is AL32UTF8. Does anyone know why oracle choose this character set? Maybe because of NLS_LANG env variable? Is it possible to change it to EE8ISO8859P2? Since database is still empty I can drop it and crate new database.
    Do you think it is possible to set some env variables and do new oracle xe instalation including database with iso charset?
    I want to have EE8ISO8859P2 charset because of doing exp/imp from another oracle iso db to oracle xe and it is much easier to do this without charset conversion.
    Any help will be appreciated.
    regards,
    Miha

    When you download XE, you have a choice - take the 'western european' character set download, or the 'unicode' download.
    No other choices.
    Join us over in the XE forum where people have discussed this and found workarounds. Info about finding that forum at Re: Oracle XE Installation failed

Maybe you are looking for

  • Wife getting her first iPhone - adding to Mac with my phone

    My wife and I have been sharing the same user profile on our Mac. It's easy because I'm the only one with a mobile device. I should note that my daughter has an iTouch, she has her own user profile. Our iTunes Media folder is on the shared folder bec

  • [SOLVED] Can't boot back into windows

    Been a while since I had to install Arch but my previous PC died so I tried installing it on my new one. When I installed it last time, there was no EUFI and it was a simple Grub installation. When I installed it, I disabled eufi from my bios to lega

  • Where is the path of default.css the .rpt file

    I'm trying to use CSS in my report file, I in research on the internet see much talk of "set css class" I know I can assign this way the NAME of the css class, but I want to change the file CSS in itself, where it is? which the 'path' of him and wher

  • The JVM library could not be found

    Hi there my name is javier and I am having a problem trying to get the PFProColdFusion from Verisign to work on my cold fusion administrator. I follow all the steps and then when I ran the test.cfm file is comming up with the following error message:

  • Firefox freezes when I switch tabs or write in a form.

    Every time I switch tab by clicking on them(and sometimes when using the short cut, ctrl+tab ctrl+2 etc) or when I start writing in the awesomebar/a form Firefox freezes. It just visual freeze so I can still go to a website, click on stuff and so on.