PLS-00565: must be filled as a target of REF (object type)

11 GR 2

---------------

Why do I get below error? I google search, but I did not understand the reason. can you please explain more clearly. Thank you

CREATE or REPLACE TYPE 'A' as object)

x_ number,

y_ varchar2 (10),

Members procedure to_lower

);

ORA-06545: PL/SQL: compilation error - abandoned compilation

ORA-06550: line 7, column 1:

PLS-00103: encountered the symbol "CREATE".

ORA-06550: line 0, column 0:

PLS-00565: must be filled as a target of REF (object type)

It's one of the things that confuses many people.

The problem is that; is used in two ways.

When you type a normal SQL command, it means the end of the statement in SQL * more

and actually run the command. Then

Select *.

from table_a

with x = 'Y ';

goes on three lines and it is the semi colon which means its end and run it.

When you have the code (type, procedure, trigger, etc.) it's just a terminator of instruction

create or replace procedure x

as

number of v_dummy;  -Terminator of instruction - does not cause the execution/compilation.

Start

Select x

in v_dummy

of y; -Terminator of instruction - does not cause the execution/compilation.

end; -Terminator of instruction - does not cause the execution/compilation.

/

Now the ' / ' is the thing which the compilation.

Unfortunately "/" can also be used in SQL * more instead of two points at the end of things and allow execution of semi

Select *.

from table_a

with x = 'Y '.

/

run this statement.

Then

Select *.

from table_a

with x = 'Y ';

/

it run twice (once from; once due to /)

So, in summary, don't you do not put a "/" after each comma, after those where it is necessary to

the compilation, which will be the top of my head,

packages, procedures, functions, triggers, types. There may be others.

Tags: Database

