Bug jdev 10.1.3 production: sequences showing up as tables

Hello,
A bug I have found: when I generate a script to create database objects (tables & sequences) and choose in the wizard to execute against the DB connection, the sequences are showing up under the "tables" folder in the connection browser (Oracle DB). After I disconnect and re-browse, they are in the correct "sequences" folder.
Regards,
John

Hi John,
Could you provide more detailed steps to reproduce?
Thanks,
Lisa
JDev QA

Similar Messages

  • Adding Productions - Nothing shows up until you restart the client software

    Adding Productions - Nothing shows up until you restart the client software.
    Any idea why? You'd think it'd be immediately available, seems a little clunky. The system isn't running slow, so can't be that.
    Ryan Salazar

    New Assets and Productions never show up until you hit the Search button - or wait for a rescan.
    Maybe that solves your problem?!
    PS: hehe... same post
    Message was edited by: Marc.S

  • Problem with store ResultSet and show result in table

    Hi, I'm kind of new in ADF, I need to store ResultSet and show result in table-component. I have two problems:
    1) I get my ResultSet by calling callStoredProcedure(...) and this returns actually ref_cursor as ResultSet.
    When I try to println() contains of this result set in this method - it works OK (commented part),
    but when I want to println() somewhere else (eg. in retrieveRefCursor() method) it doesn't work.
    The problem is that the scrollability of the ResultSet is lost - it becomes a TYPE_FORWARD_ONLY ResultSet.
    Is there any way to store data from ref_cursor for a long time?
    2) My second problem is "store any result set and show this data in table". I have tried use method storeNewResultSet() but
    without result (table contains only "No rows yet" and everything seems to be OK - no exception, no warning, no error...).
    I have tried to call this method with ResultSet from select on dbs (without resultSet as ref_cursor ) - no result with createRowFromResultSet(),
    storeNewResultSet(), setUserDataForCollection()...
    I've tried a lot of ways to do this, but it doesn't work. I really don't know how to make it so it can work.
    Thanks for your help.
    ADF BC, JDev 11.1.1.0
    This is my code from ViewObjectImpl
    package tp.model ;
    import com.sun.jmx.mbeanserver.MetaData ;
    import java.sql.CallableStatement ;
    import java.sql.Connection ;
    import java.sql.PreparedStatement ;
    import java.sql.ResultSet ;
    import java.sql.ResultSetMetaData ;
    import java.sql.SQLException ;
    import java.sql.Statement ;
    import java.sql.Types ;
    import oracle.jbo.JboException ;
    import oracle.jbo.server.SQLBuilder ;
    import oracle.jbo.server.ViewObjectImpl ;
    import oracle.jbo.server.ViewRowImpl ;
    import oracle.jbo.server.ViewRowSetImpl ;
    import oracle.jdbc.OracleCallableStatement ;
    import oracle.jdbc.OracleConnection ;
    import oracle.jdbc.OracleTypes ;
    public class Profiles1ViewImpl extends ViewObjectImpl {
        private static final String SQL_STM = "begin Pkg_profile.get_profile_list(?,?,?,?);end;" ;
        public Profiles1ViewImpl () {
        /* 0. */
        protected void create () {
            getViewDef ().setQuery ( null ) ;
            getViewDef ().setSelectClause ( null ) ;
            setQuery ( null ) ;
        public Connection getCurrentConnection () throws SQLException {
            // Note that we never execute this statement, so no commit really happens
            Connection conn = null ;
            PreparedStatement st = getDBTransaction ().createPreparedStatement ( "commit" , 1 ) ;
            conn = st.getConnection () ;
            st.close () ;
            return conn ;
        /* 1. */
        protected void executeQueryForCollection ( Object qc , Object[] params , int numUserParams ) {
            storeNewResultSet ( qc , retrieveRefCursor ( qc , params ) ) ;
            // callStoredProcedure ( qc , SQL_STM ) ;
            super.executeQueryForCollection ( qc , params , numUserParams ) ;
        /* 2. */
        private ResultSet retrieveRefCursor ( Object qc , Object[] params ) {
            ResultSet rs = null ;
            rs = callStoredProcedure ( qc , SQL_STM ) ;
            return rs ;
        /* 3. */
        public ResultSet callStoredProcedure ( Object qc , String stmt ) {
            CallableStatement st = null ;
            ResultSet refCurResultSet = null ;
            try {
                st = getDBTransaction ().createCallableStatement ( stmt , 0 ) ; // call 
                st.setObject ( 1 , 571 ) ; //set id of my record to 571
                st.registerOutParameter ( 2 , OracleTypes.CURSOR ) ; // my ref_cursor
                st.registerOutParameter ( 3 , Types.NUMERIC ) ;
                st.registerOutParameter ( 4 , Types.VARCHAR ) ;
                st.execute () ; //executeUpdate
                System.out.println ( "Numeric " + st.getObject ( 3 ) ) ;
                System.out.println ( "Varchar " + st.getObject ( 4 ) ) ;
                refCurResultSet = ( ResultSet ) st.getObject ( 2 ) ; //set Cursoru to ResultSet
                //   setUserDataForCollection(qc, refCurResultSet); //don't work
                //   createRowFromResultSet ( qc , refCurResultSet ) ; //don't work
                /* this works but only one-time call - so my resultSet(cursor) really have a data
                while ( refCurResultSet.next () ) {
                    String nameProfile = refCurResultSet.getString ( 2 ) ;
                    System.out.println ( "Name profile: " + nameProfile ) ;
                return refCurResultSet ;
            } catch ( SQLException e ) {
                System.out.println ( "sql ex " + e ) ;
                throw new JboException ( e ) ;
            } finally {
                if ( st != null ) {
                    try {
                        st.close () ; // 7. Close the statement
                    } catch ( SQLException e ) {
                        System.out.println ( "sql exx2 " + e ) ;
        /* 4. Store a new result set in the query-collection-private user-data context */
        private void storeNewResultSet ( Object qc , ResultSet rs ) {
            ResultSet existingRs = getResultSet ( qc ) ;
            // If this query collection is getting reused, close out any previous rowset
            if ( existingRs != null ) {
                try {
                   existingRs.close () ;
                } catch ( SQLException s ) {
                    System.out.println ( "sql err " + s ) ;
            setUserDataForCollection ( qc , rs ) ; //should store my result set
            hasNextForCollection ( qc ) ; // Prime the pump with the first row.
        /*  5. Retrieve the result set wrapper from the query-collection user-data      */
        private ResultSet getResultSet ( Object qc ) {
            return ( ResultSet ) getUserDataForCollection ( qc ) ;
        // createRowFromResultSet - overridden for custom java data source support - also doesn't work
       protected ViewRowImpl createRowFromResultSet ( Object qc , ResultSet resultSet ) {
            ViewRowImpl value = super.createRowFromResultSet ( qc , resultSet ) ;
            return value ;
    }

    Hi I have the same problem like you ...
    My SQL Definition:
    CREATE OR REPLACE TYPE RMSPRD.NB_TAB_STOREDATA is table of NB_STOREDATA_REC
    CREATE OR REPLACE TYPE RMSPRD.NB_STOREDATA_REC AS OBJECT (
       v_title            VARCHAR2(100),
       v_store            VARCHAR2(50),
       v_sales            NUMBER(20,4),
       v_cost             NUMBER(20,4),
       v_units            NUMBER(12,4),
       v_margin           NUMBER(6,2),
       v_ly_sales         NUMBER(20,4),
       v_ly_cost          NUMBER(20,4),
       v_ly_units         NUMBER(12,4),
       v_ly_margin        NUMBER(6,2),
       v_sales_variance   NUMBER(6,2)
    CREATE OR REPLACE PACKAGE RMSPRD.NB_SALES_DATA
    AS
    v_sales_format_tab   nb_tab_storedata;
    FUNCTION sales_data_by_format_gen (
          key_value         IN       VARCHAR2,
          l_to_date         IN       DATE DEFAULT SYSDATE-1,
          l_from_date       IN       DATE DEFAULT TRUNC (SYSDATE, 'YYYY')
          RETURN nb_tab_storedata;
    I have a PLSQL function .. that will return table ..
    when i use this in sql developer it is working fine....
    select * from table (NB_SALES_DATA.sales_data_by_format_gen('TSC',
                                        '05-Aug-2012',
                                        '01-Aug-2012') )
    it returning table format record.
    I am not able to call from VO object. ...
    Hope you can help me .. please tell me step by step process...
    protected Object callStoredFunction(int sqlReturnType, String stmt,
    Object[] bindVars) {
    System.out.println("--> 1");
    CallableStatement st = null;
    try {
    st = getDBTransaction().createCallableStatement("begin ? := " +"NB_SALES_DATA.sales_data_by_format_gen('TSC','05-Aug-2012','01-Aug-2012') ; end;", 0);
    System.out.println("--> 2");
    st.executeUpdate();
    System.out.println("--> 3");
    return st.getObject(1);
    catch (SQLException e) {
    e.printStackTrace();
    throw new JboException(e);

  • Showing R/3 Table as a Grid in Web Dynpro

    Hello,
    I am on SAP Netweaver 7.0 SP10. I am developing a Visual Composer screen to show list of products. I have list of products in a Table from backend. But in VC , I dont want to show it as table. Instead of displaying the products in a Table, I want to show products in a 3x4 Grid, something like we see in Amazon or any other web shop.
    Does anybody have ideas on how to achieve this. I appreciate your help.
    Regards,
    Sunita.

    Hi Sunita,
    I think the only way to do this in VC is to use a table, but I think this doesn't fit your requirements. Yesterday I was in St. Leon-Rot and heard something about the new capabilities of Java Webdynpro. I think you should try it with Webdynpro. The pictures are also a problem in VC. An Alternative is BSP there you have the flexibility of HTML for your tables.
    Best Regards,
    Marcel

  • UI Element : MessageArea : How to I show a ALV table instead of messages

    UI Element : MessageArea : How to I show a ALV table (Message Log) instead of all the messages.

    Hi,
    Create a View Container UI Element at the bottom of the View and Embed ALV into it. Catch the Errors and populate into ALV instead of report message.
    hope  this helps u.,
    Thanks & Regards,
    Kiran

  • How to show data in table on the basis of click on a row of another table

    Hi All,
    I want to show two tables. In first table the main objects show in turn there is another collection in that main object for which i want to show data in separate table.
    e.g.,
    ObjectA
      have the collection of ObjectBs
    when i select ObjectA in main table then all the collection Objects of ObjectBs shows in separate table. Plz help me how to handle this case ??

    hi,
    You can create two value nodes for storing these collections. The first one would be singleton node as it is the main list. Under that create the second node with singleton = false.
    e.g.
    ---NodeA
        --attrA1
        --attrA2
        --NodeB(singleton = false)
                --attrB1
                --attrB2
    Now populate collection of object A in NodeA and after adding element in NodeA populate respective elements in NodeB.
    IPrivate<View>View.INodeANode nodeA = wdContext.NodeAnode();
    for (Iterator  it = collectionA.iterator(); it.hasNext(); )
         ObjectA objA= it.next();
         IPrivate<View>View.INodeAElement nodeAElem= nodeA.createNodeAElement();
         wdCopyservice.copy Corresponding(objA,nodeAElem);
         nodeA.addElement(nodeAElem);
         Collection collectioB =objA.getCollectionB();
         for (Iterator  it1 = collectionB.iterator(); it1.hasNext(); )
             ObjectB objB= it1.next();
            IPrivate<View>View.INodeBNode nodeB = nodeAElem.nodeBnode();
            IPrivate<View>View.INodeAElement nodeBElem= nodeB.createNodeBElement();
            wdCopyservice.copy Corresponding(objB,nodeBElem);
            nodeB.addElement(nodeBElem);
    Bind NodeA to the first table and NodeB to second one.
    After that when you select record in first table automatically its corresponding records will be populated in second table.
    Hope this helps!
    Monalisa

  • How do I assign a user ID to the purchasing group so it shows up on table..

    How do I assign a user ID to the purchasing group so it shows up on table T024?  I'm trying to create a STO but am recieving the following error
    Configuration of User ID is not set up in purchasing group T024 table
        Message no. 00398
    Diagnosis
        Placeholder for batch input error text, this message is not output.
        Configuration of User ID is not set up in   purchasing group T024 table
    Thanks in advance

    Table T024 has no field for a user-Id in standard SAP
    you can only tie a user to a purchsing group via authorization with user roles.
    The message 00398 is a generic message that can be used for everything.
    I guess this message is triggered in a userexit. Designed by a collegue of you.

  • How to control "hide/show" in a table on row level

    I was trying to implement controlling/rendering of "hide/show" in a table on row level, but no luck. Is is possible to render the "hide/show" in a table based on the row attribute? If the row attribute is "true", then render the "hide/show" at that row; If the row attribute is "false", then not render the "hide/show" for that row. Is this feasible? Thanks.

    I think this should be possible, what u need to do is as follows:
    1) Add a decode statement to your VO query to get 0/1 based on your condition like
    decode('',true,0,1) render_flag
    2) In VO attrinute mappings caste this attribute as boolean instead of number.
    3) Attach this attribute to render flag of hide/show via SPEL.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Showing Image in table

    Hi
         I want to show image in table based on the result i have a field status which contains the 01 / 02 / 03 values and now i want to show 3 images insted of value I have created one value attribute of string type and assigned the path of the image to it but its taking the image of last record only so can any one tell me what i have to do for this bellow is the code i am using
    wdContext.currentContextElement().setImgXiStatus("");
    if(xistatus.equals("01"))
        wdContext.currentContextElement().setImgXiStatus("green.bmp");
    else if(xistatus.equals("02"))
        wdContext.currentContextElement().setImgXiStatus("yellow.bmp");
    else if(xistatus.equals("03"))
        wdContext.currentContextElement().setImgXiStatus("red.bmp");
    else
        wdContext.currentContextElement().setImgXiStatus("");
    Thanks
    Ninad

    1 - NODE_MY_TRNAS
    1.1---NODEoutput
    1.1.1---NODEetData
    1.1.1.1---NODEimageNodeHelper
    1.1.1.1.1---icon
    Set singleton = false for node "NODEimageNodeHelper" and selection(NODEimageNodeHelper) = 1:1.
    Assuming card(NODEetData) =0:N, you can set the icon for row number i as follows:
    INODEetDataElement e = wdContext.nodeNODEetData().getNODEetDataElementAt(i);
    e.nodeNODEimageNodeHelper().currentNODEimageNodeHelperElement().setIcon("icon.gif");
    For naming nodes, the following rule is useful: Name in camel-case, first letter uppercase, for cardinality =0:N, use plural name.
    Example:
    Node "Books" (node, card=0:N) leads to IBooksNode, IBooksElement interfaces.
    Armin

  • CNA 5.5 and show mac address-table

    When trying to Monitor/Search for MAC address in C2960 network I got an error reply that a CLI command is not supported. Analyzing network traffic shows that CNA 5.5 is issueing 'show mac-address-table' command but the latest Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(55)SE does not support 'show mac-address-table' anymore but does support 'show mac address-table' command. How can I change the command for showing mac address tables in CNA 5.5?
    M.

    hi john,
    the show mac-address-table command should be valid.
    check if you've got MAC learning enabled on the ASA interface using show mac-learn command.
    edit: could you post show firewall? the above command works on transparent firewall only.

  • SEQUENCE Object for Small Tables Only?

    QUOTE from a recent thread: "Long term solution should be to use SEQUENCE with NO CACHE for small tables instead of identity and benefit from performance improvement for large tables."
    Thread:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cf63d145-7084-4371-bde0-eb3b917c7163/identity-big-jump-100010000-a-feature?forum=transactsql
    How about using SEQUENCE objects for large tables? Thanks.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

    Well Erland, either you calm down your manager (with a martini?) or use NO CACHE.
    QUOTE: "This could cause a sequence to run out of numbers much more quickly than an IDENTITY value. It could also cause managers to become upset that values are missing, in which case they’ll need to simply get over it and accept that
    there will be numbers missing.
    If you need SQL Server to use every possible value, configure a cache setting of NO CACHE. This will cause the sequence to work much like the IDENTITY property. However, it will impact the sequence performance due to the additional metadata writes."
    LINK: Microsoft SQL Server: The Sequencing Solution
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Add Sequence to an existing table

    How can I add a Sequence to an existing table in a new field called the User_Id? I'm using Oracle SQL Developer version 3.0.04, and it provides an option to create a sequence, which I did, called Log_Seq. So I need to put this sequence in the table Final_Log under a column named User_Id. I'm stuck at this part. I would appreciate any help I can get!

    You don't "add" a sequence to an existing table at least in existing Oracle versions. A database sequence is an database object that application code must manage with specific SQL data manipulation language (DML) statements. You need to modify application code to add or modify SQL statements.
    See example from Admin. Guide http://docs.oracle.com/cd/E11882_01/server.112/e25494/views002.htm#ADMIN11796 .

  • Extractor for Product Group/Member Allocation- hierarchy (table u2013 PGMI ).

    Hello experts
    I am looking for standard extractor for Product Group/Member
    Allocation- hierarchy (table u2013 PGMI on the ECC).
    Is there a standard extractor for product group-hierarchy?
    Best Regards,
    Tal Shalom.

    Hi Lory,
    I thought the document contained an explanation of remote key mapping. Obviously it doesn't, sorry.
    Setting up remote key mapping is a bit complicated.
    First of all go to the MDM console and check your product category field in the main table (catalog items). Is key mapping set to "yes"?
    then go to the data manager and switch to the table containing the product categories in record mode. Right click on any entry and check the remote key data. Are remote keys available for your product categories. I assume that there are no remote keys available - this is the reason the system behaves as you describe it.
    Setting up remote keys for existing product categories AFAIK can only be done manually in Data Manager. Alternatively you can delete your hierarchy and create it once more, creating remote keys for every entry in the table. You can chose any remote system, it just has to be the same all the time.
    In import manager you have to clode the code field of your product category (basically the material group number) and assign it once to the product category in MDM and once to the remote key.
    Be sure to check your configuration in MDM Import Manager, the entry "Do not update record matching field value" needs to be set to no. Otherwise no remote keys are created.
    Now you can import your categories creating your hierarchy, as usual. The remote keys are created automatically.
    You should assign remote keys to all fields that should be matched in a similar way, UOM, currency etc.
    Hope you could follow this brief version.
    Best regards,
    Marcus

  • Passing sequence number to queue table

    Hi anyone,
    I am very new to the advance queue. Have a user_info table. I would like to pass the userid sequence to the queuence table up on insert or update on to the usere_info table.. Here is the step I did so far.
    create type user_id as object(userid number, login varchar2(100));
    execute dbms_aqadm.create_queue_table(queue_tale => 'user_fque_tab', queue_payload_type => 'user_id');
    execute dbms_aqadm.create_queue(queue_name => 'user_que', queue_table => 'user_que');
    execute dbms_aqadm.start_queue(queue_nama => 'user_que');
    Now I am trying to create the trigger on the user_info table to pass the next sequence id to the queue table but not sure what to do.
    so far I created on the trigger
    create or replace trigger user_infor_queue after insert on user_info
    for each row
    declare
    p_userid number;
    enqueue_options dbms_aq.enquue_options_t;
    message_properties dbms_aq.message_properties_t;
    login varchar2(100);
    v_message userdata.user_id;
    begin
    v_message:= userdata.user_id( p_userid =>new.id, login =>:new.login)
    Please help on the creating the trigger...
    thanks

    Hi Bob,
    In TestStand 3.0 and later you can pass the sequence context as a CAObjHandle in CVI. The easiest way to get an example of this is to create a blank sequence and insert an Action step. Right-click on the step and select specify module. On the module tab specify a name for the function. Next on the Source Code tab click Create Code... This will prompt you for a location and name for a project file and a c file. It will then create code for you that demonstrates how to pass the sequence context and use it.
    If you're using an older version of TestStand then the parameters you can pass are fixed. I would suggest looking at one of the shipping examples. The Register step in the following example demonstates how to pass the sequence context and use it: C:
    \Program Files\National Instruments\TestStand 3.1\Examples\Demo\C\cpu.seq
    (This path will be different depending on your version of TestStand.)
    I hope this helps!!
    Regards,
    Sarah Miracle
    National Instruments

  • Product Attributes and Set types Tables

    Hi,
    In which Table does the Product Attributes and Set types stores in CRM?
    Can anybody tell me?
    Thanks

    Hi,
    I am not able to get you can you explain it clearly by taking this example
    I have created the Product Called Monitor
    For that Monitor i have maintained the following attributes like
    Monitor Size like 15 or 17 or 21inchs
    Monitor Type like Flat or LCD Type
    I have created the Set type for that.
    I have assigned those things to Product.
    What are the tables are involved in this process can anybody help me out regarding this?
    Thanks

Maybe you are looking for