Possible Bug: Business Components and packaging preferences

I'm using JDev 11g TP2
When I set up package preferences for business components, it is completely ignoring the package I setup for the Entity object.
Example:
From the menu Tools>Preferences
Under the section Business Components>Packages.
I set the following:
Business Component: left blank - it uses the default [prefix].model
Entity: entity
Association: entity.association
View Object: view
View Link: view.links
the rest have been left at default settings.
Then I create a new diagram so I can add existing database tables to the application. I drag and drop the selected tables from the application resources to the diagram. It creates the entity objects in the [prefix].model package, not the [prefix].model.entity package like I was expecting. However the associations get created correctly in the [prefix].model.entity.association package.
Is this possibly a bug, or just a training issue for me?
Thanks

No worries Ric. Unfortunately I don't have access to your latest builds but I'll still raise the issues in case they are relevant.
Regards,
CM.

Similar Messages

  • Business Components and OAS 4.0.8

    I have several projects running in JDeveloper - one of them being a BC4J project, the others a mix of servlets and classes that make use of the BC4J project to interact with the database.
    I have successfully managed to deploy the Business components application to OAS, but I get stuck after that.
    How do I make use of this deployed BC4J application through a JServlet application?

    Hi,
    A colleague of mine mentioned that one may encounter problems deploying to OAS 4.0.8.
    I understand that OAS 4.0.8.1 has major bug fixes and may make deployment substantially easier. Having not attempted either, I cannot verify his statement.
    Hope you have success!
    G.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Subhadip:
    I have created an application using Oracle Business Components and Oracle InfoSwing controls. Now I want to deploy the Business Components as EJB to OAS 4.0.8 and want to run the front end as an Applet which will connect to those EJB Session beans stored in OAS. Please let me know if its possible or not and any document detailing how to do it. To be more specific:
    1) In the properties dialog for the Application Module, in the remote tab, there are options for Oracle8i EJB, CORBA and VISIBROKER, but nothing for OAS. So what to choose there?
    2) If I run Deployment Wizard on the Business Components project with OAS option (selecting nothing in the Remote Tab), it fails (says nothing to parse in the source JAR file)
    3) In the property pallette of the InfoProducer Session object, what to give in the remote proerties for OAS EJB.
    4) It seems that no manual code change is required if they are deployed in Oracle8i or VisiBroker whether they are deployed in Local or EJB or CORBA(the deployment wizard takes care of it). Is it same for OAS EJB deployment also?
    Please help. It's Very Very urgent.<HR></BLOCKQUOTE>
    null

  • Why ADF Business Components and TopLink

    Hi All,
    Why are there two types of components in Businses Tier? (ADF Business Components and TopLink). Even through there are other types, I can visualize the use of other components but ADF Business Components & TopLink seems to serve the same requirement.
    Can some one provide me information on what is the difference between these two and when to use which one?

    ADF Business Components (aka BC4J) are different from Toplink from approach point of view. Basically if you are more comfortable with SQL and want fine grain control over what and how SQL are run against the database, BC4J is the way to go, because, it's you who write the queries(in ViewObjects)
    If you are from more of java backgroup and can visualize things in term of Object and relationships among objects, so on and so forth then Toplink would be the right choice.
    Pls see the post by Shay in his blog:
    http://blogs.oracle.com/shay/2006/03/10
    regards - rutwik

  • Difference between business components and EJB

    hello guys, do anyone knows what is the core difference of using ADF Business components and EJB Session Beans ??

    this blog might help http://blog.whitehorses.nl/2012/03/26/adf-11g-bc4j-or-ejb3/
    Timo

  • BUG: Business Components using Datasources on Websphere - statement closed

    Hi,
    This is an unusual combinatation, we are deploying business components projects on websphere with a SQL Server database. This was originally deployed all to Oracle. We have managed to convert the project sucessfully (JDeveloper 10.1.3) and on Websphere, however when we moved our application module configurations (bc4j.xcfg) to use JNDI data sources which works in Jdeveloper, we are encountering problems using websphere with business components and datasources.
    The statement closed error occurs when trying to calling executequery() method on the view object, not the first time the JSP page is accessed, but the second time. Refresh page all is good. Access page again error occurs. Very consistent.
    Our code will often do applicationmodule.findViewObject("name"), if not found then create it, otherwise use the vo and kapow bombs out on the executequery method if reusing the view object.
    ERROR
    DSRA9110E: Statement is closed.oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.
    Statement: SELECT Groups.GROU_ID FROM GROUPS Groups WHERE (GROU_ID=1)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java(Compiled Code))
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java(Compiled Code))
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java(Compiled Code))
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java(Compiled Code))
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java(Inlined Compiled Code))
    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java(Inlined Compiled Code))
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java(Compiled Code))The datasource uses the connection pooling driver class com.microsoft.sqlserver.jdbc.SQLServerConnectionPoolDataSource.
    Ampooling is on. It appears the jdbc prepared statement is being closed but bc4j is expecting to still be open?
    Any ideas on diagnosing the issue or app module config changes greatly appreciated.
    Mark

    Hi Steve,
    This is not a composition association. Actually, this is an association from a table to an intersection (many-to-many) table. The code in my service is based on the SRDemo, see SRServiceImpl#updateSkillsForCurrentStaff(List) and is called on a save button from a shuttle page.
    The current master is the master I want it to belong to. The link to the master gets correctly saved in the database (just as in the SRDemo). We can also navigate from the master view row to the find the detail view row using the generated RowIterator. However, this does not work from the master entity row to the detail entity row. The problem is really at the entity level.
    Thanx
    Olivier

  • [BUG] Business Components refactoring fails (TP4)

    Hi,
    I tried to do some refactoring of Business Components without much success. Here's what I noted:
    - After renaming entities/view objects, names in the Application Navigator are not updated;
    - Moving associations/links to another package fails (the moved xml files are empty);
    Is refactoring supposed to work in TP4?
    Olivier

    Hi Steve
    Are you saying that the wizard allowed you to create an entity with the same EO name in the same package as one that already existed with that same name?
    Yes but i'm not sure that i didn't do some mismatch with packages because i have one for entities, one for views and one for application module. I have to check this before I confirm.
    I stay however with the idea that it would be nice that the list of available tables show that an entity already exists for that table and selecting it again will be a volountary action to create an another entity based on same table.

  • Possible Bug with Drag-and-Drop Being Published via HTML5 - Getting "Undefined" Error When Dragging Object

    Hello,
    I came up with a way to use drag-and-drop interactions that will take advantage of file input so that I may create a drag-and-drop interaction that uses one draggable object over and over allowing multiple scoring/tracking possibilities.  Example use...is having the draggable object be dynamic in that it randomly changes its text so that a learner can drag a term it's possible classification.........thus allowing the possibility of having many terms easily loaded without having to redo a drag-and-drop interaction for each needed terms/classifications updates/changes.
    My Issue: When using a variable to represent the text for a draggable Smart Shape object, I'm getting the error message "undefined" when, clicking/pressing on the object, as well as during the drag of the object. This issue occurs when publishing the project in an HTML5 format.  Flash interestingly enough seems to work perfect...but we are not interested in publishing via Flash any longer.
    To better help you explore this error message, I've set up a test project so that you can see when and how the "undefined" message shows up during a drag-and-drop interaction.  I've also included the Captivate 8 project file used to make the exploration project I'm sharing in this post.
    Link to Captivate project I created for you all to explore "undefined" error message": http://iti.cscc.edu/drag_and_drop_bug/
    Link to this Captivate 8 Project file: http://iti.cscc.edu/drag_and_drop_bug.cptx
    It's pretty interesting how things react in this demo, please try the following actions to see some interesting happenings:
    Drag the Yellow (or variable drag box) to the drag target.
    Drag Black Hello square to Drag target and click undo or reset - watch the undefined message come up on the Yellow (or variable drag box).
    Drag the Yellow (or variable drag box) to the drag target and then use the undo or reset.
    Move both draggable boxes to the drag target and use the undo and reset buttons...
    Anyhow, I know you all are sharp and will run the demo through its paces.
    I'd really be very honored if anyone help me figure out how I could (when publishing out to HTML5) no longer have the "undefined" error message show up when using drag-and-drop with a variable for shape text. This technique has been well received at the college I work at...and I have many future project requests for using such an idea on a variety of similar interactions. I'd love see a solution or see if this might be a bug Adobe may be able to fix!
    I tried to find a solution to the issue documented here for quite some time, but I was not able to find anyone with this problem much less attempting the idea I'm sharing in the help request -  save the darn "undefined" message that comes up!
    Many thanks in advance for any help and/or direction that you all may be able to provide,
    Paul

    Hello,
    I just wanted to supply a minor update related to my drag-and-drop question/issue stated above:
    I did another test using Captivate 7, and found that the undefined error (publishing as HTML5) does not appear and the variable data remains visible - except the variable data turns very small and does not honor any font size related settings.
    I did go ahead and submit this to Adobe as a possible bug today.
    Thanks again for any help related to this issue.  If the issued documented above is solved, it will allow many amazing things to be done using Captivate's drag-and-drop for both regular type projects as well as interaction development for iBooks! 
    Matter of fact if this issue gets fixed, I'll publish a Blog entry (or video) on way's I've used Captivate's drag-and-drop to create dynamic learning activities for Higher Ed. and for use in iBooks.
    ~ Paul

  • Building Cascading Lists for Query with ADF Business components and JSP

    I build “Cascading Lists for Query Screens with ADF Business Components”. When I to select master list first – Ok, but when I to select master list second returned error : JBO – 25013 : Too many objects match the primary key oracle.jbo.key[CN]. CN dependences with key to detail list (Countries in this case). Please help me.
    Excuse me for my English.
    Andrew.

    You would have a better chance, that someone answers your question, if you choose the right forum:
    JDeveloper and ADF

  • ADF business components and scalability ?

    Hello,
    I am new to the ADF Framework, I come from an open source background.
    I have a limitation to use Oracle technologies for an internet banking design.
    My concern is the large number of users accessing the system and how we scale up through clustering.
    Do you recommend ADF business components for this application, can ADF be simple POJOs handlers or EJB 3.0 session facades ? if that is the case, would you recommend EJB 3.0 for clustering and scalability for an internet banking system.
    Any guidance is appreciated.
    Thanks.

    Thanks for the reply, I will read the document, however,
    If I try to compare ADF to other frameworks, creating BCms as POJOs would take advantage of the Apache clustering(web tier, same as Tomcat clustering in Jboss), there is no need for OC4J services of the 10gAS, on the other hand, if I go with EJB3 stateless session beans BCms then i would need 10g OC4J container and its clustering capability(AS clustering).
    Your time is appreciated and please respond only if you time, i will go through the doc.

  • Intermittent bug: Business Components from Tables wizard exception

    Hi JDev team
    Just to flag an exception I periodically get in JDev 11g TP with the Business Components from Tables wizard, once I've pressed Finish in the wizard:
    java.lang.NullPointerException
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createRelatedViewLinks(PKEntityThread.java:1085)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createTableViews(PKEntityThread.java:966)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createObjects(PKEntityThread.java:424)
         at oracle.jbo.dt.jdevx.ui.pkg.XPKComponentWizardEntityThread.createObjects(XPKComponentWizard.java:454)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.run(PKEntityThread.java:396)It is raised when the dialog displays showing the work JDev is doing after completing the wizard to create my business components.
    I'm not able to consistently reproduce this issue, though I've encountered it several times. Don't quote me, but it appears to happen the first time I use the wizard in a new JDev session, but is not reproducible again in the same session. However it doesn't always happen when I restart JDev and I'm sorry I can't be more precise.
    Hopefully the exception trace will give you enough information to track this issue down.
    Regards,
    CM.

    Hi Ric
    Unfortunately not really, it's a basic schema we use to test new software. One unusual thing is a hierarchical fk on the same table. But as I said the exception doesn't always occur, but annoyingly does seem to occur when I'm demoing the 11g TP version to clients. I was just hoping the stack trace would help out.
    I'll keep an eye on it and if I can work out why it's occurring I'll update this post.
    Thanks for following this up.
    Cheers,
    CM.

  • Business Components and Database Views - Trouble Creating

    I am trying to create a business component that contains a View that I created in my database. When I get to the fnnal step of creating the business component and it begins to generate the XML and Java code, it bombs out and says that the view object does not support ROWID. I just need to select only GridControl of this view.
    Any suggestions/help would be appreciated. I could not find any info in the JDeveloper help.
    null

    Some options:
    [list]
    [*]Create the entity using the Entity Wizard instead of reverse engineering it from a table. In the entity wizard you can specify the table/view name, then indicate which attribute should function as the primary key.
    [*]Don't bother creating an entity object for this view. You can just create a view object with an "expert mode" query that selects against your database view. It does not need an entity object. Note, however, that without an associated entity you won't get "uniquing" of entity level values, so if another view object being used by the same use changes the data that this grid is showing, the updates won't be automatically synchronized if you go this route.
    [list]

  • Possible Bug in Telnet and Mail?

    A few months ago I got an iMac and put it on my all-Linux LAN. For the most part, everything worked fine, but there were times, and now I think it's always been for a while after I rebooted my iMac, that I could not get email from the local POP3 server. When this happened, I'd try "telnet localpop 110" and I'd get this error message:
    Trying 0.0.0.0...
    telnet: connect to address 0.0.0.0: Connection refused
    telnet: Unable to connect to remote host
    It would eventually resolve itself and keep working. Since I tend not to reboot, it hasn't been a big issue, but it is a pain in the rear when it happens.
    Now I'm no longer using the local POP3 server and I get all my email for my domain from the mail server at my hosting company. Today I rebooted my iMac and now I can't get email from my POP3 server. When I saw that, I decided to test it out and tried:
    hal@imac:> telnet mail.mydomain.com 110
    Trying 0.0.0.0...
    telnet: connect to address 0.0.0.0: Connection refused
    telnet: Unable to connect to remote host
    hal@imac:> host mail.mydomain.com
    mail.mydomain.com is an alias for thresholddigital.com.
    mydomain.com has address xxx.xxx.xxx.xxx
    mydomain.com mail is handled by 10 mydomain.com.
    Notice when I use the host command, it finds the domain IP address (blocked here for my sanity), but telnet from the terminal cannot get the address and returns 0.0.0.0.
    I've seen this happen before. In a few hours it'll settle out and both Mail and telnet will be able to connect. But in the meanwhile, and staring a few hours after almost every reboot, I have to deal with this.
    Does Mail use telnet to access the mail servers? Why is there always this window when telnet cannot get an IP address that host (and ping) can? Is there some bug in telnet, or Mail or the OS?
    Any ideas on what is wrong here?
    Thank you!

    .. I see this same odd
    last output on many other systems running various
    versions of S9 and patchsets so I suspect that there
    is a bug in Sun's OpenSSH sshd, possibly dating
    to the initial inclusion of this package in Solaris 9.More information has turned up as I widened my search. On a system with Solaris 9 4/03 patched
    on 2004-08-09 (that's August, not September), my last(1) output is what I would normally expect:
    (drl@transit)10% uname -a
    SunOS transit 5.9 Generic_117171-07 sun4u sparc SUNW,UltraAX-i2
    (drl@transit)11% last -10 drl
    drl pts/1 jekyll.vuse.vand Mon Sep 13 16:25 still logged in
    drl pts/1 jekyll.vuse.vand Mon Sep 13 16:23 - 16:24 (00:01)
    drl pts/1 jekyll.vuse.vand Mon Sep 13 15:50 - 15:50 (00:00)
    drl pts/1 jekyll.vuse.vand Mon Sep 13 15:46 - 15:50 (00:03)
    drl pts/1 jekyll.vuse.vand Sun Aug 22 15:50 - 20:20 (04:30)
    drl pts/1 jekyll.vuse.vand Sat Aug 21 18:10 - 19:09 (00:59)
    drl pts/1 jekyll.vuse.vand Mon Aug 16 10:23 - 17:52 (07:28)
    drl pts/1 jekyll.vuse.vand Fri Aug 13 09:48 - 16:30 (06:41)
    drl pts/1 jekyll.vuse.vand Mon Aug 9 19:42 - 19:44 (00:02)
    drl pts/1 jekyll.vuse.vand Mon Aug 9 18:06 - 19:32 (01:26)
    Installation of the 2004-09-09 (that September, not August) 9_Recommended patchset causes
    this host to exhibit the same broken behavior as the more recently installed or patched hosts I
    first reported.
    Conclusion: this breakage comes from a patch introduced to the 9_Recommended set after 2004-08-09.
    Casual examination of the (3) differences between the 040909 and 040910 9_Recommended patchsets
    does not suggest that this has already been fixed.
    If it matters, I am a contract customer so I am using patchsets from the contract side of SunSolve.

  • Possible bug with TREAT and EXECUTE IMMEDIATE

    Hello, i experienced a strange behavior which seems to be a bug.
    Consider following definitions:
    CREATE OR REPLACE TYPE T_Base FORCE AS OBJECT (
      DummyProperty NUMBER
    ) NOT FINAL;
    CREATE OR REPLACE TYPE T_Child UNDER T_Base (
      AnotherDummyProperty  NUMBER
    CREATE OR REPLACE FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER IS
    BEGIN
      -- some specific validation is done here, not important for the example
      RETURN NULL;
    END;
    CREATE OR REPLACE PROCEDURE ValidateIt (iValue T_Child) IS
      lResult NUMBER;
    BEGIN
      -- The principle used here is that each client can have its own implementation of validation function, and when it does not exist, we do not care.
      -- In reality we put functions and procedures into packages, I narrowed it to a minimal working example.
      BEGIN
        EXECUTE IMMEDIATE 'BEGIN :lResult := SpecificValidation(:iValue); END;'
          USING OUT lResult, IN iValue;
      EXCEPTION WHEN OTHERS THEN
        IF INSTR(SQLERRM, 'PLS-00201') = 0 THEN
          RAISE;
        END IF;
      END;
    END;
    CREATE OR REPLACE PROCEDURE Process (iValue T_Base) IS
    BEGIN
      -- in fact we know that iValue must be of typ T_Child, it is checked using IS OF ( ) operator and exception is raised if this check fails
      -- This does not work for some reason.
      -- It fails in EXECUTE IMMEDIATE with PLS-00306. I don't really get why, because ValidateIt accepts a value of type T_Child and it passes it to the validation procedure, which also expects value of type T_Child.
      ValidateIt(TREAT(iValue AS T_Child));
    END;
    CREATE OR REPLACE PROCEDURE Process2 (iValue T_Base) IS
      lChild  T_Child;
    BEGIN
      -- The only difference here is that result of TREAT is saved to a variable.
      -- This works as expected.
      lChild := TREAT(iValue AS T_Child);
      ValidateIt(lChild);
    END;
    In reality it is much more complex, I narrowed it to a minimal working example.
    Now when running this:
    DECLARE
      lItem T_Base := T_Child(5, 2);
    BEGIN
      BEGIN
        -- This call will end up with PLS-00306 error.
        Process(lItem);
        dbms_output.put_line('Process completed successfully.');
      EXCEPTION WHEN OTHERS THEN
        dbms_output.put_line('Exception when calling Process.');
        dbms_output.put_line(SQLERRM);
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE);
      END;
      BEGIN
        Process2(lItem);
        dbms_output.put_line('Process2 completed successfully.');
      EXCEPTION WHEN OTHERS THEN
        dbms_output.put_line('Exception when calling Process2.');
        dbms_output.put_line(SQLERRM);
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE);
      END;
    END;
    then call to Process fails with PLS-00306 on EXECUTE IMMEDIATE.
    The only difference between Process and Process2 is that in Process2, result of TREAT is saved to a variable of type T_Child.
    Is this behavior documented somwhere or is it a bug?

    That's interesting. I would say it is, or should be, a bug.
    Also interesting is, when I re-write your example to eliminate dynamic SQL and instead rely on dynamic method dispatch, the problem goes away... first, the changes:
    drop type T_Child;
    drop type T_Base
    CREATE OR REPLACE TYPE T_Base FORCE AS OBJECT ( 
      DummyProperty NUMBER 
    ) NOT FINAL
    CREATE OR REPLACE TYPE T_Child UNDER T_Base ( 
      AnotherDummyProperty  NUMBER 
    create or replace type T_Base_Processor as object (
      dummyProperty    number
    , static FUNCTION GetClientProcessor(iClientId varchar2) RETURN T_Base_Processor
    , member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER
    , member PROCEDURE ValidateIt (iValue T_Child)
    , member PROCEDURE Process (iValue T_Base)
    , member PROCEDURE Process2 (iValue T_Base)
    ) NOT FINAL
    create or replace type T_Another_Processor under T_Base_Processor (
      overriding member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER
    create or replace type body T_Base_Processor
    is
      static FUNCTION GetClientProcessor(iClientId varchar2) RETURN T_Base_Processor IS
    BEGIN
      return    case
            when upper(iClientId) = 'ADMINISTRATOR' then
                new T_Another_Processor(null)
            else
                new T_Base_Processor(null)
            end;
    END;
      member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER IS 
    BEGIN 
      -- some specific validation is done here, not important for the example 
      dbms_output.put_line('T_Base_Processor.SpecificValidation');
      RETURN NULL; 
    END; 
      member PROCEDURE ValidateIt (iValue T_Child) IS 
      lResult NUMBER; 
    BEGIN 
      -- No more need for dynamic SQL, instead rely on dynamic dispatch
      lResult := SpecificValidation(iValue);
    END; 
      member PROCEDURE Process (iValue T_Base) IS 
    BEGIN 
      -- in fact we know that iValue must be of typ T_Child, it is checked using IS OF ( ) operator and exception is raised if this check fails 
      -- This does not work for some reason. 
      -- It fails in EXECUTE IMMEDIATE with PLS-00306. I don't really get why, because ValidateIt accepts a value of type T_Child and it passes it to the validation procedure, which also expects value of type T_Child. 
      ValidateIt(TREAT(iValue AS T_Child)); 
    END; 
      member PROCEDURE Process2 (iValue T_Base) IS 
      lChild  T_Child; 
    BEGIN 
      -- The only difference here is that result of TREAT is saved to a variable. 
      -- This works as expected. 
      lChild := TREAT(iValue AS T_Child); 
      ValidateIt(lChild); 
    END;
    end;
    create or replace type body T_Another_Processor
    is
      overriding member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER
    is
    begin
      -- some other specific validation is done here, not important for the example 
      -- You could even call the overridden method as well using
      --   treat(self as T_Base_Processor).SpecificValidation(iValue)
      dbms_output.put_line('T_Another_Processor.SpecificValidation');
      RETURN NULL; 
    end;
    end;
    And again with slight modifications, your test block:
    DECLARE 
      lProcessor T_Base_Processor := T_Base_Processor.getClientProcessor('JOE');
      lItem T_Base := T_Child(5, 2); 
    BEGIN 
      BEGIN 
        -- This call no longer throws a PLS-00306 error. 
        lProcessor.Process(lItem); 
        dbms_output.put_line('Process completed successfully.'); 
      EXCEPTION WHEN OTHERS THEN 
        dbms_output.put_line('Exception when calling Process.'); 
        dbms_output.put_line(SQLERRM); 
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE); 
      END; 
      -- Demonstrate dynamic dispatch by choosing a different processor
      lProcessor := T_Base_Processor.getClientProcessor('ADMINISTRATOR');
      BEGIN 
        lProcessor.Process2(lItem); 
        dbms_output.put_line('Process2 completed successfully.'); 
      EXCEPTION WHEN OTHERS THEN 
        dbms_output.put_line('Exception when calling Process2.'); 
        dbms_output.put_line(SQLERRM); 
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE); 
      END; 
    END; 
    T_Base_Processor.SpecificValidation
    Process completed successfully.
    T_Another_Processor.SpecificValidation
    Process2 completed successfully.
    Gerard

  • 1.5.3, 3 possible bugs, incorrect information and patchy functionality

    on windows XP SQL Dev 1.5.3
    1.) From the tree structure, I filter Other Users, then open another users views folder. Click on the view that I want to see information for, and instead of the 7 columns that the view is actually composed of, it lists it's 7 columns 3 times for a total of 21 columns.
    2.) When trying to edit a procedure I've noticed that there is typically a +/- sign to expand and collapse loops and begin/end structures. It seems like it's hit or miss whether or not you get this functionality to work.
    3.) I issued the following select and got unexpected results
    select col1, col2, col3, table1.*
    from table1;
    this should return col1, col2, col3, col1, col2, col3, col4, col5, etc... with the values from col1 - col3 being the same in each row, well on several rows I noticed the values didn't match.
    I'm beginning to get very wary of using SQL Developer to do anything other than just query data. I'm sort of afraid to use to actually make any changes within the database for fear of incorrect DDL being issued back to the database and corrupting something.

    Firstly, have you had a chance to test the problems on 1.5.4? The new release has certainly included some bug fixes.
    As for your issues:
    1) Which DB version are you connecting to? Do you get 7 or 21 columns listed if you just expand the view node instead of opening the view object tab?
    I am on 1.5.4 (connecting to 10.2.0.3) and only get each column once when opening the view object tab for a view owned by another schema. Tracing SQL Developer it is using the following query to get the columns:
    select c.column_name,
             decode(data_type,'CHAR'    ,data_type||'('||c.data_length||')',
                              'VARCHAR' ,data_type||'('||c.data_length||')',
                              'VARCHAR2',data_type||'('||c.data_length||')'    ,
                              'NCHAR'   ,data_type||'('||c.data_length||')'    ,
                      'NUMBER'  ,decode(c.data_precision,null,'NUMBER', data_type||'('||c.data_precision||','||c.data_SCALE||')'),
                      'NVARCHAR'  ,data_type||'('||c.data_length||')'    ,
                              'NVARCHAR2' ,data_type||'('||c.data_length||')'    ,
                              data_type) data_type,
                decode(nullable,'Y','Yes','No') nullable,
                c.DATA_DEFAULT,
                column_id,
                com.comments,
                            c_update.insertable,
                c_update.updatable,
                c_update.deletable
          from sys.all_tab_Columns c,
               sys.all_col_comments com,
               sys.all_updatable_columns c_update
          where c.owner      = :OBJECT_OWNER
          and   c.table_name =  :OBJECT_NAME
          and   c.table_name = com.table_name
          and   c.owner = com.owner
          and   c.column_name = com.column_name
          and c_update.column_name = com.column_name
          and c_update.table_name = com.table_name
          and c_update.owner = com.owner 2) I tried the same thing (once again on 1.5.4, but have not noticed this on 1.5.3 previously), although my package didn't have for loops, but did have standard loops and while loops. There was a very slight delay before the expand/collapse options appeared, but they appeared both times after the same short delay. With very large package bodies there can be a much more noticeable delay, but from the size of your scroll bar in your screen shots, it looks as though my test package which only had a slight delay is already longer than yours.
    3) I wasn't able to reproduce this either
    theFurryOne

  • Business Components and oracle.jbo.domain.Date

    Hello I have the next problem I have a Busines Component and I have to acess to rows who have Dates and with oracle.jbo.domain.Date I can4t acess to the day, month, year .
    Can anyone Help me how can I do to access this dates?
    Thanks a lot your your help.

    Hi,
    This is the trilogy problem:
    oracle.jbo.domain.Date
    oracle.sql.DATE
    java.util.Date
    The question is how to translate from one object type to another.
    You can use the following:
    oracle.jbo.domain.Date tmpDate = null;
    SimpleDateFormat tmpLocalFormat = new SimpleDateFormat();
    SimpleDateFormat tmpLocalFormat2 = new SimpleDateFormat();
    // Obtenir la date du sommaire
    tmpDate = (oracle.jbo.domain.Date) session.getValue("DateElem");
    // Initialisation des objets de formatage de date
    tmpLocalFormat.applyPattern("yyyy-MM-dd");
    tmpLocalFormat2.applyPattern("dd-MM-yyyy");
    // Conversion du format de date yyyy-MM-dd => dd-MM-yyyy
    tmpWhereClause = new String(tmpLocalFormat2.format(tmpLocalFormat.parse(tmpDate.toString())));
    // Ajouter ` la clause "Where" la contrainte de la date
    tmpWhereClause = "DrqSommaireInitial.DATE_SOMMAIRE = TO_DATE('" + tmpWhereClause + "', 'DD-MM-YYYY')";
    Take a look also to class calendar...
    null

Maybe you are looking for