Similar Questions

  • How to connect to an Adobe Javascript(Folder Level Script) SAP Web Service and retrieve the response in a table of the Adobe Javascript/AcroJS. Could you please it explain with an example. I have two required input parameters that must be filled.

    How to connect to an Adobe Javascript(Folder Level Script) SAP Web Service and retrieve the response in a table of the Adobe Javascript/AcroJS. Could you please it explain with an example. I have two required input parameters that must be filled.

    I s generic SOAP example/tutorial on my blog: get a serial number in a form using SOAP - KHKonsulting LLC

    The web service uses only a single parameter, but you should be able to adapt the code to two arguments without problems.

  • How to fill the value in the nested table by using the object type


    Hi gurus

    I created an object type and able to fill the values in it, now I want to create a nested table type of this object and fill it but looks like I'm doing something wrong, see my code below.

    Code example

    CREATE or REPLACE TYPE countries_o
    AS
    OBJECT
    (
    COUNTRY_ID TANK (2 BYTES),
    COUNTRY_NAME VARCHAR2 (40 BYTE),
    REGION_ID NUMBER);
    /

    create or replace type countries_t is table of the countries_o;

    /

    CREATE OR REPLACE

    ABC of the PROCEDURE

    IS

    v_print countries_t; -: = arr_countries_t('01','Aus',1);

    BEGIN

    v_print: = countries_t('01','A',11);

    DBMS_OUTPUT. Put_line (v_print. COUNTRY_ID | v_print. COUNTRY_NAME | v_print. REGION_ID);

    END;

    /

    Error

    • Error (6.3): PL/SQL: statement ignored
    • Error (6,12): PLS-00306: wrong number or types of arguments in the call to 'COUNTRIES_T '.
    • Error (7.3): PL/SQL: statement ignored
    • Error (7.32): PLS-00302: component 'COUNTRY_ID' must be declared

    Thanks in advance

    Concerning

    Muzz

    Hi user,

    Here is another method that you can try-

    CREATE OR REPLACE

    ABC of the PROCEDURE

    IS

    v_print countries_t: = countries_t (countries_o('01','A',11));

    BEGIN

    DBMS_OUTPUT. Put_line (v_print (1).) COUNTRY_ID | v_print (1). COUNTRY_NAME | v_print (1). REGION_ID); -you're accessinf the first element of the nested table, which in turn points to the object.

    END;

    In the sections of the declaration you have assigned values to the nested table.

    Kind regards
    Maxou

  • ORA-12545: Connect failed because target host or object does not exist

    Hi all

    I am not able to connect database remotely. I have two servers with the name U.S. and localhost. Here are my coordinates tns:

    Details of the host server we:

    [oracle@US admin] $ more tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    PROD =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = EN)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )

    PROD_STBY =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )


    [oracle@US admin] $ more sysconfig

    Networking = yes

    NETWORKING_IPV6 = yes

    HOSTNAME = US.localdomain


    [oracle@US admin] $ more/etc/hosts

    # Do not remove the next line, or various programs

    # requiring a network functionality will fail.

    127.0.0.1 localhost.localdomain localhost

    : US.localdomain6 1 U.S.

    Remote Ping US server location:

    [oracle@US admin] $ ping 192.168.188.131

    PING 192.168.188.131 (192.168.188.131) 56 (84) bytes of data.

    64 bytes from 192.168.188.131: icmp_seq = 1 ttl = 64 time = 0,662 ms

    64 bytes from 192.168.188.131: icmp_seq = 2 ttl = 64 time = 0,558 ms

    64 bytes from 192.168.188.131: icmp_seq = 3 ttl = 64 time = 0,566 ms

    64 bytes from 192.168.188.131: icmp_seq = 4 ttl = 64 time = 0,603 ms

    64 bytes from 192.168.188.131: icmp_seq = 5 ttl = 64 time = 0.575 ms

    ^ C

    -192.168.188.131 - ping statistics

    5 packets transmitted, 5 received, 0% packet loss, time 4002ms

    RTT min/avg/max/leg = 0.558/0.592/0.662/0.048 ms

    Details of the server remote localhost:

    [oracle@localhost admin] $ more tnsnames.ora

    PROD =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = EN)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )

    PROD_STBY =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )


    [oracle@localhost admin] $ cat/etc/hosts

    # Do not remove the next line, or various programs

    # requiring a network functionality will fail.

    127.0.0.1 localhost.localdomain localhost

    : 1 localhost6.localdomain6 localhost6


    [oracle@localhost admin] $ cat sysconfig

    Networking = yes

    NETWORKING_IPV6 = yes

    HOSTNAME = localhost.localdomain

    [oracle@localhost admin] $ listener.ora more

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = prod. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = prod)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))

    )

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@localhost admin] $ lsnrctl status


    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 4 February 2014 16:49:36

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date February 4, 2014 16:42:09

    Uptime 0 days 0 h 7 min 26 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/localhost/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost.localdomain) (PORT = 1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))

    Summary of services...

    Service "prod. The WORLD' has 1 instance (s).

    Instance "prod", status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    Location of ping to the server hosting remote localhost:

    [oracle@localhost admin] $ ping 192.168.188.130

    PING 192.168.188.130 (192.168.188.130) 56 (84) bytes of data.

    64 bytes from 192.168.188.130: icmp_seq = 1 ttl = 64 time = 1.57 ms

    64 bytes from 192.168.188.130: icmp_seq = 2 ttl = 64 time = 0,223 ms

    64 bytes from 192.168.188.130: icmp_seq = 3 ttl = 64 time = 0,577 ms

    64 bytes from 192.168.188.130: icmp_seq = 4 ttl = 64 time = 0,571 ms

    64 bytes from 192.168.188.130: icmp_seq = 5 ttl = 64 time = 0,568 ms

    ^ C

    -192.168.188.130 - ping statistics

    5 packets transmitted, 5 received, 0% packet loss, time 4006ms

    RTT min/avg/max/leg = 0.223/0.703/1.578/0.458 ms

    Connection database target mode ensures via RMAN:

    [oracle@localhost admin] $ rman target sys/oracle_4U@PROD auxiliary sys/oracle_4U@PROD_STBY


    Recovery Manager: release 11.2.0.1.0 - Production on Tue Feb 4 16:56:45 2014

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-00554: initialization of the package manager internal collection failed

    RMAN-04005: target database error:

    ORA-12545: Connect failed because target host or object does not exist

    Please let me know the cause of this error and it please help me how can I solve it.

    Kind regards

    Michel

    OK, so you have a software firewall (IPTables) running.  By default, it will not be configured to accept connections on port 1521.  You have two options...

    (1) disable the firewall completely.  Run these commands to do this...

    stop /etc/init.d/iptables

    chkconfig iptables off

    The first command stops the service.  The second command prevents revived at every restart of the OS.

    (2) add an exception to the firewall for port 1521.  I'm not a Linux expert, but it should be something like this...

    Change the configuration of IPTables with vi...

    VI/etc/sysconfig/iptables

    Add a new rule as follows...

    -A of ENTRY m state - state NEW-m tcp tcp - dport 1521-j ACCEPT Pei

    Save and close, and then restart the IPTables service...

    /etc/init.d/iptables restart

    NOTE: you must always change the name of this server to something other than "localhost".

  • Filling in Illustrator is a transparent object and displays it behind. How can I do a fill opaque Uni?

    Screen Shot 2013-10-21 at 11.18.39 PM.png

    The filling here continues to display the object behind (the stright line). How can I make it opaque and not show any object or lines behind it? Thank you!

    I can help to see the Panel layer and the appearance Panel. My guess is the line object has no fill and so you can see the red fill of the object behind it. In other words, if filling Red must be on top of this line, then this object should be moved either forward or at least a superior to the purpose of the line. The best way to do is to drag the object in the layers panel. Move the layers brought forward and down the layers he moves backward. So, the Red layer should be above the line layer.

    But that's a guess, since I can't see your layers or appearance panels.

  • TNS-12545: Connect failed because target host or object does not exist

    Hi all

    I have two hosts with me. 1 host1 and 2. host2. Host1 have ORCL database. And when I'm doing the tnsping to host2 for database ORCL I get error below.

    [oracle@host2 ~] $ hostname

    host2.example.com

    [oracle@host2 ~] $ tnsping ORCL

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 5 April 2014 20:31:40

    Copyright (c) 1997, 2009, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCL)))

    TNS-12545: Connect failed because target host or object does not exist

    Here's my tns annually involves Details:

    on host1:

    [oracle@host1 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ORCL. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = ORCL)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@host1 admin] $ more tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    LSNRCTL > status

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=host1.example.com) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date April 5, 2014 20:09:33

    Uptime 0 days 0 h 25 min 1 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/host1/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=host1.example.com) (PORT = 1521)))

    Summary of services...

    Service "ORCL" has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    Service "ORCL. The WORLD' has 1 instance (s).

    Instance "ORCL", status UNKNOWN, has 1 operation for this service...

    Service 'ORCLXDB' has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    The command completed successfully

    On host2:

    [oracle@host2 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = MYTEST. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = MYTEST)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@host2 admin] $ tnsname.ora more

    TNSNAME.ora: no such file or directory

    [oracle@host2 admin] $ more tnsnames.ora

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    Please help me what I do in configuring the listener and tns.

    Kind regards

    Michel

    fb767351-A660-4b18-9a9f-73bc141f6a0c wrote:

    Hi all

    I have two hosts with me. 1 host1 and 2. host2. Host1 have ORCL database. And when I'm doing the tnsping to host2 for database ORCL I get error below.

    [oracle@host2 ~] $ hostname

    host2.example.com

    [oracle@host2 ~] $ tnsping ORCL

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 5 April 2014 20:31:40

    Copyright (c) 1997, 2009, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCL)))

    TNS-12545: Connect failed because target host or object does not exist

    If your entry for "ORCL" tnsnames decided to 'contact' indicated info.  He tried to send a ping packet to the server identified by "(HOST = host1.example.com)". "  Oracle tns transmitted the request to the network stack of BONES for the resolution and routing.  Here, 'host1.example.com' host name could not be resolved to an IP address, or if it was, it was an IP address that is a dead-end.

    Here's my tns annually involves Details:

    We see the details necessary out of your tnsping tns.  Since the application never had the host (as is obvious in the error message), nothing about the questions of the listener - he never got.

    on host1:

    As your example tnsping host2, and says that the error message obvious host1 is nowhere to be found, like the listener, none of the files of configuration on host1 question - demand ever on host1.

    [oracle@host1 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ORCL. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = ORCL)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@host1 admin] $ more tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    LSNRCTL > status

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=host1.example.com) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date April 5, 2014 20:09:33

    Uptime 0 days 0 h 25 min 1 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/host1/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=host1.example.com) (PORT = 1521)))

    Summary of services...

    Service "ORCL" has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    Service "ORCL. The WORLD' has 1 instance (s).

    Instance "ORCL", status UNKNOWN, has 1 operation for this service...

    Service 'ORCLXDB' has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    The command completed successfully

    On host2:

    Okay, the problem being that a client on host2 couldn't solve a connection to hos1, these could be revealing.

    [oracle@host2 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = MYTEST. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = MYTEST)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    Except that in the example, we work with, host2 is the customer, trying to reach a database on host1.  Any listener on host2 is totally irrelevant.

    [oracle@host2 admin] $ tnsname.ora more

    TNSNAME.ora: no such file or directory

    [oracle@host2 admin] $ more tnsnames.ora

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    It's the only tns configuration file that is important for the problem at hand.  And we already knew what he said, since the output of your command of tnsping.

    Please help me what I do in configuring the listener and tns.

    Kind regards

    Michel

    Is "host1.exampl.com" the real hostname of your machine "host1"?  Or you made that blur in your ad - thing quite legitimate to do this for security reasons.

    Whatever, this is not really a matter of tns, unless of course 'host1.example.com' is really what you put in the tnsnames file, but your server "host1" became really something else.

    Assuming that 'host1.example.com' is the correct value, debugging starts with the following:

    [oracle@host2 admin] $ ping host1.example.com

    [oracle@host2 admin] $ tracerout host1.example.com

  • Force an order in which LOV or the attribute must be filled.

    Experts in the morning,

    I have a case, I LOV 5 attributes, I have them set up so that each list in the menu dropdown is dependent on what is selected in the attribute above it, for example, if you select the attribute top of 'Region' in Europe, you will see no country in Europe to the LOV below him.

    What I need to do, is make sure that the second attribute and attributes of 4th and 5th 3rd later cannot be selected until the respective attribute above it has been filled.

    If the 2 attribute cannot be filled unless attribute 1 has been selected.

    Attribute 3 cannot be filled unless the attribute 2 has been selected and so on...

    Thanks in advance for your help.

    Jamie.

    Jamie, tell us your version of jdev, please!

    Each of the LOV components store their value in storage represented by the value property.  If nothing is selected, the value must be null or empty. If a value is selected (and autosubmit is true) value is not empty. You can use this information to disable subsequent LOV on the page by assigning has disabled the property to an EL as disabled = ' #{empty bindings.myLov1.inputValue) ' where myLov1 the storage of your LOV. This you can do it in any depth.

    Timo

  • Shortcut - right click - Properties-'Target' - I can not type in "target".

    I just bought a dell with Windows 7 netbook. I want to install a game called Guild Wars. Like most fans of the knowledge in game, you can download the full game client and updates, by adding the command - image at the end of the "target" under properties after right click on the shortcut of Guild Wars. I managed to install the game but I can not type in the box 'target' to type - image at the end of the directory (C: / /... - imag) if anyone can help me with this problem I would really appreciate it. Once more, the question is, how can I do if I can actually type in the box "target"?

    It is compatible with Windows 7 (at least Windows 7 64-bit).

    In any case, this happens because of the way Guild Wars creates a shortcut on your desktop. What you can try to do, is make a new shortcut on the desktop and add the parameters you need in this way. Good luck.

  • Discoloration between the fill and the outline of an object

    I created an object and normally have very smooth lines. However, I noticed that this object has a slight discoloration between the border of the Fill and Stroke. The discoloration is a slight yellowish tint despite the stroke and fill being red + black.

    Is it possible to fix this? Included is a picture of the question with the sign of the appearance of the form (which was originally an ellipse before applying the Ark)

    Is this just anti-aliasing? If so, is there a reason why it is yellowish? If I can't solve this problem, it displays when printing?

    illusQuestion.jpg

    Guy,

    I think that it is the object of yellow background showing through. It should disappear if you uncheck the Anti-Aliasing, and it should not display.

  • How to fill out the story in entity object columns when creating a new line

    Hello

    I use Jdeveloper 12.1.3 to develop an ADF Application.

    My database table that has 4 columns of audit.

    CREATED_BY

    LAST_UPDATED_BY

    I added 2 new types story available under Tools-> Preferences->-> Types of history ADF business components.

    11. created by username

    12 modified by user name

    Where are these values be saved? which file will have these details of the story newly added columns.

    Note:-I'm trying to follow the blog by Jobinesh http://www.jobinesh.com/2011/02/creating-custom-history-types.html

    Also, in the method of getHistoryContextForAttribute(AttributeDefImpl attr) of CustomEntityImpl, how I'll call columns of type story newly created?

    Also, how can I distinguish if this event is create or update?

    See you soon

    AJ

    Hi AJ,.

    the entry is stored in the %JDEV_USER_HOME%\o.BC4J\jbo.properties file (in most cases %JDEV_USER_HOME%=%APPDATA%\Roaming\JDeveloper\system[YOUR JDEV VERSION] on windows machines)

    Greetings,

    Markus

  • I created a form in indesign CS 6 Interactive, applied to the text fields and exported in the interactive PDF form. Look at all the great and functioning... but when I fill in a field, my rectangle (where type goes, partially disappears. I tried in smalle

    Screen Shot 2016-02-17 at 16.33.25.jpgScreen Shot 2016-02-17 at 16.37.01.jpg

    This was bugs me all night. Solved this problem by creating another framework and send backward. Existing reduction editable 90% text frame. Center and align no color. Perfect!

  • Need the difference between strong Ref Cursor and weak Ref Cursor examples

    Oracle 9.2

    It would be great if someone can help understand the differences between
    1 Strong Ref Cursors(return type)
    and
    2. weak Ref Cursor (no return type)

    What I read is weak ref Cursor as sys_refcursor is better to use the ref Cursor, because in the case of slider strong Ref object type that will be returned must be declared in advance. It dosent make sense to me?

    I start with the examples would be appreciate for advice

    Strong Ref Cursor

    create the package str_pack
    is
    type sref_type is ref cursor return emp % rowtype;
    SVAR sref_type;
    end str_pack;

    Create procedure st_proc (eid in number, c1 on str_pack.sref_type)
    is
    Start
    Open c1 to select empno, ename, sal from emp where empno = eid;
    end;

    declare
    str_pack.sref_type C1;
    type rec is RECORD (eid, ename varchar2 number (20), number of sal);
    SheikYerbouti rec;
    Start
    st_proc(10,C1);
    loop
    When exit c1% notfound;
    Fetch c1 into SheikYerbouti.
    end loop;
    Close c1;
    end;


    There could be errors in the above example but its basically to get a better understanding.

    For weak Ref Cursor

    procedure of the child

    Create procedure child_proc (in number, c1 on sys_refcursor eid)
    is
    Start
    Open c1 to select empno, ename, sal from emp where empno = eid;
    end;

    parent process

    Create procedure parent_proc (recnum varchar2)
    is
    p_retcur sys_refcursor;
    emp_row emp % rowtype;
    Start
    child_proc (eid, p_retcur);
    loop
    extract the p_retcur in emp_row;
    dbms_output.put_line(emp_row.empno ||) e '|| emp_row. Ename | "wins". emp_row. SAL);
    end loop;
    end parent_proc;

    Concerning
    @

    Hello

    the fundamental difference is to do with the compiling and linking of runtime type that occurs.

    The he should explain a lot more detail than I could ever!
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:1640161160708

    P;

  • Cannot run the XMLFromQuery function

    Hi all

    I am not able to execute sql queries using XDB service

    My wsdl is

    http://localhost:6999 / orawsv? WSDL

    My call manually written is

    < soapenv:Envelope xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/' xmlns:oraw = "http://xmlns.oracle.com/orawsv" >
    < soapenv:Header / >
    < soapenv:Body >
    < oraw:query >
    < oraw:query_text type = 'SQL' > select double 1 < / oraw:query_text >
    < / oraw:query >
    < / soapenv:Body >
    < / soapenv:Envelope >

    I tried a few flavors more than wrap soap, but I always get the answer instead of the real answer below

    The answer is

    < name of definitions = targetNamespace "orawsv" = "http://xmlns.oracle.com/orawsv."
    xmlns = "http://schemas.xmlsoap.org/wsdl/".
    xmlns:TNS = "http://xmlns.oracle.com/orawsv".
    xmlns:SOAP = "http://schemas.xmlsoap.org/wsdl/soap/".
    container = "http://www.w3.org/2001/XMLSchema".
    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
    xsi: schemaLocation = "http://schemas.xmlsoap.org/wsdl/ http://schemas.xmlsoap.org/wsdl/" >
    < types >
    < xsd: Schema
    targetNamespace = "http://xmlns.oracle.com/orawsv."
    elementFormDefault = "qualified" >
    < xsd: element name = "query" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: element name = "DDL_text" type = "xsd: String".
    minOccurs = "0" maxOccurs = "unbounded" / >
    < xsd: element name = 'query_text' >
    < xsd: complexType >
    < xsd:simpleContent >
    < xsd:extension base = "XSD: String" >
    < xsd: attribute name = "type" >
    < xsd:simpleType >
    < xsd:restriction base = "xsd:NMTOKEN" >
    < value xsd: Enumeration = "SQL" / >
    < value xsd: Enumeration = "XQUERY" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: attribute >
    < / xsd:extension >
    < / xsd:simpleContent >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: Choice minOccurs = "0" maxOccurs = "unbounded" >
    < xsd: element name = "bind" >
    < xsd: complexType >
    < xsd:simpleContent >
    < xsd:extension base = "XSD: String" >
    < xsd: attribute name = "name" type = "xsd: String" / >
    < / xsd:extension >
    < / xsd:simpleContent >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "bindXML" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: all / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < / xsd: Choice >
    < xsd: element name = "null_handling" minOccurs = "0" >
    < xsd:simpleType >
    < xsd:restriction base = "xsd:NMTOKEN" >
    < value xsd: Enumeration = "DROP_NULLS" / >
    < value xsd: Enumeration = "NULL_ATTR" / >
    < value xsd: Enumeration = "EMPTY_TAG" / >
    < / xsd:restriction >
    < / xsd:simpleType >
    < / xsd: element >
    < xsd: element name = "max_rows" type = "positiveInteger" minOccurs = "0" / >
    < xsd: element name = "skip_rows" type = "positiveInteger" minOccurs = "0" / >
    < xsd: element name = "pretty_print" type = "xsd: Boolean" minOccurs = "0" / >
    < xsd: element name = "indentation_width" type = "positiveInteger" minOccurs = "0" / >
    < xsd: element name = "rowset_tag" type = "xsd: String" minOccurs = "0" / >
    < xsd: element name = "row_tag" type = "xsd: String" minOccurs = "0" / >
    < xsd: element name = "item_tags_for_coll" type = "xsd: Boolean" minOccurs = "0" / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < xsd: element name = "queryOut" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: all / >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < / xsd: Schema >
    < / types >
    < name of message = "QueryInput" >
    < name of part = element "body" = "tns:query" / >
    < / message >

    < name of the message 'XMLOutput' = >
    < name of part = element "body" = "tns:queryOut" / >
    < / message >

    < portType name = "ORAWSVPortType" >
    < operation name = "XMLFromQuery" >
    < input message = "tns:QueryInput" / >
    < output message = "tns:XMLOutput" / >
    < / operation >
    < / portType >

    < connection name = "ORAWSVBinding" type = "tns:ORAWSVPortType" >
    < style: binding soap = transport "document" = "http://schemas.xmlsoap.org/soap/http" / >
    < operation name = "XMLFromQuery" >
    < soap: operation soapAction = "http://localhost:6999 / orawsv" / >
    < input >
    < use of soap: body = "literal" / >
    < / Entry >
    < output >
    < use of soap: body = "literal" / >
    < / output >
    < / operation >
    < / binding >

    < service name = "ORAWSVService" >
    < documentation > Oracle Web Service < / documentation >
    < name of port = "ORAWSVPort" binding = "tns:ORAWSVBinding" >
    < soap: address location = "http://localhost:6999 / orawsv" / >
    < / port >
    < / service >
    < / definitions >

    Kind regards

    I wonder how can we get response from the web service functions or procedures returning multiple lines

    You must bring the function (or proc) returns an object type encapsulating your collection type instead.

  • PLS-00362: Invalid cursor return type; 'NUMBER' must be a record type

    Hello

    Having a little trouble with the following code example provided to http://www.dba-oracle.com/plsql/t_plsql_cursor_variables.htm:
      1  DECLARE
      2    TYPE t_ref_cursor IS REF CURSOR RETURN NUMBER;
      3    c_cursor  t_ref_cursor;
      4    l_row   NUMBER;
      5  BEGIN
      6    DBMS_OUTPUT.put_line('Strongly typed REF CURSOR using SCALAR type. Expect an error!');
      7    OPEN c_cursor FOR
      8      SELECT COUNT(*) cnt
      9      FROM   cursor_variable_test;
     10    LOOP
     11      FETCH c_cursor
     12      INTO  l_row;
     13      EXIT WHEN c_cursor%NOTFOUND;
     14      DBMS_OUTPUT.put_line(l_row);
     15    END LOOP;
     16    CLOSE c_cursor;
     17* END;
     18  /
      TYPE t_ref_cursor IS REF CURSOR RETURN NUMBER;
                           *
    ERROR at line 2:
    ORA-06550: line 2, column 24:
    PLS-00362: invalid cursor return type; 'NUMBER' must be a record type
    ORA-06550: line 2, column 3:
    PL/SQL: Item ignored
    In the code above, SELECT COUNT (*)... returns a NUMBER. I know it's an aggregation function, but it returns a single value.
    Why can't return a value in a column of a row in a NUMBER?
    How can I change the SQL code so that I can do this?

    Furthermore, I wonder about the use of FETCH with a count (*)... FETCH is supposed to fetch the next row... How it works when you select an aggregate as County?

    Thank you very much
    Jason

    >
    TYPE t_ref_cursor IS REF CURSOR RETURN NUMBER;
    *
    ERROR on line 2:
    ORA-06550: line 2, column 24:
    PLS-00362: Invalid cursor return type; 'NUMBER' must be a record type
    ORA-06550: line 2, column 3:
    PL/SQL: Ignored Element

    In the code above, SELECT COUNT (*)... returns a NUMBER. I know it's an aggregation function, but it returns a single value.
    Why can't return a value in a column of a row in a NUMBER?
    How can I change the SQL code so that I can do this?
    >
    The exception is in line 2: your cursor statement. And the answer is in the text that you access
    >
    The return value of a strongly typed REF CURSOR must be a folder that can be defined using % TYPE % ROWTYPE attributes or record structure.
    >
    You said the CURSOR to return a NUMBER. And as the text says, he must be a 'record '.
    >
    Furthermore, I wonder about the use of FETCH with a count (*)... FETCH is supposed to fetch the next row... How it works when you select an aggregate as County?
    >
    As you said already FETCH retrieves the next line, if any. A query is a request is a request. It returns a result set. A query that uses aggregates returns a result set. A query that does not aggregate returns a result set.

    Your simple COUNT (*) SELECT query returns a result set that consists of a LINE and a line a ONE COLUMN of type NUMBER. Although there is only one column in the result set, what is returned is a RECORD or a LINE. That's why you have to report your data cursor return type a document using the % ROWTYPE or % TYPE attributes or a record structure.

  • PLS-00201: identifier 'TABLETYPE_VARCHAR2' must be declared.

    Hi all, when I copy a procedure from oracle, and then the paste into the TimesTen to re-create the procedure, I get the following exception:
    PLS-00201: identifier 'TABLETYPE_VARCHAR2' must be declared.
    If the 'TABLETYPE_VARCHAR2' type is available in oracle not in TimesTen.
    Y at - it approach to solving this problem or links to the list of incompatibilities between oracle and TimesTen on PL/SQL?


    Thank you

    Gena, it seems that the package in timesten is a substitute for custom in oracle, right types?

    TimesTen does not support object types, but we can use types in packages, it's sort of a "Workaround", I think.
    Basically, the packets do not replace custom types (there are two different objects PLSQL with different purpose), but in this case we can do.

    Best regards
    Gena

Maybe you are looking for