Connect by clause - Major bug with Oracle 9.0.1

Currently I am working with Oracle 8.1.6 database,
now we are migrating to Oracle 9.0.1.
We are often using "Connect By" clause in our queries since our database structure is hierarchical.
I am facing one problem with "Connect By" clause in
Oracle 9.0.1, actually which is working properly with Oracle 8.1.6.
I am giving the Problem.
I have created a Table say Object_Master,
Then I insert 3 rows in that table,
and then I commit and try to execute one query,
Same thing is working properly in Oracle 8.1.6 but same query is not working in Oracle 9.0.1.
Following is the script.
Create table Object_Master
ObjectId Number(5),
ObjectName Varchar2(255),
ParentId Number(5),
DeleteStatus Varchar2(1),
IsSecuritySet Varchar2(1))
Insert Into Object_Master Values (1,'john',0,'N','Y')
Insert Into Object_Master Values (2,'ADMIN',1,'N','Y')
Insert Into Object_Master Values (3,'ADMIN',1,'N','Y')
Commit
Select * from
Object_Master
Start with ObjectId = 1
Connect By parentid = Prior ObjectId
And DeleteStatus = 'N' And ( IsSecuritySet = 'N' Or ObjectName = 'ADMIN' )
This script is working perfectly with Oracle 8.1.6 but when I try to run this sc[i]Long postings are being truncated to ~1 kB at this time.

Hey Mitesh,
What's going on? So many posting for the same question, and that is also not comlete. Try to post rest of your question.
Dharmesh Patel

