Errors encountered using Database Diagram in JDeveloper 11g

Tried to bring an existing MySQL 5.0 database schema into Database Diagram in JDev. Several problems encountered as listed below:
1. For any columns that are with VARCHAR type and the length is greater than 255, I got "Display Width must be less than or equal to 255". Why JDeveloper sets such limitation even the DBMS allows? What I can do with it? I only want to do the ER modeling or do the reverse engineering here.
2. I also got "A Foreign key constraint must define at least one column" for some tables that do have FK defined properly. The message seems suggest there is FK defined on NO column. It's not possible to create any constraint without specifying corresponding column(s) in the first place. So I feel this is a misleading message. But what's the really problem behind?
Has anybody run into this? Any input is highly appreciated! Thanks.

The details of the error code is like this:
java.lang.ArrayIndexOutOfBoundsException: 4
     at oracle.jdbc.driver.T4C8TTIdty.marshal(T4C8TTIdty.java:465)
     at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:329)
     at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
     at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
     at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
     at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
     at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:117)
     at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:233)
     at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:156)
     at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:60)
     at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:372)
     at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:142)
     at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:633)
     at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:560)
     at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1083)
     at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
     at java.lang.Thread.run(Thread.java:595)
I'm using JDeveloper 11g Technology Preview 3 to connect and got this error. I've try Jdeveloper 10g version 10.1.2, it can connect successfully.

