Generated Code Problem?

So now, when I try to create an instance of my bean
Context art3ic = new InitialContext(env);
PersonHome pHome = (PersonHome) art3ic.lookup("Person");
Person pRemote = pHome.create(); <---- Exception
I get an exception saying I'm trying to find a primary key inside a create call. This is not the case:
public String ejbCreate() {
return null;
So I'm guessing the generated code has placed a getPrimaryKey call there?
Any comments or advice?
Exception in thread "main" java.lang.IllegalStateException: Can not call getPrimaryKey() inside ejbCreate(...) methods, the entity does not have an identity yet, see the EJB 2.0 specification chapter 10.5.4
     at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1558)
     at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1511)
     at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
     at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
     at __Proxy1.create(Unknown Source)
     at com.art3.UnitTesting.PersonTest.<init>(PersonTest.java:37)
     at com.art3.UnitTesting.PersonTest.main(PersonTest.java:52)

Yup, it's a bug. I read the generated code. So is there a bug/problem/issue report on this within Oracle? If so what's the status? When are we slated to see a fix? Quite a few people have run into this (turns out this subject was already under discussion - silly me not to search first).

Similar Messages

  • Prime number generator code, problems

    hi, im having problems making a program to generate the prime numbers from 1 to 100. any help appreciated. here is the code i did so far.
    public class primeNumbers {
    public static void main(String args[]) {
         for(x=1;x<101;x++)
              prime=1;
              if (prime/prime==1) prime++;
              else System.out.println(" ");
              System.out.println(" prime is " + prime);
    }

    {color:red}CROSS POSTED{color}
    [http://forum.java.sun.com/thread.jspa?threadID=5299159]
    Cross posting is rude.
    db

  • Problem of Microsoft authentication apps to generate code.

     Hi,
    Morning to all.
    Please Can someone tells me why and how to use the Microsoft Authentication apps to generate codes to my phone and PC. Thank you all.

    I've got an presumption for the URLCallback problem.
    The client trying to connect to the server was compiled with java version 6 and the server runs with java version 5.
    Can this be the error?!?

  • Auto generated code in makefile

    For our product we have a TCL script that reads a series of text files and generates C++ classes for easy access to database records. Our code has been in use for make years and works very well. We have always used a solaris command prompt dmake to compile, which first generates the C++ files then complies them. It uses a series of enviroment variables which a user must set before compilation.
    I recently tried to create a Sun Studio Express based on NetBeans 6.5.rc1 project from a make file. This has worked for every other makefile except for this one. The others do not have any auto generated code.
    To run sun studio I in a command prompt source in the environments then run netbeans. Then I choose to build the product but I get an error. I then try to copy the command it is running into telnet window and it works fine. Does anyone have an idea on why in the sun studio I get and error while the telnet window works fine.

    I think the problem is that the SunStudio IDE runs the build command in a wrong directory.
    Can you verify that the working directory is correct?
    (it is in project properties: Build > Make)
    Also you can find this directory in the message in the output, when you try to build the project.
    That's the message, that you copied to the terminal window.
    Thanks,
    Nik

  • How to use generated code from "Import Web Services" with Cairngorm Framework

    I recently downloaded Flex Builder 3 beta 2 and tried out the
    wizard that lets you import web services. The code that is
    auto-generated makes if fairly straight forward to consume web
    services using the object types defined in the WSDL. No longer does
    the developer need to decode the XML payload! The only problem I am
    having is how does you integrate the auto- generated code with the
    Cairngorm framework? This seems like a huge question for anyone who
    might want to leverage Cairngorm and the auto-generated proxy code
    in the same project (like me).
    Here are the problems that I see so far.
    1) How do you configure the generated service class to work
    with the Cairngorm service locator? The service constructor only
    accepts a “LCDS destination string” which implies that
    you must use Lifecycle data services. Unfortunately, the project I
    am trying to retrofit currently uses a WebService and does not use
    data services. All I really need to do is change the endpoint URL
    (ie from local to a development server). This issue is noted in the
    bug https://bugs.adobe.com/jira/browse/FB-8456. What I think is
    needed is a way to set the endpointURI in the Services.mxml file.
    2) Even if I come up with a hack around #1, I do not receive
    a callback to my IResponder even though I register it immediately
    after the method call. I can register and listener function within
    my business delegate and receive the callback, but my Command
    object, which implements IResponder, does not receive the call back
    even though it is registered. From what I read in the ASDocs it
    should but it doesn’t for me!
    These are the issues I have observed in 3 hours of messing
    with this. I hope this makes sense. I would love to integrate
    auto-generated web service proxies into Cairngorm but I don’t
    see a straight forward way without re-architecting Cairngorm. Has
    any one else run across this issue? If so, do you have any insights
    on how to proceed? Any help is appreciated.

    Since I posted this question, I have abandoned the notion of
    auto-generated web services and embraced the good old FDS concept
    where the RemoteObject meta-tag does all the conversion work for
    me. We are now using the Granite DS package and it is working well
    for us. I would love to consume web services, but it just isn't
    worth the hassle when all you have to do with Granite (and FDS) is
    cast your return objects to the proper object type.
    BTW, since this posting, I have investigated competing Flex
    app frameworks. After my research, I checked out the PureMVC
    framework. Wow!! Cairngorm always left me with an uneasy feeling
    and I guess I am not alone. Apparently, Cliff Hall felt the same
    way. That is why he started the project. I like his approach alot
    more than Cairngorm especially since it includes notifications
    which allow me to broadcast my own app level events independent
    from the AS Event framework. Check out PureMVC. For what it is
    worth, it has my humble endorsement. Cliff was even gracious enough
    to acknowledge the other Adobe Consulting guys for their work. Good
    for you Cliff, I respect that. Check out a better way at
    http://www.puremvc.org/

  • NoSuchMethodError in findMethodInfo(__methodSig) in ejbc generated code

    Hi All,
    Happy new year!
    Does anyone know when weblogic.ejbc calls "findMethodInfo(__methodSig)" in its
    generated "*HomeImpl.java" classes?
    This is causing my code to end in a NoSuchMethodError exception.
    The generated code for the included beanManaged.AccountHome does not include this
    call, while the code generated for my code does.
    Can anyone tell me why?
    Anyone from the Weblogic people?
    Thanks,
    Boogie

    boogie wrote:
    Rob Woollen <[email protected]> wrote:
    boogie wrote:
    Thanks for the reply, Rob.
    So the "findMethodInfo()" is caused by the presence of multiple interfacesat
    compile time.It's probably caused because ejbc generates code for version 1 of your
    interface
    but you then deploy a jar that loads version 2 of your interface.
    <boogie>
    i'm using the same interface. however, at compile time, the interface is both
    on the classpath (since i've just compiled it) and in the pre-ejbc jar file (which
    i'm passing to weblogic.ejbc).If it's in the classpath and in the ejb.jar, then ejbc finds the version in the classpath and
    generates code against it.
    from what you've said, i gather this is why ejbc
    puts in a "findMethodInfo()" call in the --HomeImpl.java files that it generates.
    </boogie>
    <boogie>
    SCENARIO 1: I use my build script.
    condition: the home interface is found and compiled, the EJB classes placed in
    a temporary jar file, then passed to EJBC (with -keepgenerated flag)
    output: the generated MyBeanHomeImpl.java calls "findMethodInfo()" and i get NoSuchMethodError
    exception at runtime
    If the version in the classpath and the version in the jar file were exactly the same, then ejbc
    would run fine. It fails when they are different. ejbc is generating code for a method that
    appears in the version that it is loading.
    -- Rob
    >
    SCENARIO 2: I manually build.
    condition: i jar the files manually, pass the jar to weblogic.ejbc (with -keepgenerated)
    without specifying a classpath; the current classpath doesn't include the compiled
    home interface;
    output: the generated MyBeanHomeImpl.java doesn't call "findMethodInfo()", code
    runs as expected
    SO, i need to build with scenario 1 AND still make it run at runtime. i don't
    have multiple copies of the EJB classes/interfaces at deployed or in the classpath
    runtime, but i keep getting the NoSuchMethodError exception because of the "findMethodInfo()"
    call that weblogic.ejbc insists on making. what can I do to solve this problem?
    thanks!
    really appreciate the help!
    </boogie>
    -- Rob
    Rob Woollen <[email protected]> wrote:
    There's some sort of mis-match between the interfaces that ejbc is
    finding
    (and
    generating code for) and the interfaces being deployed.
    I would check your classpath and remove all occurrences of the homeinterface
    class. It should only be in the jar file. Then re-run weblogic.ejbc
    -- Rob
    Boogie wrote:
    Hi All,
    Happy new year!
    Does anyone know when weblogic.ejbc calls "findMethodInfo(__methodSig)"in its
    generated "*HomeImpl.java" classes?
    This is causing my code to end in a NoSuchMethodError exception.
    The generated code for the included beanManaged.AccountHome does
    not
    include this
    call, while the code generated for my code does.
    Can anyone tell me why?
    Anyone from the Weblogic people?
    Thanks,
    Boogie

  • Error In CMP Generated Code

    I have a CMP 2.0 local entity bean, and when I try to create one from a session bean, I get this:
    java.lang.IllegalStateException: Can not call getPrimaryKey() inside ejbCreate(...) methods, the entity does not have an identity yet, see the EJB 2.0 specification chapter 10.5.4
         at com.evermind.server.ejb.EJBUtils.throwGetPrimaryKeyInEJBCreateException(EJBUtils.java:963)
         at WebLine_EntityBeanWrapper2.getPrimaryKey(WebLine_EntityBeanWrapper2.java:2595)
         at WebLineHome_EntityHomeWrapper16.create(WebLineHome_EntityHomeWrapper16.java:497)In other words, the generated code for the home's create method is calling getPrimaryKey on the generated code for the entity, and this is failing because even the container can't call getPrimaryKey at that time. It doesn't seem to matter what's in my ejbCreate method, unless it throws an exception (which prevents this problem, of course). Looks like a problem with the generated code to me.

    Thanks for that tip. Looking at the generated code, I see:
              boolean imIt = false;
              try
                while(!imIt)
                  if(com.evermind.server.ApplicationServer.DEBUG) debug("In while(!imIt)\n");
                  WebLine_EntityBeanWrapper2 other;
                  other = (WebLine_EntityBeanWrapper2)getWrapperInstance(response.getPrimaryKey(), 90000l, false);That last line is where the error happens (line 520 in the stack trace above). It seems like getPrimaryKey is being called intentionally, to see if the entity is already in the cache or something? Anyway, the generated code for the instance call is:
      public Object getPrimaryKey()
        if(this.primaryKey == null) com.evermind.server.ejb.EJBUtils.throwGetPrimaryKeyInEJBCreateException();
        return this.primaryKey;
      }So that seems reasonable, I suppose. The question is, what is causing the instance to have no PK when the home thinks the PK should be there? I've tried a lot of variants of my code, with no improvement, but I could still be doing something wrong. Also, it only seems to be happening with one bean...

  • How to generate code in Sun Java Studio Enterprise 8

    Do I miss something? I can�t find how to generate code from UML model, which is not reversed from code. Documentation also does not speak about this.
    Code update works fine if project is reversed from code, but if in such reversed model I create new class it does not appear in code and context action "Generate Code" is missing for such class.
    I use Sun Java Studio Enterprise 8

    Thank you for replay, may steps are same:
    1. I have created Java Project With Existing Source
    2. selected directory with code (not whole project but directory with java classes)
    3. After that I have created UML Java Specific project and
    4. Associated UML project with previous created java project
    5. I have selected "Code Generation" check box
    6. Classes from java project were reversed into UML model.
    7. After that I have created new class in java project.
    And there is no Generate code action in this class context menu, also this class do not appeared in code automatically.
    From UML project properties it is shown that UML project is associated with proper java project)
    Same is with Java Application project associated with UML java project.
    Documentation do not talks more about this. Only same steps. It looks like code generation should be working but it isn't. I'm I only one who face this problem, or do smth wrong?

  • In wadl2java-generated code, NullPointerException from HttpTransportPipe

    I wrote a WADL document and used JAXB schemagen to create an XSD for my Jersey RESTful web-service, and referenced that XSD in that WADL document.
    Then, I used wadl2java to generate client-code for my service.
    However, then, I had numerous jar-dependency problems while trying to run that generated code. Perhaps I got myself into some trouble by choosing the wrong jar-file in one case or another. I thought it was odd that one of the missing class-files was SOAPException. Another one is part of FastInfoSet. And one of the problems seemed to require adding a JSR-related jar provided by BEA.
    I managed to find some possibly relevant source-code. However, it seems to simply indicate no need for an outputStream for a GET-request, which makes lots of sense:
    From HttpClientTransport:
    118:            public OutputStream getOutput() {
    119:                try {
    120:                    createHttpConnection();
    121:                    sendCookieAsNeeded();
    122:                    // for "GET" request no need to get outputStream
    123:                    if (requiresOutputStream()) {At this point, I'm not able to use wadl2java, thanks to this failure to get this generated client-code running. I'd like to avoid writing custom client-code instead. I'd sooner revert to SOAP and wsdl2java.
    Any help with this would be much appreciated.
    Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.NullPointerException
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:157)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:74)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
         at com.sun.xml.ws.client.Stub.process(Stub.java:228)
         at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:167)
         at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:193)
         at com.sun.research.ws.wadl.util.JAXBDispatcher.doGET(JAXBDispatcher.java:92)
         at com.foo.bar.restapi.client.Endpoint$Product.getAsProduct(Endpoint.java:66)
         at com.foo.bar.restapi.client.Test.main(Test.java:9)
    Caused by: java.lang.NullPointerException
         at java.io.Writer.<init>(Unknown Source)
         at java.io.OutputStreamWriter.<init>(Unknown Source)
         at com.bea.xml.stream.XMLOutputFactoryBase.createXMLStreamWriter(XMLOutputFactoryBase.java:45)
         at com.sun.xml.ws.api.streaming.XMLStreamWriterFactory$Default.doCreate(XMLStreamWriterFactory.java:204)
         at com.sun.xml.ws.api.streaming.XMLStreamWriterFactory$Default.doCreate(XMLStreamWriterFactory.java:199)
         at com.sun.xml.ws.api.streaming.XMLStreamWriterFactory.create(XMLStreamWriterFactory.java:152)
         at com.sun.xml.ws.encoding.xml.XMLCodec.encode(XMLCodec.java:35)
         at com.sun.xml.ws.encoding.MimeCodec.encode(MimeCodec.java:64)
         at com.sun.xml.ws.encoding.XMLHTTPBindingCodec.encode(XMLHTTPBindingCodec.java:173)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:128)
         ... 11 more

    Thanks, that solved that problem.
    Then, however, I had a couple of other problems, having to do with namespace declarations. I've apparently fixed them.
    The one remaining problem is that the generated code seems to treat a certain template parameter as if it were a header-parameter. The WADL-file definitely uses style="template" for that parameter.
    I temporarily manually patched the generated EndPoint class to get it working.
    The effect of this problem was that the result was in the form of the HTML-message returned by Apache when a resource cannot be found. That was because that template parameter was missing and was being passed instead in a header.
    Perhaps I'll investigate this further at some point. However, "time's a wastin'", and reverting to SOAP is now quite likely.
    Thanks.

  • Can't generate code from class diagram

    I have installed Studio Enterprise 8. I tried to create a class, but when I right-clicked on a class, there was no "Generate Code" on the contextual menu.
    I've tried the Help guide as pasted below. Would appreciate anybody's help. Thanks.
    To generate code:
    In the Projects window or in a diagram, right-click the element or elements for which you want to generate code.
    In the Projects window, this code generation function is supported for entire UML projects and for individual diagram elements.
    On the contextual menu, choose Generate Code. The IDE generates source code for all of the target items and displays the code in the Source Editor.

    Thanks, but I still have problem.
    File / New Project
    UML / Java Platform Model
    Name: UMLTest Location: D:\UML Unchecked Generate Code
    The UMLTest Project appears in the Project Window
    --- So far so good
    File / New Project
    General / Java Application
    --- There is no General category
    Under Category: Samples, Standard, UML, Web
    Under Samples, there is general, but project = Anagram Game.
    I still can't create a Java application from scratch.
    Using Web and Standard, I must provide ANT

  • ABAP Query - Differences in generated code after upgrade

    Hi all,
    We have upgraded to ECC 6. from 4.6C. We are experiencing differences between the behaviour of some queries in different systems. This can be as subtle as some of the output parameters not appearing on the selection screen (such as the options within the output format box, i.e. ABAP list, ABC analysis etc), to actual syntax errors in queries where there is no difference between the infosets and queries in the two systems.
    A pattern I have noticed is that there are big differences in the generated code behind the query transaction.
    In production, where we have the problems, the generated code contains a lot of include programs starting with /1BCDWB/, I am not sure what these are, but the generated code in the systems that work don't have these. I am not sure what is triggering the code to generate differently, but I think if I can find out then it will point me in the right direction.
    any help appreciated.
    Stephen

    Stephen,
    I have noticed the queries are generated with two different formats. One is very compact and has multiple different includes each for data, selection screen, various selection screen events, etc. Other is a single big non-modular program.
    We have also noticed generated program template gets reset to the non-modular kind, if additional code is added in the selection-screen code section of the infoset. They do not return to the original even after you undo the changes.

  • Unit test code problem

    I'm doing my first proper unit test and I get an error, think min_size> is the problem
    Element type "application" must be followed by either attribute specifications, ">" or "/>".
    this generated code
    <?xml version="1.0" encoding="utf-8"?>
    <!-- This file is automatically generated by Flash Builder to compile FlexUnit classes and is not intended for modification.
    Please click on the "Refresh" icon in "FlexUnit Results" view to regenerate this file. -->
    <application xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx"min_size>
        <fx:Script>
            <![CDATA[
                import flexUnitTests.serviceTestSuit;
                private var flexUnitTests_serviceTestSuit_obj:flexUnitTests.serviceTestSuit;
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    </application>

    Hi Nikos,
    Which Flash Builder build are you using?
    FlexUnitApplication.mxml is generated from MXML Application/MXML Windowed Application(Flex/AIR project respectively) file templates configured in Window->Preference->File templates.
    Can you take a look at the template if you see any 'min_size' available as part of the template?
    However, we are unable to reproduce the issue in the latest builds.
    Thanks,
    Balaji
    http://balajisridhar.wordpress.com

  • Embed labview generated code with c++ gui application

    Hey everyone ,
      I am very new to labview and trying to learn it  ... but before that i wanted to make sure a doubt which i have in my mind , the problem is that i have a realtime GUI application built on c++ widgets and i want to change the existing DSP block in this application with the code generated by using the LABVIEW , i am sorry that have very
    less amount of knowledge regarding labview so i turn up with thread ... So can generate c++ code for the DSP blocks designed in labview ... if yes how and if not why . Any
    sincere help will be appreciated . And I very much apologise for any mistakes in my question .
    Thanks

    Tonph wrote:
    Thanks rolf, is it possible that i use labview to disign my DSP block only and the output be fed to my custom c++ blocks and also wxwidget GUI ... suggest some means thanks ...
    Well, have you followed the link I gave in my post? You can download an evaluation version of the add-on and try it out in LabVIEW. It generates C code, not C++, but that should be no problem, since it is very easy to call C code from a C++ application. I can't vouch for the suitability of this add-on for you, nor do I know the exact price range so that are certainly things you have to do for your own.
    As to nathans solution, that could work too. If your application is for Windows, or MacOS X, or Linux you can create a shared library from your LabVIEW code and call it as such from your C++ application.
    Personally I would find it a rather roundabout way to include LabVIEW generated code in a wxWidget application. One of the strengths of LabVIEW is not only signal acquisition and analysis but also simple GUI design, at least as long as you are after a functional GUI, and not a very specific style of a GUI. So I would never even consider to do the GUI part with anything but LabVIEW if some other parts are already to be done in LabVIEW.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Does iweb generate code on upload?

    I know this has been treated extensively, but I cannot seem to find a text editor...Taco, Text edit, transit, even Dreamweaver that will display the html code fully from my index page. In order to edit the code I have to download it from the server in order to see it all. Taco etc only displays a fraction. Has anyone else this problem?
    Its as if iweb is generating code upon uploading. Makes for editing a laborious task. Any solutions please?
    PS I have done the preferences bit in text edit to see the code...it still just dislplays what appears to be a summary.

    Here are some basic instructions for making html changes after publishing in iWeb:
    1. Type a placeholder in place of where you want the item to go. i.e. CODEGOESHERE or something like that. Publish your site via iWeb
    2. Find your html files.
    Go to iDisk/Web/Sites/iWeb/Sitename/Pagename.html
    (If you publish to a folder, look in the folder you selected or try looking in your Sites folder of your home folder. )
    There are two ways to handle accessing your iDisk.
    Method 1:
    Turn on local copy of your iDisk in System Prefs, with or without automatic syncing.
    If you publish your site via iWeb, now the updated pages exist online but the old pages are on your local iDisk. You need to sync (automatically or manually) to get the new pages on your local iDisk (on your computer).
    Then you can open the updated files, make your html changes in Text Edit or whatever program, and SYNC AGAIN (automatically or manually) to update the online version of the site to match what you have just changed on your local iDisk
    Method 2:
    Mount the iDisk when needed via the "Go" menu in Finder. This is the ONLINE VERSION of your iDisk, not a local copy. When you publish your site via iWeb, the changes INSTANTLY appear on the iDisk on your desktop. If you make html edits or other changes, they appear INSTANTLY online.
    I recommend Method 2 - much easier!!!
    3. Make the html changes.
    You can open the html files generated by iWeb in any text or html editor. In TextEdit, to view the code in an HTML file, choose File > Open and select "Ignore rich text commands." Then locate the .html file (as described in step 2) and click Open.
    Make your changes (i.e. replace CODEGOESGERE with your code!) and don't forget to save your changes (not Save As, just Save)!!!
    4. Remember, if you make a change to a page like this post-publishing, and later re-publish, you have to make the html changes again! Set up a Find/Replace command in MassReplaceIt and you can do this very quickly. You can save your queries so you can make all of your changes with one click the next time you save.
    Download here:
    http://www.hexmonkeysoftware.com

  • Expand Operator generates code errors in OWB 10g2 map

    I suspect that there are few people that actually use the Expand Operator in OWB from the lack of threads in this forum; however I'll give this a shot.
    I have a map function that returns a user-defined object type which I then use an Expand Operator to break into its component data parts. The function works Ok. The map validates Ok. The code generates Ok. However, on deployment the map generates errors:
    ORA-06550: line 768, column 97:
    PLS-00103: Encountered the symbol "." when expecting one of the following:
    * & = - + < / > at in is mod remainder not rem then
    <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
    LIKE4_ LIKEC_ between overlaps || multiset year DAY_ member
    SUBMULTISET_
    The symbol "* was inserted before "." to continue.
    Compiling the package body in SQL developer, I can spot the exact lines that produce this error, so I know it's coming from the Expand Operator's generated code. In every case, the Expand Operator is producing lines like this (code generalized):
    (("[function_name]"("[map_name]"."[map_input_parameter]"))).BYTES_COUNT
    (("[function_name]"("[map_name]"."[map_input_parameter]"))).ROWS_INSERTED
    BYTES_COUNT and ROWS_INSERTED are data components of the user_defined object type returned by the function.
    The problem is the # of parentheses surrounding the function name and the returning component being outside these parentheses. If I move the returning component in between the first and second closing parentheses, the code will compile:
    (("[function_name]"("[map_name]"."[map_input_parameter]"*).BYTES_COUNT))*
    (("[function_name]"("[map_name]"."[map_input_parameter]"*).ROWS_INSERTED))*
    IMO, this is an OWB bug !! The Expand Operator can't be used without editing the code after deployment.

    Unfortunately breaking apart the user-defined type in an Expression Operator produces the same error message and virtually the same code problem:
    (([function_name]("[map_name]"."[input_parameter]")).BYTES_COUNT/* EXPRESSION.OUTGRP1.BYTES_COUNT */)
    As in the Expand Operator the line above compiles when the data type component ("BYTES_COUNT") is manually moved between the first and second closing parentheses:
    (([function_name]("[map_name]"."[input_parameter]").BYTES_COUNT/* EXPRESSION.OUTGRP1.BYTES_COUNT */) )

Maybe you are looking for