Similar Messages

  • Connect By Clause -  Major Bug in Oracle 9.0.1

    Currently I am working with Oracle 8.1.6 database,
    now we are migrating to Oracle 9.0.1.
    We are often using "Connect By" clause in our queries since our database structure is hierarchical.
    I am facing one problem with "Connect By" clause in
    Oracle 9.0.1, actually which is working properly with Oracle 8.1.6.
    I am giving the Problem.
    I have created a Table say Object_Master,
    Then I insert 3 rows in that table,
    and then I commit and try to execute one query,
    Same thing is working properly in Oracle 8.1.6 but same query is not working in Oracle 9.0.1.
    Following is the script.
    Create table Object_Master
    ObjectId Number(5),
    ObjectName Varchar2(255),
    ParentId Number(5),
    DeleteStatus Varchar2(1),
    IsSecuritySet Varchar2(1))
    Insert Into Object_Master Values (1,'john',0,'N','Y')
    Insert Into Object_Master Values (2,'ADMIN',1,'N','Y')
    Insert Into Object_Master Values (3,'ADMIN',1,'N','Y')
    Commit
    Select * from
    Object_Master
    Start with ObjectId = 1
    Connect By parentid = Prior ObjectId
    And DeleteStatus = 'N' And ( IsSecuritySet = 'N' Or ObjectName = 'ADMIN' )
    This script is working perfectly with Oracle 8.1.6 but when I try to run this sc[i]Long postings are being truncated to ~1 kB at this time.

    Hey Mitesh,
    What's going on? So many posting for the same question, and that is also not comlete. Try to post rest of your question.
    Dharmesh Patel

  • I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g dat

    I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g database. So, i have installed both databases on different pc's on windows platform. MS SQL Server 2005 on windows XP and Oracle 10g on windows 2003.
    I have configure Golden Gate step by step by following oracle guideline:
    http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html
    When i run following command on target (oracle 10g):
    replicat paramfile dirprm/inload.prm
    I encounterd following error:
    2012-05-21 20:27:06 ERROR OGG-00014 Unrecognized parameter: USERID. Paramete
    r could be misspelled or unsupported.
    2012-05-21 20:27:06 ERROR OGG-01668 PROCESS ABENDING.
    My INLOAD FILE Content are:
    SPECIALRUN
    END RUNTIME
    USERID gg_user, PASSWORD welcome1
    EXTFILE D:\oracle\gg\dirdat\ex
    SOURCEDEFS D:\oracle\gg\dirdef\emp.def
    MAP hrschema.emp, TARGET gg_user.emp;
    Can you plz suggest me that where i am wrong?
    Thanks advance to all experts.

    amardeep.sidhu wrote:
    That should work, just in case try adding DBLOGIN before USERID
    DBLOGIN USERID x..No needed in the param file i think.its not needed at all you are right, but what else could it be? Besides any special unseen character :P

  • Problem to connect Developer Suite forms 9 with Oracle 9i Database

    Hi,
    I have a problem to connect Developer Suite Release 2 forms 9 with Oracle 9i database release 1. I have done net8 easy configuration but no success. Can any one help me to solve this problem.
    Thanks in Advance
    Nasir Ali Mughal

    We cannot help if you don't give us the error number that you get.
    Also something that you might want to do is to search this error number on OTN.

  • Problem Connecting Developer Suite Form 9 with Oracle 9i Database

    Hi,
    I have a problem to connect Developer Suite Release 2 forms 9 with Oracle 9i database release 1. I have done net8 easy configuration but no success. The error is ORA-12514 TNS: Listener could not resolve SERVICE_NAME given in connect descriptor. I am not using any application server. Can any one help me to solve this problem.
    Thanks in Advance
    Nasir Ali Mughal

    Configure the net configuration for both 9idb and 9ids in the same way. Make sure the TNSlisner is started.

  • Connect to a mysql database with Oracle 9i

    Hello,
    how can I connect to a non_oracle-database in "Oracle 9i".
    I created a ODBC data source. In Oracle8 I needed OCA. But in 9i I believe the OCA is replaced by another thing.
    I wanted to connect in SQL*PLUS with:
    username/password@odbc:mysql
    But I get the error: ora-03121 "no interface driver connected - function not performed".
    How can I connect to another database?

    I've solved the DW problem by changing the site folders from
    'db' to 'wwwroot' e.g. 'C:\CFusionMX\db\' is now
    'C:\CFusionMX\wwwroot\
    However I'm now back to my original problem. I've lost my
    mqysql connection in CF Adminstrator. Before I made these changes I
    could connect to my mysql databases using the following settings:
    JDBC URL: jdbc:mysql://localhost:3306/test
    Driver Name: MySQL Connector J
    using the following Java path and file:
    C:\CFusionMX\wwwroot\WEB-INF\lib\mysql-connector-java-3.0.17-ga-bin.jar
    Now these settings give me the following error:
    "Connection verification failed for data source: javaserver
    []java.sql.SQLException: SQLException occurred in JDBCPool
    while attempting to connect, please check your username, password,
    URL, and other connectivity info.
    The root cause was that: java.sql.SQLException: SQLException
    occurred in JDBCPool while attempting to connect, please check your
    username, password, URL, and other connectivity info"
    Any suggestions on this would also be welcome.
    Thanks again to everyone for their help.
    Sincerely,
    Graham A. Kerby

  • How to connect to SQL server 2000 with Oracle Form

    Hi,
    I'm looking for the document of how to connect "SQL Server 2000" with Oracle Form 6i. Anyone knows that?

    Shay or other knowledgeable folks,
    Is there a way to utilize the wizard for "Business Tier > ADF Business Components > Business Components from Tables" for SQL Server 2000, 2005 or 2008. I can successfully execute sql via java programmatically or import a table from SQL Server with "Business Tier > ADF Business Components > Entity Object" wizard, but the Business Components from Tables simply doesn't see any tables under any schema. Without the "Business Components from Tables", i don't get the referential constraints imported into the application and to code all those from scratch is just not as elegant. So far i have only utilized the sql server jdbc driver from Microsoft (versions, 1.1, 1.2 and 2.0). Is there an alternative client that i need to use to enable selecting tables from that "Business Components from Tables" wizard. Is this a limitation of SQL Server, the jdbc driver or the wizard itself? Did anybody else experience the same issues? I am using Jdeveloper 11.1.1.0.1 against SQL Server 2005 (currently)
    Thanks,
    Andy

  • Connect MDM components (MDM, MDIS) with Oracle (MCOD)

    Hello!
    I successfully installed SRM-MDM Catalog with MDS and MDIS and MDM console
    (scenario: SAP EHP4 ERP system with SRM server, SAP EP EHP1 and SRM-MDM Catalog).
    Now I would like to integrate MDM with Oracle.
    On the server I allready have 2 Oracle instances (SAP EHP4 ABAP and Portal).
    So I have MCOD Oracle installation.
    What are the technical steps (oralce steps) to connect MDM components with Oracle?
    (editing tnsnames.ora, creating/modifying tablespaces)
    kind regards

    Hi!
    Thank you very much!
    My current situation:
    Oracle software was installed and updated to version 10.2.0.4 by previous ABAP and Portal system.
    Now I installed MDM with MDM ans MDIS.
    So I have ABAP, Portal and MDM components on the same windows server.
    Now I would like to connect my MDM components to Oracle.
    Questions:
    1) Which oracle post installation steps do I need, when I allready installed Oracle and have 2 oracle separate instances on the same server (MCOD)?
    a) modification of  TNSNAMES.ORA
    b) creation of new oracle users for MDM/modification of environment variables for MDM OS users
    b) creation of new database instance or integration of MDM into existing ABAP or Portal oracle instance
    Thank you very much!
    kind regards

  • Trouble connecting Jboss 3.2.4 with Oracle 11g.

    We are facing some trouble connecting 4 JBoss servers to an Oracle 11g server. Oracle server is working as a RAC with two nodes. We have two HP server every one of those have two JBoss application servers version 3.2.4. Each one of those application servers has been configurated in order to work with any of the Oracle nodes. We have this connection string in oracle-ds.xml :
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(FAILOVER=on)(ADDRESS_LIST=(ADDRESS=(protocol=tcp)(host=csibd01t_vip)(port=1521))(ADDRESS=(protocol=tcp)(host=csibd02_vip)(port=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=racdb)))
    We start all the four JBoss servers and every thing is going ok, but after about 20 minutes the oracle connections are reset. The exactly error is like this:
    Exception destroying ManagedConnection org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@30d83d[state=DESTROYED mc=[email protected]c4 handles=0 lastUse=1247696255808 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@ef9f84 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@1d1c3cd]
    org.jboss.resource.JBossResourceException: SQLException; - nested throwable: (java.sql.SQLException: Io exception: Connection reset)
    at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkException(BaseWrapperManagedConnection.java:572)
    at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:276)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:535)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.removeTimedOut(InternalManagedConnectionPool.java:411)
    at org.jboss.resource.connectionmanager.IdleRemover$1.run(IdleRemover.java:70)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: Io exception: Connection reset
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
    at oracle.jdbc.driver.OracleConnection.close(OracleConnection.java:1478)
    at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:272)
    ... 4 more
    17:39:25,438 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
    Well, now if I start the four JBoss servers in just one machine every thing works fine. I mean as I already said that I have two Hewllett-Packard machines and in every machine I run two JBoss servers, but if I run the four JBoss in only one machine the thing works... so I think that something is wrong with my RAC... please I hope you can help me.. thanks in advanced.
    Edited by: user11706866 on 17-jul-2009 15:56
    Edited by: Guido-Granobles on 21-jul-2009 12:05
    Edited by: Guido-Granobles on 21-jul-2009 12:06

    Hi,
    Check if connect string is correct...
    I can see csibd01t_vip and csibd02-vip. Is it your vip addresses? Or it is a write error?
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(FAILOVER=on)(ADDRESS_LIST=(ADDRESS=(protocol=tcp)(host=*csibd01t_vip*)(port=1521))(ADDRESS=(protocol=tcp)(host=*csibd02-vip*)(port=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=racdb)))
    Cheers,
    Rodrigo Mufalani
    http://mufalani.blogspot.com

  • User error when connecting to Apex on XE with Oracle drive

    Hi,
    When I tried to connect to Apex (webdav) on an XE database to access themes and css with Oracle Drive it sends incorrect user or password message, I tried with sys, system and other users.
    With windows explorer I could connect using the same user.
    Any help to sove my problem is welcome
    thanks

    Steve_Macleod wrote:
    I am having some issues with connecting to Apex Listener via SQL Developer. I get "cannot connect to connection" when I attempt to connect.
    I do get apex pages (when I use the Glassfish default port - it doesn't seem to take the specified port which is defined as 7788 in the apex.properties at the config.dir location). The port specified in apex.properties is only used by Standalone Mode, the port that GlassFish uses is configured by GlassFish, not Listener.
    I have defined the user via the war config (which is written to the credentials file), and added the users under default config > file realm in Glassfish.You only need to do the former, doing the latter should have no effect, I would remove the user in the GlassFish file realm, to avoid causing confusion.
    I wonder if anyone has had a similar issue?
    Ensure you have spelt the role name correctly when setting up the user, any typos (it is case sensitive) and it won't match the role, and will therefore refuse access.
    You have disabled SSL verfication as well? (If you are not using SSL)
    http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25066/install.htm#CHDJFAAI
    If neither of those work, try turning on logging in the Listener to see if the request is even reaching Listener (It sounds like it's not even connecting TBH).
    https://cdivilly.wordpress.com/2013/03/11/configuring-logging-with-oracle-application-express-listener-and-glassfish/
    I am using the following:
    Glassfish 3.1.2.2
    Apex Listener 2.0.2.133.14.50
    SQL Dev 3.2.09
    Edited by: Steve_Macleod on May 24, 2013 2:42 PM
    Edited by: Steve_Macleod on May 24, 2013 2:57 PM

  • How to connect Forms 6i & Reports 6i with oracle 10g R2?

    Hey everybody,
    I need your help in connecting both Forms 6i & Reports 6i with Oracle 10g Release 2 db, MS Access(2003, 2007) and SQL database(Microsoft Visual Studio 2008). I am a newbie. I have installed all of them on my HP notebook, with Windows 7 Ultimate(32 bit OS) installed. I want to generate forms & reports by accessing data from above mentioned databases. Please provide me with the configuration steps.
    Thanks in advance...!

    Welcome to the forum ;-)
    Please be sure to review the following:
    http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
    First, I think it would be a good idea if we can understand why you have chosen to use a nearly new operating system yet install Oracle products that are 10 years old (i.e. Forms/Reports 6i) on it. In general, this is not a good idea. Although running such an old version on Win7 can be made to work, the possibility of having problems is likely. If you are infact new to the product, using a configuration where you are likely to have problems may not be a good starting place. Also, you should be aware that Forms/Reports 6i was desupported several years ago. Documentation and other information is gradually being replaced by newer information, so resources for this old version are going away. The latest version of Forms/Reports is part of Fusion Middleware 11R2 (version 11.1.2.0) and requires WebLogic Server 10.3.5 (or 10.3.6) in order to be installed.
    Second, if you decide to stick with F/R 6i, are you planning to run the applications you create in a browser or as a client/server application? This information is important because how you connect to a database will slightly differ depending on which option you choose. Also, if you want to connect to non-Oracle data sources you can use ODBC for client/server or Oracle Transparent Gateway. However, if you plan to deploy the applications using a browser, Gateway is your only option for connecting to non-Oracle datasources. As for connecting to MS Access, I believe ODBC is your only option, so web deployment may not be an option.
    http://docs.oracle.com/cd/B19306_01/gateways.102/b14270/ch1.htm
    There are many other references available. Try a Google search.
    As for connecting to an Oracle database, this is generally easy. For the Builder(s) and client/server runtime to connect, add the db information to the tnsnames.ora found in the Oracle Home (installation directory) \network\admin. If you are unfamiliar with what goes in the file you can copy the entries created for your database. The db will have a similar file found in a similar place in its installation directory (Oracle Home). For example, you might find something like this:
    ORCL =
    (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = YOURSERVER.COM)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    )Simply copy this information to the end of your tnsnames.ora found where Forms/Reports is installed then restart any running Forms or Builders.

  • Major bug with iCloud restore and the multitasking menu that compromises privacy.

    Hello there,
    I very rarely post on these forums but I’ve discovered what I think is a pretty serious bug. I’ve already sent this as feedback to apple but id be interested to know if anybody else is able to re-create it or has already stumbled across the problem.
    I have been able to recreate this problem twice by creating an icloud backup on an iPhone 6 (iOS 8.0) and restoring to an iphone 6 (iOS 8.0).
    The problem has to do with the multitasking snapshots that appear after double clicking the home button. On the iPhone it is my understanding that there can be up to 3 ‘different’ snapshots based on when the home button is double clicked and the orientation of an app:
    a) The first is when you have an app open in portrait mode and then close it or click the home button to exit. Double clicking the home button from the home screen will then display the multitasking menu including a portrait snapshot of what was last seen in that app.
    b) The next is when you're in an app that supports landscape mode and double click the home button whilst ‘in app.’ This displays a multitasking menu with landscape snapshots showing what was last seen when apps were open in landscape (note that if apps can only be shown in portrait than this is the image that will be shown and it will appear sideways).
    c) Finally, there is the case when you have an app open in landscape and then directly close it or press the home button, and then double press the home button. This displays a multitasking menu with portrait snapshots; however, to my knowledge these snapshots never change (they will not show the last snapshot from when the app was last open in portrait mode).
    The bug is that after restoring from iCloud, the snapshot as described in ‘C’ scenario gets set to whatever was in the icloud backup for scenario ‘A.’ Because this snapshot cannot be changed it is a major bug if for instance you have personal information in the snapshot. In my case, I have my bank statement permanently appear in the snapshot for scenario C.
    What’s more, if I have safari is in landscape and then close it; then at some point I open the multitasking bar before opening safari again in portrait mode; then the snapshot flashes up in the actual app for around 1-2 second before disappearing.
    At the moment the only solution I can see is to setup my iPhone as new but this will be a major hassle and lose all my settings etc.
    Finally, it’s worth mentioning that I think this is a bug across all ios devices with multitasking; however, with the ipads there is an easy solution because you are able to orientate the home screen in multiple ways. This means its possible to update the snapshots in a way that you can’t do on the iPhone because the home screen is locked to portrait.

    so to clarify, it appears that the multitasking snapshot for the following scenario will not update: open safari and turn to landscape, exit safari using home button or multitasking bar, then double press home button. That snapshot that appears for safari doesn't ever seem to refresh. Whatever is there is stuck there and whats more it will always pop up in the actual browser for 1-2 secs the next time safari is opened after completing those steps. Im not sure when the snapshot is initially created - it must be the first ever time you close safari but as I said in my post, it also appears to be stored in iCloud backups. So I've tried:
    a) hard resetting
    b) clearing safari cache and history
    c) resetting all settings
    d) restoring from iCloud (as mentioned)
    e) opening and closing closing safari using the multitasking menu (both the landscape multitasking menu that appears when you're actually in safari in landscape mode, and the multitasking menu that appear when you double press the home button on the home screen).
    f) same as above except closing all tbs open in safari before then exiting.

  • Needed help on connecting weblogic 8.1 SP5 with oracle 10g and mysql 5.0

    Hi !!
    Hope you are doing well...
    Can anyone tell me how to connect weblogic 8.1 SP5 with an oracle 10g DB on windows..
    also, how to connect weblogic 8.1 SP5 with mysql 5.0 on windows..
    Please step by step... very urgent..
    Thanks!! Jhonson

    Shouldn't this be posted in BEA forums?
    Try getting help there and if you encounter any Oracle related exception, you can post here.

  • How to Connect Forms or any version with Oracle Databases 8/6i/9i/10i/11i

    I want to know that how can i cannect Developer Forms / Reports with Oracle Databases with various versions and say developer 2000 to Oracel 6i/9i/10i/11i etc

    Using the appropriate setting in tnsnames.ora file located in your [Forms_Home]\network\admin directory.
    Sim

  • Major bugs in oracle 11g 11.1.0.7??

    Hii All,
    We are planning to upgrade to 11g currently we are using
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
               Now we are planning to upgrade to version 11.1.0.7,but heard that it contains many bugs.And our DBA suggest us version 11.2.0.1.0 where all the bugs in the earlier release of 11g got fixed. Is it true?
    These links show that there are some bugs in 11.1.0.7
    http://nilesh-joshi.blogspot.com/2010/06/oracle-111070-bug.html
    http://mikerault.blogspot.com/2009/03/more-fun-with-oracle11g-11107.html
    1)Can any one brief the bugs in the version 11.1.0.7 ???
    2)Let me know whether are all those bugs got fixed in the version 11.2.0.1.0??
    Is this bug oracle 11g needs group by - why? fixed in 11gR2???
    Regards
    Raghu.

    Bottom line - you'll be lucky if you never run into a bug in any release.
    I'd always be hesitant to go with any x.1 release including 11.2.0.1.
    Bear in mind that you're probably not upgrading today but in a few months time.
    11.2.0.2 is available on Linux
    Use Metalink to identify any bugs in any specific feature or release you're interested.
    Doc Id 738538.1 - 11.1.0.7 Patch Set - Availability and Known Issues
    Doc Id - 880707.1 - 11.2.0.1 Base Release - Availability and Known Issues
    Doc ID 1179474.1 - Known issues specific to 11.2.0.2
    Doc ID 1178583.1 - Bugs fixed in the 11.2.0.2 Patch Set

Maybe you are looking for

  • Why can't I burn a backup CD?

    Help! I can't burn a CD anymore. I try it in finder and get a can't communicate error...in iTunes...same thing...in iPhoto, (you guessed it...same thing) I can read my created CD's just fine with no problems (those I have created as well as those fro

  • Non-english characters in file names show as question marks

    It's probably iocharset=utf8 question, but it's not only cd-rom - native partitions with "defaults" options behave no better. What is the correct solution? Current locale is en_US.UTF-8, which should be OK.

  • Margins print too big in pages

    I'm using an imac running 10.8.4 and the latest version of Word and the latest version of Pages. It's a long story.  I've got a document I created in Word.  It prints beautifully in word.  But when I convert it to a pdf, the links in the TOC cease to

  • Poor quality video, how to make better?

    I have 18 videos for work that were created on windows movie maker. When converted and transferred to my computer (Mac) the video quality went down. How can I fix this?

  • Package printing in LR

    I have made several templates for printing packages (same view per page). Excellent! Now I need to add copyrite and studio name to each print near the bottom right. Is this possible in Lr 1.2?