Using PL/SQL to retrieve column names and column values

If I have a table as follows

Table has)
meal varchar2 (32),
drink varchar2 (32),
VARCHAR2 (32)) desert.

and the table contains a row

drinks food desert
-------------------------------------------------------
Pork chops crispy Apple of iced tea


Is it possible in pl/sql to retrieve the names of columns and values. I have an object type
(OBJECT) ACE DATA_DEFINITION_T
VARCHAR2 (32) 'FIELD_NAME ',.
'FIELD_VALUE' VARCHAR2 (32)

I need to store the column name in field_name and the value of column in field_value.

So, the result would be:

Field_name = meals
Field_value = pork_chops

Field_name = drink
Field_value = iced tea

Field_name = desert
Field_value = croustade

Thanks in advance.

The Subscriber to the queue will pick up the message and how to process the data (field_value) based on the field_name (s). With the domain name, it cannot be what to do with the data.

Sounds like an XML approach would be better than this owner = value field.

You have considered things like [DBMS_XMLGEN | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb13gen.htm#i1025386]?

Concerning
Peter

Tags: Database

Similar Questions

  • Display the name of the tag as the column name and the value in the tag as a row of data from the input string.

    Hi Forum members,

    I am looking for a query display the name of the tag as the column name and the value in the tag as a row of data.

    I have to print the values within the tag to a file by choosing the value of the flags. the sequence of the tags will vary each time, as the tag name will change dynamically.

    So here is the example of input data and the expected output. The string in the text column must be separated as the column names and values.

    Input data
    Select 1 as seqno,' < > 0210A 50 4f < / 4f > < 5f20 > TEST CARD 16 < / 5f20 > < 5f2a > < / 5f2a > < 82 > 1 c 00 < / 82 > ' double text


    Output:

    Seqno 4f 5f20 5f2a 82
    0210A 50 16 1 00 TEST CARD 1

    Please help me by providing your entries on this.

    We use the version of Oracle 11.2.

    Note: This is not the XML string

    Thank you

    Shree

    with

    data in the form of

    (select 1 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2a><82>00 1' text of all the double union)

    Select 2 as seqno,'XYZ<4F>0210 A 50<5f20>TEST CARD 16<5f2a><82>00 1' text of all the double union

    Select 3 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2A><82>1 00XYZ ' text of all the double union

    Select option 4 as seqno,'<4F>0210 A 50<5F20>TEST CARD 16<5f2A><82>1 00XYZ' double text

    )

    Select d.seqno, x.*

    d the data,

    XMLTable ('/ root')

    by the way xmltransform (xmltype ('': replace (replace (text,'<><>'),)))

    XmlType (q'~http://www.w3.org/1999/XSL/Transform "version ="1.0"> ")

                                                     

                                                       

                                                         

                                                       

                                                     

                                                     

                                                       

                                                         

                                                       

                                                     

    ~'

    )

    )

    path of columns '4f' varchar2 (10) "tag4f."

    path of "5f20' varchar2 (30)"tag5f20. "

    path of '5f2a' varchar2 (10) "tag5f2a."

    path of varchar2 (10) "82" "tag82.

    ) x


    SEQNO 4f 5f20 5f2a 82
    1 0210A 50 16 TEST CARD - 1 00
    2 0210A 50 16 TEST CARD - 1 00
    3 0210A 50 16 TEST CARD - 1 00
    4 0210A 50 16 TEST CARD - 1 00

    with

    data in the form of

    (select 1 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2a><82>00 1' text of all the double union)

    Select 2 as seqno,'XYZ<4F>0210 A 50<5f20>TEST CARD 16<5f2a><82>00 1' text of all the double union

    Select 3 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2A><82>1 00XYZ ' text of all the double union

    Select option 4 as seqno,'<4F>0210 A 50<5F20>TEST CARD 16<5f2A><82>1 00XYZ' double text

    ),

    Chopper (seqno, Key, value, String) as

    (select seqno,

    regexp_substr (text,'<(.+?)>', 1, 1, null, 1),

    regexp_substr (Text,'>(.*?))

    regexp_substr (text,'<.+?>. *? ) (.*) $', 1, 1, null, 1). » <>'

    from the data

    Union of all the

    Select seqno,

    regexp_substr (String,'<(.+?)>', 1, 1, null, 1),

    regexp_substr (String,'>(.*?))

    regexp_substr (String,'<.+?>. *? ) (.*) $', 1, 1, null, 1)

    Chopper

    where regexp_substr (string,'<(.*?)>', 1, 1, null, 1) is not null

    )

    Select '4f', seqno, '5f2a', '82', '5f20.

    of (seqno, lower (key) select key, value)

    Chopper

    )

    Pivot (max (value) for key in ('4f' as '4f', '5f20' as '5f20', '5f2a' as '5f2a', "82" as "82"))

    Concerning

    Etbin

  • Given the file name or path contains Unicode or DBCS characters. Retry using ASCII characters for the file name and path whatever that means? This happens when I publish an OAM

    Given the file name or path contains Unicode or DBCS characters. Retry using ASCII characters for the file name and path

    What does that mean? It happens when I try to publish an OAM for Dreamweaver.

    Also: How can I specify the onboard browser animate? It's just going as far. Are there no preference to animate it dashboard?

    BTW. Just call him edge. Seriously. You call Illustrator draw? Photoshop editing?

    No, my file name is mainContent.oam

    My project name is mainContent.an

    This error occurs when I try to import into Dreamweaver. Sorry, I was unclear about that earlier.

    I thought maybe it was because I had saved my image as a png image. So re-saved as an svg, still get the error.

    Should I have a setting is CC of Dreamweaver that will not? I should try this in Dreamweaver CS6? I might try that next.

    Why is this so difficult program? I know that Flash. I know that After Effects. I can work the chronology part simply awesome. He's still export I have problems.

    On a MacPro, 10.7.

    You are a person of Adobe or simply a beautiful assistance program?

  • Send the name and the value of the control to Subvi

    Hi all

    I am trying to send the names and values of the controls to a Subvi.

    I know that I can check out the name and the value of the control by using a property node, but I was looking for a way to make is easy for the programmer to use.

    I think some sort of bundle function, it records the name and the value of the control, but I would like the programmer to be able to connect a random number

    controls to the Subvi without having to specify the number of controls Anywhere.

    I know there is stuff in labview configuration file, but it seems a bit more complex, so what I want to do.

    Also, I know that I can use the OpenG toolkit, but I will not use additional LabVIEW modules, as this VI may run on several different computers.

    I hope I made my problem clear enough!

    Good day

    Concerning

    Tommy

    What, creating an array of references to the command.  On the hand, you will need to fill the table with control references that you want to send to the Subvi.  In the Subvi, use a loop For with indexing to get every reference, and then use the nodes property to get the name and value.

  • SQL for substr first name and family name

    Hi How can I subtr first name and family name

    Select first_name + lastname of employee

    for example if I have michael james I what to have JMichael

    Select your table instead of two. We do not have your tables and does not have the validation of samples, results, etc...

    Select upper (substr (one, 1, 1)) | initcap (substr (one, instr (1,' ') + 1)) result

    from (select job |) ' ' || Ename a

    WCP

    )

    RESULT
    Kill
    MBlake
    MClark
    MJones
    AScott
    AFord
    CSmith
    SAllen
    Ground vegetation
    SMartin
    STurner
    CAdams
    CJames
    CMiller

    Concerning

    Etbin

    Post edited by: Etbin

    example of the EMP

  • To report a local name and the value to test.

    Hello!

    I have a local variable in MainSequence what name and value I want to include for the test report. How is that possible?

    ARO

    Jick

    Solved!

    Step.Result.ReportText = Str (Locals.LimitFileVersion)

  • Retrieve column values is the only character

    Hi all

    I have a column whose values are the combination of characters and the number. example below.

    1L2P - 7 K-004-ADJAEA

    3L 24-7825767 - CC5YGY

    9030-CAP

    LOCK-9030-NOTSERV

    NO-10E987-SERV

    But I need to retrieve data that has only the character before the 1st dash '-'.

    Query for the above values.

    WITH SAMPLE_TAB

    AS

    (SELECT 'NON-10E987-SERV"AS DOUBLE DIGIT

    UNION

    SELECT ' 1L2P - 7K 004 - ADJAEA "AS THE DOUBLE DIGIT

    UNION

    SELECT "LOCK-9030-NOTSERV" AS THE DOUBLE DIGIT

    UNION

    ' SELECT ' 3 L 24-7825767-CC5YGY "AS THE DOUBLE DIGIT

    UNION

    SELECT "FUEL-9030-CAP" AS DOUBLE DIGIT

    )

    SELECT * FROM SAMPLE_TAB;

    Power required:

    9030-CAP

    NO-10E987-SERV

    LOCK-9030-NOTSERV

    Enjoy all that help.

    Thank you

    Hello

    MSB says:

    Hi all

    I have a column whose values are the combination of characters and the number. example below.

    1L2P - 7 K-004-ADJAEA

    3L 24-7825767 - CC5YGY

    9030-CAP

    LOCK-9030-NOTSERV

    NO-10E987-SERV

    But I need to retrieve data that has only the character before the 1st dash '-'.

    Query for the above values.

    WITH SAMPLE_TAB

    AS

    (SELECT 'NON-10E987-SERV"AS DOUBLE DIGIT

    UNION

    SELECT ' 1L2P - 7K 004 - ADJAEA "AS THE DOUBLE DIGIT

    UNION

    SELECT "LOCK-9030-NOTSERV" AS THE DOUBLE DIGIT

    UNION

    ' SELECT ' 3 L 24-7825767-CC5YGY "AS THE DOUBLE DIGIT

    UNION

    SELECT "FUEL-9030-CAP" AS DOUBLE DIGIT

    )

    SELECT * FROM SAMPLE_TAB;

    Power required:

    9030-CAP

    NO-10E987-SERV

    LOCK-9030-NOTSERV

    Enjoy all that help.

    Thank you

    Perhaps the easiest way is

    ...

    WHERE REGEXP_LIKE (alphanumeric, ' ^ [[: alpha:]] + -')

    You could also write it like this:

    SELECT *.

    OF sample_tab

    WHERE REGEXP_LIKE (alphanumeric

    , '^'              || -at the beginning of the string

    "[[: alpha:]]' |" -alphabetical character (from A to Z according to your language, case insensitive)

    '+'              || -the above can occur 1 or more times

    '-'-(no special meaning) the hyphen character

    )

    ;

  • find sql_id using the sql statement, including the carriage return and tab...

    Hello. all.

    I wonder how to find sql_id using a sql statement, including transport retrun and tab space multiple.
    To be more precise,

    My sql is:

    Select
    col_a,
    col_b,
    ..
    ..

    I usually use the following query to find the sql_id

    Select sql_id in v$ sql where sql_text like 'MY SQL STATEMENT %.

    When MY SQL STATEMENT includes carriage return and tab space multiple, how can I do?

    Thanks in advance.
    Best regards.

    Hello

    Did you look at regular expressions? Use regexp_like instead of as.

    http://www.Stanford.edu/dept/ITSS/docs/Oracle/10G/server.101/b10759/conditions018.htm

    Kind regards

  • Popup lov (retrieves the filters and the first set of rows) returns the id

    Hello

    I have a problem when using a popup lov (retrieves the filters and the first set of rows). My LOV is a list of people posting their names, and it works very well when the popup opens. But in the "textfield" showing that you have chosen the corresponding id is displayed. This is not what I want. I want the name to be displayed.

    Any help would be greatly appreciated,

    Bram.

    Bram

    The text field is filled in with the return value.

    If you have

    SELECT name, id
    FROM table
    

    ID will be returned to the text field. If you want the name displayed, then it should be...

    SELECT name a, name b
    FROM table
    

    If you want to use the ID later, behind the scenes, then you could calculate it according to the name.

    See you soon

    Ben

  • After I set up windows mail through my provider I get a window that requires that me but a user name and pass word so I can connect to my e-mail of tpg

    I set up my windows mail through my provider which is proxad.net I put in place correctly, but when I want to receive emails there is a mistake. It requires
    I use a log on the user name and password, I used the same name and password on my windows account, you can surgess what I can do to find the problem.
    The respect of
    D. W. Ellison

    My answer is the same:

    Try to define under Tools | Accounts | Mail | Properties and if you still have this problem, make sure that there are no conflicting anti-virus (see www.oehelp.com/OETips.aspx#3) and try to compact and repair the database (see www.oehelp.com/WMUtil/).  If it still does not work, then see if you can connect using the web interface: https://postoffice.tpg.com.au/advanced/postoffice/login.php?TPG=9fq1mclnpfs3ohturt2red8bf3

    The parameters of Windows Mail (which is renamed in Vista OE) are the same for OE.  WMUtil is therefore exclusively for Windows Mail.  If your settings are incorrect then try and change them as indicated.  If the settings are correct and its doesn't work, then if it is not due to the antivirus or the database, and then its something on the server end and you can try and remedy the situation by contacting your provider.  If they put in place and its nothing does not work, then there's someone here can do to fix it.

    Steve

  • Display of the name and save the value in the database for a LOV

    Hi Experts,

    JDEV 12 C,

    I have a requirement where I need to show the name of the project in the user interface and save the project in DB Id.

    I've had two articles as below: -.

    http://husaindalal.blogspot.in/2010/03/lov-displaying-name-and-storing-value.html

    https://blogs.Oracle.com/ADF/entry/combo_lov_how_to_display

    I did the procedure below.

    I have a ProjectId attribute in my VO.

    Created a transient ProjectName attribute, passivation = true editable = always.

    Created a ViewAccessor on the MainVO.

    Created a LOV on ProjectName ProjectName mapped in the configuration to the accessor of the view section with ProjectId.

    Changed the ViewRowImpl.java.

    I get the error when you run the below request form.

    public String getProjectName() {}

    Object projectId = getAttributeInternal (PROJECTID);

    String projectName = null;

    If (projectId! = null) {}

    Object [] obj = {projectId};

    Key = new Key (obj);

    Line lines [] = getProjectsVO1 () .findByKey (key, 1);

    If (rows! = null & & rows.length > 0) {}

    projectName = (String) rows [0] .getAttribute (1);

    }

    }

    back to projectName.

    }

    When AM running I get the below error.

    oracle.jbo.JboException: Houston-29000: Unexpected exception caught: java.lang.NullPointerException, msg = null

    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:421)

    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:483)

    at oracle.jbo.jbotester.panel.BindingPanel.setBindingContext(BindingPanel.java:144)

    to oracle.jbo.jbotester.panel.BindingPanel. < init > (BindingPanel.java:108)

    to oracle.jbo.jbotester.panel.BindingPanel. < init > (BindingPanel.java:81)

    at oracle.jbo.jbotester.form.BindingForm.createMasterPanel(BindingForm.java:90)

    at oracle.jbo.jbotester.form.BindingForm.init(BindingForm.java:166)

    to oracle.jbo.jbotester.form.JTForm. < init > (JTForm.java:77)

    to oracle.jbo.jbotester.form.BindingForm. < init > (BindingForm.java:77)

    to oracle.jbo.jbotester.form.FormType$ 1.createForm(FormType.java:78)

    at oracle.jbo.jbotester.form.FormType.createForm(FormType.java:236)

    at oracle.jbo.jbotester.form.FormType.createTab(FormType.java:307)

    at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:285)

    at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:244)

    at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:240)

    at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:149)

    at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:132)

    at oracle.jbo.jbotester.tree.Tree.processTreeMouseClicked(Tree.java:742)

    in oracle.jbo.jbotester.tree.Tree.access$ 100 (Tree.java:98)

    to oracle.jbo.jbotester.tree.Tree$ TreeMouseListener.mouseClicked (Tree.java:152)

    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)

    at java.awt.Component.processMouseEvent(Component.java:6508)

    at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)

    at java.awt.Component.processEvent(Component.java:6270)

    at java.awt.Container.processEvent(Container.java:2229)

    at java.awt.Component.dispatchEventImpl(Component.java:4861)

    at java.awt.Container.dispatchEventImpl(Container.java:2287)

    at java.awt.Component.dispatchEvent(Component.java:4687)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4501)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)

    at java.awt.Container.dispatchEventImpl(Container.java:2273)

    at java.awt.Window.dispatchEventImpl(Window.java:2719)

    at java.awt.Component.dispatchEvent(Component.java:4687)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)

    at $200 (EventQueue.java:103) java.awt.EventQueue.access

    in java.awt.EventQueue$ 3.run(EventQueue.java:694)

    in java.awt.EventQueue$ 3.run(EventQueue.java:692)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:87)

    in java.awt.EventQueue$ 4.run(EventQueue.java:708)

    in java.awt.EventQueue$ 4.run(EventQueue.java:706)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

    Caused by: java.lang.NullPointerException

    at oracle.jbo.uicli.jui.JULovButtonBinding.getDisplayAttrValue(JULovButtonBinding.java:1509)

    at oracle.jbo.uicli.jui.JULovButtonBinding.buildDisplayValue(JULovButtonBinding.java:1493)

    to oracle.jbo.uicli.controls.JULovEditButton$ TextFieldBinding.setValueAt (JULovEditButton.java:186)

    at oracle.jbo.uicli.binding.JUCtrlAttrsBinding.updateValuesFromRow(JUCtrlAttrsBinding.java:145)

    at oracle.jbo.uicli.binding.JUCtrlAttrsBinding.refreshControl(JUCtrlAttrsBinding.java:245)

    at oracle.jbo.uicli.jui.JULovButtonBinding.refreshControl(JULovButtonBinding.java:1228)

    at oracle.jbo.jbotester.app.FieldFactory.createField(FieldFactory.java:222)

    at oracle.jbo.jbotester.app.FieldFactory.createField(FieldFactory.java:147)

    at oracle.jbo.jbotester.panel.BindingPanel.createField(BindingPanel.java:178)

    at oracle.jbo.jbotester.panel.CardPanel.showAttributeDefs(CardPanel.java:227)

    at oracle.jbo.jbotester.panel.CardPanel.showAttributeDefs(CardPanel.java:185)

    to oracle.jbo.jbotester.panel.CardPanel. < init > (CardPanel.java:114)

    to oracle.jbo.jbotester.panel.CardPanel. < init > (CardPanel.java:103)

    at oracle.jbo.jbotester.panel.RowSetPanel.showCard(RowSetPanel.java:237)

    at oracle.jbo.jbotester.panel.RowSetPanel.setIterator(RowSetPanel.java:107)

    at oracle.jbo.jbotester.panel.BindingPanel.setBindingContext(BindingPanel.java:141)

    ... more than 49

    # # 0 in detail

    java.lang.NullPointerException

    at oracle.jbo.uicli.jui.JULovButtonBinding.getDisplayAttrValue(JULovButtonBinding.java:1509)

    at oracle.jbo.uicli.jui.JULovButtonBinding.buildDisplayValue(JULovButtonBinding.java:1493)

    to oracle.jbo.uicli.controls.JULovEditButton$ TextFieldBinding.setValueAt (JULovEditButton.java:186)

    at oracle.jbo.uicli.binding.JUCtrlAttrsBinding.updateValuesFromRow(JUCtrlAttrsBinding.java:145)

    at oracle.jbo.uicli.binding.JUCtrlAttrsBinding.refreshControl(JUCtrlAttrsBinding.java:245)

    at oracle.jbo.uicli.jui.JULovButtonBinding.refreshControl(JULovButtonBinding.java:1228)

    at oracle.jbo.jbotester.app.FieldFactory.createField(FieldFactory.java:222)

    at oracle.jbo.jbotester.app.FieldFactory.createField(FieldFactory.java:147)

    at oracle.jbo.jbotester.panel.BindingPanel.createField(BindingPanel.java:178)

    at oracle.jbo.jbotester.panel.CardPanel.showAttributeDefs(CardPanel.java:227)

    at oracle.jbo.jbotester.panel.CardPanel.showAttributeDefs(CardPanel.java:185)

    to oracle.jbo.jbotester.panel.CardPanel. < init > (CardPanel.java:114)

    to oracle.jbo.jbotester.panel.CardPanel. < init > (CardPanel.java:103)

    at oracle.jbo.jbotester.panel.RowSetPanel.showCard(RowSetPanel.java:237)

    at oracle.jbo.jbotester.panel.RowSetPanel.setIterator(RowSetPanel.java:107)

    at oracle.jbo.jbotester.panel.BindingPanel.setBindingContext(BindingPanel.java:141)

    to oracle.jbo.jbotester.panel.BindingPanel. < init > (BindingPanel.java:108)

    to oracle.jbo.jbotester.panel.BindingPanel. < init > (BindingPanel.java:81)

    at oracle.jbo.jbotester.form.BindingForm.createMasterPanel(BindingForm.java:90)

    at oracle.jbo.jbotester.form.BindingForm.init(BindingForm.java:166)

    to oracle.jbo.jbotester.form.JTForm. < init > (JTForm.java:77)

    to oracle.jbo.jbotester.form.BindingForm. < init > (BindingForm.java:77)

    to oracle.jbo.jbotester.form.FormType$ 1.createForm(FormType.java:78)

    at oracle.jbo.jbotester.form.FormType.createForm(FormType.java:236)

    at oracle.jbo.jbotester.form.FormType.createTab(FormType.java:307)

    at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:285)

    at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:244)

    at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:240)

    at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:149)

    at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:132)

    at oracle.jbo.jbotester.tree.Tree.processTreeMouseClicked(Tree.java:742)

    in oracle.jbo.jbotester.tree.Tree.access$ 100 (Tree.java:98)

    to oracle.jbo.jbotester.tree.Tree$ TreeMouseListener.mouseClicked (Tree.java:152)

    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)

    at java.awt.Component.processMouseEvent(Component.java:6508)

    at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)

    at java.awt.Component.processEvent(Component.java:6270)

    at java.awt.Container.processEvent(Container.java:2229)

    at java.awt.Component.dispatchEventImpl(Component.java:4861)

    at java.awt.Container.dispatchEventImpl(Container.java:2287)

    at java.awt.Component.dispatchEvent(Component.java:4687)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4501)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)

    at java.awt.Container.dispatchEventImpl(Container.java:2273)

    at java.awt.Window.dispatchEventImpl(Window.java:2719)

    at java.awt.Component.dispatchEvent(Component.java:4687)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)

    at $200 (EventQueue.java:103) java.awt.EventQueue.access

    in java.awt.EventQueue$ 3.run(EventQueue.java:694)

    in java.awt.EventQueue$ 3.run(EventQueue.java:692)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:87)

    in java.awt.EventQueue$ 4.run(EventQueue.java:708)

    in java.awt.EventQueue$ 4.run(EventQueue.java:706)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

    If I use the word groovy for ProjectName instead of the code in the VOrowImpl.java method

    key oracle.jbo.Key = new oracle.jbo.Key (ProjectId);

    Return ProjectsVVO1.findByKey (key, 1) [0] .getAttribute ("ProjectName");

    I get below error: -.

    Unexpected exception taken: org.codehaus.groovy.control.MultipleCompilationErrorsException, msg = startup failed:

    General error during the semantic analysis: Houston-25152: calling the constructor for the class oracle.jbo.Key is not allowed.

    oracle.jbo.ExprSecurityException: Houston-25152: calling the constructor for the class oracle.jbo.Key is not allowed.

    at oracle.jbo.script.InternalSecurityPolicyEnforcer.checkConstructor(InternalSecurityPolicyEnforcer.java:304)

    at oracle.jbo.script.ExprASTScanningVisitor.visitConstructorCallExpression(ExprASTScanningVisitor.java:127)

    at org.codehaus.groovy.ast.expr.ConstructorCallExpression.visit(ConstructorCallExpression.java:44)

    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBinaryExpression(CodeVisitorSupport.java:144)

    at org.codehaus.groovy.ast.CodeVisitorSupport.visitDeclarationExpression(CodeVisitorSupport.java:245)

    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitDeclarationExpression(ClassCodeVisitorSupport.java:107)

    at org.codehaus.groovy.ast.expr.DeclarationExpression.visit(DeclarationExpression.java:86)

    at org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:69)

    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:193)

    at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)

    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:35)

    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:163)

    at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69)

    at oracle.jbo.script.ExprASTScan.visit(ExprASTScan.java:97)

    at sun.reflect.GeneratedMethodAccessor26.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    to org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$ PojoCachedMethodSite.invoke (PojoMetaMethodSite.java:189)

    at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)

    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

    at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:55)

    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

    at org.codehaus.groovy.control.customizers.ASTTransformationCustomizer.call(ASTTransformationCustomizer.groovy:232)

    at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1036)

    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:572)

    at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:550)

    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:527)

    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:279)

    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:258)

    at groovy.lang.GroovyShell.parseClass(GroovyShell.java:613)

    at groovy.lang.GroovyShell.parse(GroovyShell.java:625)

    at groovy.lang.GroovyShell.parse(GroovyShell.java:652)

    at oracle.jbo.ExprEval.parseScript(ExprEval.java:1571)

    at oracle.jbo.ExprEval.findScript(ExprEval.java:1152)

    at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1956)

    at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1928)

    at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1647)

    at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2486)

    at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1947)

    at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:2036)

    at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:886)

    at cfa.fcr.uimodel.workqueue.adfbc.view.FcrDetailsVORowImpl.getProjectName(FcrDetailsVORowImpl.java:3177)

    to cfa.fcr.uimodel.workqueue.adfbc.view.FcrDetailsVORowImpl$ AttributesEnum$ 116.get(FcrDetailsVORowImpl.java:1186)

    at cfa.fcr.uimodel.workqueue.adfbc.view.FcrDetailsVORowImpl.getAttrInvokeAccessor(FcrDetailsVORowImpl.java:3219)

    at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:916)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:1248)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:798)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:826)

    at oracle.jbo.uicli.binding.JUCtrlAttrsBinding.updateValuesFromRow(JUCtrlAttrsBinding.java:145)

    at oracle.jbo.uicli.binding.JUCtrlAttrsBinding.refreshControl(JUCtrlAttrsBinding.java:245)

    at oracle.jbo.uicli.jui.JULovButtonBinding.refreshControl(JULovButtonBinding.java:1228)

    at oracle.jbo.jbotester.binding.BindingAdapter.refresh(BindingAdapter.java:73)

    at oracle.jbo.jbotester.panel.CardPanel.refreshAll(CardPanel.java:138)

    at oracle.jbo.jbotester.panel.RowSetPanel.refreshAll(RowSetPanel.java:203)

    at oracle.jbo.jbotester.panel.RowSetPanel.navigated(RowSetPanel.java:155)

    at oracle.jbo.common.RowSetHelper.fireNavigationEvent(RowSetHelper.java:267)

    at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3732)

    at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3703)

    at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3486)

    at oracle.jbo.server.ViewRowSetIteratorImpl.next(ViewRowSetIteratorImpl.java:1825)

    at oracle.jbo.server.ViewRowSetImpl.next(ViewRowSetImpl.java:3882)

    at oracle.jbo.server.ViewObjectImpl.next(ViewObjectImpl.java:11030)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1092)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2218)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:784)

    at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)

    at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)

    at oracle.jbo.jbotester.app.NavigationBar.doAction(NavigationBar.java:140)

    to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)

    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2341)

    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)

    at java.awt.Component.processMouseEvent(Component.java:6505)

    at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)

    at java.awt.Component.processEvent(Component.java:6270)

    at java.awt.Container.processEvent(Container.java:2229)

    at java.awt.Component.dispatchEventImpl(Component.java:4861)

    at java.awt.Container.dispatchEventImpl(Container.java:2287)

    at java.awt.Component.dispatchEvent(Component.java:4687)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)

    at java.awt.Container.dispatchEventImpl(Container.java:2273)

    at java.awt.Window.dispatchEventImpl(Window.java:2719)

    at java.awt.Component.dispatchEvent(Component.java:4687)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)

    at $200 (EventQueue.java:103) java.awt.EventQueue.access

    in java.awt.EventQueue$ 3.run(EventQueue.java:694)

    in java.awt.EventQueue$ 3.run(EventQueue.java:692)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:87)

    in java.awt.EventQueue$ 4.run(EventQueue.java:708)

    in java.awt.EventQueue$ 4.run(EventQueue.java:706)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

    1 error

    : failed to start:

    General error during the semantic analysis: Houston-25152: calling the constructor for the class oracle.jbo.Key is not allowed.

    oracle.jbo.ExprSecurityException: Houston-25152: calling the constructor for the class oracle.jbo.Key is not allowed.

    at oracle.jbo.script.InternalSecurityPolicyEnforcer.checkConstructor(InternalSecurityPolicyEnforcer.java:304)

    at oracle.jbo.script.ExprASTScanningVisitor.visitConstructorCallExpression(ExprASTScanningVisitor.java:127)

    at org.codehaus.groovy.ast.expr.ConstructorCallExpression.visit(ConstructorCallExpression.java:44)

    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBinaryExpression(CodeVisitorSupport.java:144)

    at org.codehaus.groovy.ast.CodeVisitorSupport.visitDeclarationExpression(CodeVisitorSupport.java:245)

    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitDeclarationExpression(ClassCodeVisitorSupport.java:107)

    at org.codehaus.groovy.ast.expr.DeclarationExpression.visit(DeclarationExpression.java:86)

    at org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:69)

    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:193)

    at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)

    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:35)

    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:163)

    at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69)

    at oracle.jbo.script.ExprASTScan.visit(ExprASTScan.java:97)

    at sun.reflect.GeneratedMethodAccessor26.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    to org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$ PojoCachedMethodSite.invoke (PojoMetaMethodSite.java:189)

    at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)

    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)

    at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:55)

    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)

    at org.codehaus.groovy.control.customizers.ASTTransformationCustomizer.call(ASTTransformationCustomizer.groovy:232)

    at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1036)

    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:572)

    at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:550)

    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:527)

    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:279)

    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:258)

    at groovy.lang.GroovyShell.parseClass(GroovyShell.java:613)

    at groovy.lang.GroovyShell.parse(GroovyShell.java:625)

    at groovy.lang.GroovyShell.parse(GroovyShell.java:652)

    at oracle.jbo.ExprEval.parseScript(ExprEval.java:1571)

    at oracle.jbo.ExprEval.findScript(ExprEval.java:1152)

    at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1956)

    at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1928)

    at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1647)

    at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2486)

    at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1947)

    at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:2036)

    at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:886)

    at cfa.fcr.uimodel.workqueue.adfbc.view.FcrDetailsVORowImpl.getProjectName(FcrDetailsVORowImpl.java:3177)

    to cfa.fcr.uimodel.workqueue.adfbc.view.FcrDetailsVORowImpl$ AttributesEnum$ 116.get(FcrDetailsVORowImpl.java:1186)

    at cfa.fcr.uimodel.workqueue.adfbc.view.FcrDetailsVORowImpl.getAttrInvokeAccessor(FcrDetailsVORowImpl.java:3219)

    at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:916)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:1248)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:798)

    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:826)

    at oracle.jbo.uicli.binding.JUCtrlAttrsBinding.updateValuesFromRow(JUCtrlAttrsBinding.java:145)

    at oracle.jbo.uicli.binding.JUCtrlAttrsBinding.refreshControl(JUCtrlAttrsBinding.java:245)

    at oracle.jbo.uicli.jui.JULovButtonBinding.refreshControl(JULovButtonBinding.java:1228)

    at oracle.jbo.jbotester.binding.BindingAdapter.refresh(BindingAdapter.java:73)

    at oracle.jbo.jbotester.panel.CardPanel.refreshAll(CardPanel.java:138)

    at oracle.jbo.jbotester.panel.RowSetPanel.refreshAll(RowSetPanel.java:203)

    at oracle.jbo.jbotester.panel.RowSetPanel.navigated(RowSetPanel.java:155)

    at oracle.jbo.common.RowSetHelper.fireNavigationEvent(RowSetHelper.java:267)

    at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3732)

    at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3703)

    at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3486)

    at oracle.jbo.server.ViewRowSetIteratorImpl.next(ViewRowSetIteratorImpl.java:1825)

    at oracle.jbo.server.ViewRowSetImpl.next(ViewRowSetImpl.java:3882)

    at oracle.jbo.server.ViewObjectImpl.next(ViewObjectImpl.java:11030)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1092)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2218)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:784)

    at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)

    at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)

    at oracle.jbo.jbotester.app.NavigationBar.doAction(NavigationBar.java:140)

    to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)

    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2341)

    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)

    at java.awt.Component.processMouseEvent(Component.java:6505)

    at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)

    at java.awt.Component.processEvent(Component.java:6270)

    at java.awt.Container.processEvent(Container.java:2229)

    at java.awt.Component.dispatchEventImpl(Component.java:4861)

    at java.awt.Container.dispatchEventImpl(Container.java:2287)

    at java.awt.Component.dispatchEvent(Component.java:4687)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)

    at java.awt.Container.dispatchEventImpl(Container.java:2273)

    at java.awt.Window.dispatchEventImpl(Window.java:2719)

    at java.awt.Component.dispatchEvent(Component.java:4687)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)

    at $200 (EventQueue.java:103) java.awt.EventQueue.access

    in java.awt.EventQueue$ 3.run(EventQueue.java:694)

    in java.awt.EventQueue$ 3.run(EventQueue.java:692)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:87)

    in java.awt.EventQueue$ 4.run(EventQueue.java:708)

    in java.awt.EventQueue$ 4.run(EventQueue.java:706)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

    1 error

    Thank you

    Roy

    Try this also on the actual page (to remove some bug in AM tester)

    About the Houston-25152 error: call the constructor for the class oracle.jbo.Key is not allowed.  See this thread: Jdev 12.1.3: Houston-25152: call the constructor of class oracle.jbo.server.SequenceImpl is not allowed (WITH HR TEST CASE!)

    Dario

  • Using Web Services query retrieves the lookup ID

    Hello
    I noticed that querying via webservices retrieves the lookup ID value and not the value indicated in the application (if the ID is different from the value). Could not retrieve the value? I need this emergency information as its impact on some of our Web based service applications.

    Thank you
    m

    Hello

    It's true on the question of field lookup on an object, it retrieves only the Ids and not values, but if you intend to match it with display value that you can use GetPicklistValues of the Service API that retrieves the ID and display value that can be sought for a particular ID.

    Messer

  • Display the names and values of the parameters in the node parameter of forms

    Hello

    Is it possible to loopback programmatically via the node parameter forms get the name and value of each parameter. I don't know the name of the individual parameters in advance. I want to display the parameter names and values on a help screen generic as each of our reference forms.

    I could do somewhat similar code to display all names of block in a first_block get_form_property property and nextblock property get_block_property is formed. I can't think in the same way as the parameter names and the values of the list if.

    Any suggestions would be welcome.

    Thank you

    Neil

    No, there is no standard built-in to browse Forms settings.

    François

  • most unique separator between the key and the value.

    Hello

    I need to write some implementation of a key delimiter value, while demand will insert this value and the delimiter that is not defined in the db.

    After that, I need to retrieve the key and the value, the question that this delimiter is defined by a custom code and it might be something.

    My problem starts when the delimiter that defined by custom code will be part of the 'key' or\and 'value '. in this case, the index of the key and value of the analysis or split or any regex-based will give the wrong key and value.

    Please advice, what is your suggestion for m searching the Internet to find any piece of information that can help.

    Thanks in advance.

    These examples are not relevant if your use case is not the same thing as what this code is from.

    1. you now have the rules.

    2. you have Java class files that implement these rules for a defined set of data types and work delimiters

    3. you have the Java source code for these class files so you can see exactly how the rules are applied and how specific types of data, and the delimiters affect the process.

    It is up to YOU to determine if the existing code will do what you need and, if not, to change this code (or write your own) that implements the rules for your use case.

    You have all the information you need to do the work. Nobody on the forum, and certainly not me, is going to write your code for you. If you can't do the job when you have ALL the necessary information then you will need to hire a consultant to do.

    Any other help is possible.

  • To access the controls and their values in different JFrames and forms

    Hi all - is it possible to access controls and their associated information? For example, in my old .NET application, I got a form where users could enter usernames/people with disabilities and also preferences for the launch of other external tools. The user filled in the text boxes and made a few selections on combo boxes etc. - I then recorded in an ini file which is loaded at run time. Then from anywhere in the application I could do something like:

    Dim strUserName As String = frmUserSettings.txtUserName.Text//for username
    Dim optLocalorRemote as String = frmUserSettings.cmbLocalorRemote.SelectedItem.ToString () //for selected item in the drop-down list box
    Dim optSomeOption as Object = frmSomeForm.SomeControl.Value //etc etc...

    You can call any control in any form and obtain its associated variables and also call any method belonging to him in .NET or void. Is it possible to do in the frameworks for Swing? I did some research but can't seem to find the equivalent in Swing

    If it is not possible can then someone point me in the right direction on how to do it? Do I need to define a class and I then have to instantiate each control in the class and have the getters/setters or y at - it an easier way? I essentially have an obligation to access related information across different forms in the application

    I found this:
    http://StackOverflow.com/questions/4958600/get-a-swing-component-by-name
    But this seems to return the control names and no values?

    Thanks in advance for any advice or help - we appreciate it! :)

    Hello Matt,

    for what you do with files .ini, java provides the java.util.Properties class.
    To access the other JFrames and forms (JPanels), you pass a reference to this framework/Panel to the place (class or method) where you want to retrieve information from this framework/Panel.
    Example:

    public class MyFrame extends JFrame {
      JPanel myPanel1= new JPanel(...);
    ...
      MyVeryOwnPanel mvop= new MyVeryOwnPanel(myPanel1,...);
    }
    

    Now within mvop, you can look at what happened to myPanel1.

    HTH

Maybe you are looking for