Similar Messages

  • Getting error when using Pathset class in jdeveloper 11g

    i have implemented the code for maintaining the tree state across requests. I'm using Jdeveloper 11g and the problem i'm having is that i cannot use the following import statement : import oracle.adf.view.faces.rich.model.PathSet
    The error i'm getting is "import oracle.adf.view.faces.rich.model.PathSet; not used or not found"
    i'v tried replacing the above import statement with : "import org.apache.myfaces.trinidad.PathSet" but i get the error "import org.apache.myfaces.trinidad.PathSet" not found
    can someone help me plz?
    chaj

    Hi,
    JDeveloper 11 related questions have their own forum
    JDeveloper and OC4J 11g Technology Preview
    The JDeveloper 11 RichTree does not use PathSet but RowKeySet to keep track of the selected state. A property on the tree component allows you to set the selected state by referencing a RoKeySet e.g. in a managed bean
    Frank

  • Database Diagram Cardinality in 11g

    I am creating a database diagram in jdev 11g, I can drop foreign key relationships between the table objects, but they always default to * to 0..1
    and I can't seem to see a way to change the cardinality. Anyone know how this is done.
    Orlando

    Hi,
    It depends which method you are using to create the FK and the makeup of the underlying columns of the key
    Also depends which is your 'source' and 'target' table (when drawing the FK or dragging columns) - source is the '1' side and target is the 'm'
    Using the diagrammer you cannot explicitly select the FK line and change the cardinality
    Try doing the following in the diagram and see the differences in cardinality:
    1. create 2 tables (a, b) with no PK defined
    select the FK object in the drawing palette -click on a and drag to b
    the Create FK dialog opens and you can create a PK based on any col in 'a' and the same col in 'b' will be used as the FK column (if it doesn't exist in 'b' it will be created.
    This is 0..1:M
    2. select the FK line and delete it
    mark what was the FK column in 'b' as 'connot be null'
    select the FK object - again drag from 'a' to 'b'
    same FK is created - but this time, as FK column in 'b' is not null - cardinality is 1:m
    3. delete the FK again
    select the PK reference in 'a' and drag it to 'b'
    FK is created in 'b' - 0..1:m and a new column is created for the FK
    but if you double click on the FK in 'b' and change the Local Column to the original FK column (that is not null) the cardinality will change to 1:m
    (note - click next to col name and a dropdown will appear to allow you to select another column)
    4. delete the FK and also delete the PK from 'a'
    select a column from 'a' and drag to 'b'
    UK is created in 'a' and a FK in 'b' with 0..1:m cardinality
    Hope this helps
    rgds
    Susan

  • Creating OO database objects by using class diagrams in JDeveloper

    I am new to use JDeveloper. I create UML class diagrams (using Entity Object) in JDeveloper, which has inheritances and associations, and then choose Create Database Objects... try to create oo database, but it only create some tables in the database, not any object types ... .
    What do I missed? Or I have to create those oo database objects manually?
    Thanks.

    Tony,
    You can use database object types with BC4J, but only to implement BC4J domains (these can map to object types).
    For performance reasons, it is less practical to generate a table of object types for a complete EO. Most users view the BC4J layer as the 'pure' OO model, and map to a relational datamodel for optimal performance.
    Below some steps to create a DB object type for a domain:
    You can create Oracle Object Types in the database by creating a business component domain and then forward generating the database object. Forward generation of object tables from entity objects is not supported. To forward generate an Oracle Object Type from a new domain: In the System Navigator, right click on your business component package and choose Create Domain. When the Domain Wizard opens, review the information on the Welcome page and click Next. Enter a Name and Package for the domain or accept the defaults. Select the checkbox for Domain for an Oracle Object Type. Do not select any items on the Available Types list, as you are creating a new one. Enter the name of your new type in the Selected Type field. Click Next. On the Settings page, click New. Provide a name in the New Domain Attribute box. Select the appropriate Java type a[i]Long postings are being truncated to ~1 kB at this time.

  • Facing Parse Errors after upgrading database from 10g to 11g

    Hi,
    We are facing parse errors in the SQL's after upgrading database from 10g to 11g.
    Kindly look into below parse errors.
    ********************************** Parse Error *****************************************************
    Tue Aug 13 14:13:08 2013
    kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
    PARSE ERROR: ospid=15598, error=1446 for statement:
    SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
    Tue Aug 13 14:13:10 2013
    kksfbc 16173533: parse err=942 hd=3c387c4028 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    PARSE ERROR: ospid=29813, error=942 for statement:
    Select feature from toad.toad_restrictions where user_name=USER or user_name in ( select ROLE from sys.session_roles)
    kksfbc 16173533: parse err=942 hd=3c97d83648 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    PARSE ERROR: ospid=29813, error=942 for statement:
    SELECT password
    FROM SYS.USER$
    WHERE  0=1
    kksfbc 16173533: parse err=6550 hd=35185e4278 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    ----- PL/SQL Stack -----
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    319e277050        30  anonymous block
    319e277050        57  anonymous block
    PARSE ERROR: ospid=29813, error=6550 for statement:
    BEGIN sys.dbms_profiler."146775420110782746251362632012"; END;
    kksfbc 16173533: parse err=942 hd=3c142d8600 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    ----- PL/SQL Stack -----
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    319e277050        67  anonymous block
    PARSE ERROR: ospid=29813, error=942 for statement:
    SELECT 1 FROM plsql_profiler_data WHERE 0 = 1
    Please help.
    Regards
    Suresh

    Hi Suresh,
    Apologies for misunderstanding..
    Tue Aug 13 14:13:08 2013
    kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
    PARSE ERROR: ospid=15598, error=1446 for statement:
    SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
    Assuming you see the above error message in the alert log file, which was your original post, follow the below steps:
    1 Get the 'ospid' value from the error
    2. Issue the below command:
    SQL> select request_id,ORACLE_PROCESS_ID
      2 from fnd_concurrent_requests
      3 where request_id = 15598;
    3. After obtaining the request_id
    4, Query it from the front-end using SYSADMIN responsibility
    Hopefully this should get you the respective concurrent report/program.
    Thanks &
    Best Regards,

  • Problem migrating database diagram from JDeveloper 10 to Jdeveloper 11

    Hi List,
    I have database diagrams created by use of JDeveloper 10 (files *.oxd_db), but (after automatic migration) they are not displayed as diafram in JDeveloper 11 (they are displayed as xml).
    If I create new diagrams from JDeveloper 10 I get *.db_diagram files.
    Anybody knows how to migrate JDeveloper 10 diagrams to JDeveloper 11?...
    Best regards
    Francesco

    Hi,
    >>>SAP BASIS 7.11 SWC, after importing it from the SLD
    you don't import that from SLD
    import it from TZP file from PI installation DVD
    then it will work
    Regards,
    Michal Krawczyk

  • Error when re-deploy WLS in Jdeveloper 11g v.11.1.1.2.0 on Mac OSX

    Hi,
    Would appreciate if anyone can help me for the following issue:-
    After installed JDeveloper 11g v.11.1.1.2.0 on Mac OSX by following:-
    http://blogs.oracle.com/shay/2009/04/installing_jdeveloper_11g_on_m.html
    http://www.oracle.com/technology/products/jdev/htdocs/11/knownissues.html#install4
    I have no problem when I start and run WLS + application at the first time. However, I got the following error when I "RE-DEPLOY" the application by pressing run button again.
    <Aug 3, 2010 3:35:35 PM GMT+00:00> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Aug 3, 2010 3:35:35 PM GMT+00:00. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Aug 3, 2010 3:35:35 PM GMT+00:00 SERVER = DefaultServer MESSAGE = [ServletContext@971160771[app:Receivable module:Receivable-ViewController-context-root path:/Receivable-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
         at java.lang.String.substring(String.java:1937)
         at java.lang.String.substring(String.java:1904)
         at org.apache.myfaces.trinidadinternal.style.util.CSSGenerationUtils._getNSComponentSelector(CSSGenerationUtils.java:632)
         at org.apache.myfaces.trinidadinternal.style.util.CSSGenerationUtils.getNamespacedSelectors(CSSGenerationUtils.java:525)
         at org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache._getShortStyleClassMap(FileSystemStyleCache.java:1086)
         at org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache._getStyleSheetDocument(FileSystemStyleCache.java:652)
         at org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache._getEntry(FileSystemStyleCache.java:421)
         at org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache.getStyleSheetURIs(FileSystemStyleCache.java:177)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.StyleSheetRenderer.encodeAll(StyleSheetRenderer.java:97)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1501)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._renderSkinStylesheet(DocumentRenderer.java:1835)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:781)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1501)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = jackp-mac.perfitcomputer.com TXID = CONTEXTID = TIMESTAMP = 1280849735294
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000

    After following "known issue" from this link http://crmondemand.oracle.com/technetwork/developer-tools/jdev/knownissues-096030.html
    the problem has been fixed.

  • Error in creating database diagram using JDeveloper

    Today I came across this weird error. I made an Identity column of type LONG and I had to create another column in same table with same data type i.e. LONG. I was surprised to see that JDeveloper did not let me create another column with type LONG. Error message was "*Invalid column Course_Parent_Id, the table already contains column Course_Id of type LONG*". Can someone guide me why this error occured and how to cater it.
    Help is appreciated in advance

    Isn't it a strange restriction?? If I need huge range for integral values in my database, it must have provision to do so. Anyways thanks for the reply. I have used NUMBER instead of LONG

  • Error 500--Internal Server Error when using BI Publisher within OBIEE 11g

    I'm using OBIEE 11.1.1.6.2BP1 on a Linux x86-64 server and it has been working just fine. We recently started playing around with the BI Publisher component of that installation and every time i go to http://hostname:port/xmlpserver and try to log in with an Administrator username and password, the following error shows up:
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    *10.5.1 500 Internal Server Error*
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    I have looked around for solutions and tried a couple of them (created a new Admin user in Weblogic Console and checked the opmnctl status) and they did not help. I'm looking for an answer other than upgrade to the latest and greatest
    Any help is appreciated.

    Do you have any SSO setup as that might be preventing the ability of the user to log into BI Publisher, hence the Internal 500 error message.
    Are you using FMW security model for BIP and OBIPS integration which is by default. Check the xmlp-server-config.xml file from the repository [\Middleware\Oracle_BI1\clients\bipublisher\repository\Admin\Configuration\xmlp-server-config.xml] and see what your security model is pointing to?
    Also what happens when you try to access from Administration>BI Publisher >Manager BI Publisher ?
    Follow : http://docs.oracle.com/cd/E23943_01/bi.1111/e22255.pdf
    Oracle Fusion MiddlewareAdministrator's Guide for Oracle Business Intelligence Publisher 11g Release 1
    HTH,
    SVS

  • Broken Pipe Error when using database link

    We are using WebLogic 6.1 sp2 / oracle database 8.1.6. / thin drivers.
    The connection works fine, unit I try to access a view that has a union and db links
    in it.
    We have used one or the other (view or a dblink) and it works, but when used together,
    we get broken pipe error.
    I haven't proven that this is the cause, I will try to setup a test, but I was wondering
    if this is a known issue or what ??
    thanks
    Rich

    You need to create the catalog views that support distributed SQL in your remote database (the database you connect to via db_link).
    To create these views, connect "/ as sysdba" and run:
    $ORACLE_HOME/rdbms/admin/catproc.sql
    which will in turn call several other scripts including: $ORACLE_HOME/rdbms/admin/catrpc.sql (which creates your missing view)
    It is best to run the whole catproc.sql script (and not just the catrpc script).
    You can run and rerun catproc.sql several times quite safely.
    Cheers

  • Error When Using DataBase LINK in pl/sql

    I have cursor fetching some values from remote db and i m trying to store values in local table (see code below) I can run the select query alone succefully but when i use it inside plsql it fails with error.
    DECLARE
    TYPE MY_CURSOR
    IS
         REF
         CURSOR;
              THE_CURSOR MY_CURSOR;
              V_CT          NUMBER(18);
              V_PSN_ID      VARCHAR2(30);
              V_INTERNET_ID VARCHAR2(75);
         BEGIN
              V_CT                                                                           :=0;
              OPEN THE_CURSOR FOR SELECT PSN_ID, 'TEST' FROM TABLE_A@PRO1 WHERE TABLE_A.SEQ_A<=1000;
              LOOP
                   FETCH THE_CURSOR INTO V_PSN_ID, V_INTERNET_ID;
              EXIT
         WHEN THE_CURSOR%NOTFOUND;
               INSERT INTO PSN_EMAIL_SENT_TO@local
                        (PSN_ID, LAST_UPDT_DT
                        ) VALUES
                        (V_PSN_ID, SYSDATE
              V_CT:=V_CT+1;
         END LOOP;
         CLOSE THE_CURSOR;
         DBMS_OUTPUT.PUT_LINE
              TO_CHAR(V_CT)
    END;
    Error report:
    ORA-04052: error occurred when looking up remote object  TABLE_A@PRO1
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04029: error ORA-1775 occurred when querying ORA_KGLR7_DEPENDENCIES
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01775: looping chain of synonyms
    ORA-02063: preceding 3 lines from PRO1
    04052. 00000 -  "error occurred when looking up remote object %s%s%s%s%s"
    *Cause:    An error has occurred when trying to look up a remote object.
    *Action:   Fix the error.  Make sure the remote database system has run
               KGLR.SQL to create necessary views used for querying/looking up
               objects stored in the database.

    You need to create the catalog views that support distributed SQL in your remote database (the database you connect to via db_link).
    To create these views, connect "/ as sysdba" and run:
    $ORACLE_HOME/rdbms/admin/catproc.sql
    which will in turn call several other scripts including: $ORACLE_HOME/rdbms/admin/catrpc.sql (which creates your missing view)
    It is best to run the whole catproc.sql script (and not just the catrpc script).
    You can run and rerun catproc.sql several times quite safely.
    Cheers

  • Error by using database procedure in select statement

    hi ,
    I have built a database procedure having one parameter with in out varchar type. that return value with some addition.
    i am using it with some column in select statement only for display purpuses but i am facing error by doing that in select statement. that procedure is working well with bind variable but not with select statement.
    plz help me how i can use a procedure in select statement. or can i do it or not.

    plz help me how i can use a procedure in select statement. or can i do it or not.A workaround could be to create a wrapper function for your procedure. One that only passes the input parameters and returns the output parameter.
    The simply call this function in your select which internally calls the procedure.

  • How can I use object type in Jdeveloper 11g?

    Dear friends
    I made some object types(Database layer) and each one refer to functions or procedures to generate table or view, for instance in one of my project I could make a View Object with this function and generate a table:
    Select * from table (genarate_emp(2019))
    In this sample I used a static value (2019) and I did it perfectly, but I want to make a table with dynamic value for instance I would like to set partial trigger of this view object and get dynamic value from the other view object.
    Please help me if you have any suggestions.
    Best regards,
    Babak Saraie

    Hi Babak
    It's a common requirement on posting to this forum that you describe which version of JDeveloper you're using and what technologies (obviously ADF BC in this case).
    For making the static value dynamic within your View Object, are you familiar with the View Object bind variables/bind parameters? This will allow you to define a named variable in your VO that you can set programmatically or even let the user set. Play around with those first and see if they solve one part of your problem, then come back to the forum for the second part.
    Regards,
    CM.

  • Errors to use JSTL Tag in JDeveloper 10g

    Hi, folks in JDeveloper:
    I have a problem to use JSTL in JDeveloper 10g.
    In jsp file: detail.jsp, I include tag library like this:
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    When I compile/run, the system complain the following errors:
    Error(4): java.io.FileNotFoundException: /http:/java.sun.com/jstl/core
    Error(4): Unable to load taghandler class: http://java.sun.com/jstl/core
    I already put standard.jar and jstl.jar file in WEB-INF/lib directory. I use jakata-struts jstl 1.0
    Anybody know how to fix that?
    Many thanks.
    Zhiyi Li
    Project: C:\MZhongProject\WFUBMC\MESA\genelist\code\Catalog\ViewController\ViewController.jpr
    C:\MZhongProject\WFUBMC\MESA\genelist\code\Catalog\ViewController\public_html\detail.jsp
    Error(4): java.io.FileNotFoundException: /http:/java.sun.com/jstl/core
    Error(4): Unable to load taghandler class: http://java.sun.com/jstl/core
    C:\MZhongProject\WFUBMC\MESA\genelist\code\Catalog\ViewController\public_html\banner.jsp
    Error(3): java.io.FileNotFoundException: /http:/java.sun.com/jstl/core
    Error(3): Unable to load taghandler class: http://java.sun.com/jstl/core

    User,
    You should configure the taglibs using the project->libraries option in JDev. If that doesn't help, try adding the taglib URI mappings to web.xml as detailed [url http://forum.java.sun.com/thread.jspa?threadID=650000&messageID=3823804]here
    John

  • Error 3005 using Database Connectivity Toolkit

    I'm using the LabVIEW Database Connectivity Toolkit, version 1.0.132 with LabVIEW 8.5. When it tries to create an ADODB.Recordset object in the Conn Execute.vi, the "Automation Open" function node throws error 3005, "The specified object can't be created".
    I've read somewhere that this may be related to an unregistered DLL or ActiveX component. Is there a way to find out what DLL this function uses? Any suggestions on other things to look for?
    Thanks,
    Mike

    Good Evening Mike,
    This Knowledge Base article seems to show a solution to a similar issue. Let me know the results and if you see any errors in the process.
    http://digital.ni.com/public.nsf/allkb/DE740209C3CC097D862571D2006DA0BD?OpenDocument
    Have a good day,
    Connor

Maybe you are looking for

  • FCC in Receiver Communication Channel

    Hi Frnds, i did FCC for below message , but its not working can any one help me onthis I want to implement File Content Conversion in receiver communication channel. DataString is 1:Unbounded <Records>   <DataString>1234567892222222222222222222222</D

  • Office 365 addin. JavaScript API. Working with files.

    Please help me. Is there any posibility to get url for created document from my addin with JavaScript API? May be I need to use OneDrive.

  • Download EHP4 for ERP 6.0 using Optimizer

    We're trying to download EHP4 for ERP 6.0 uisng Solution Manager optimizer. We've reviewed EHP4 master guide but very confused as how to download through Solution Manager. For instance, our business team asked us to install SRM server and FSCM of EHP

  • Who can tell me my program is right or not?

    here is my program: Attachments: TestAddress.vi ‏25 KB divaddress.vi ‏22 KB

  • Uninstall Acrobat Pro XI trial on my Mac

    I have a licensed version of Acrobat Pro X. I accidentally downloaded and installed Pro XI trial. Now whenever I try to use Acrobat Pro the trial version comes up and wants me to buy it. How can I get rid of XI trial? Just clickingMacintosh HD-> Appl