Sequences in JDeveloper ?

Hi -
Can anyone please tell me how to generate sequence for a Primary Key Column from a JSP page generated by JDeveloper 3.2. I have created a JSP page based on table 'X'.I have insert,update,delete capabilites for the page. My table 'X' has a column 'x_id'. I have a sequence created in the database , 's_1'. I want to generate a nextval of sequence whenever I save the record from the JSP.
I am fairly new to Java and I would appreciate step by step instructions
Thank You -
Fahim Chesti

Fahim,
I do not know JDev 3.2, however if can issue PL/SQL from it and your are using JDBC with an Oracle DB without a trigger you should be able to do something like;
BEGIN
INSERT INTO X VALUES (sequence_name.NEXTVAL, 'myDesc');
COMMIT WORK;
END;
FYI, JDev 9 with BC4J has built-in support for db assigned PK's.
Bill G...

Similar Messages

  • End.of.file character sequence in jdeveloper

    I'm unable to input the windows end-of-file character in the program input window (JDeveloper) so i can exit the while loop below. The window accepts all other characters except the CTRL-C character sequence in windows. How does a user exit this loop in the \\\jdev
    while (input.hasNext()) { //loop until EOF character
    try {
    //retrieve data to be input
    record.setAccount(input.nextInt());
    record.setFirstName(input.next());
    record.setLastName(input.next());
    record.setBalance(input.nextDouble());
    if (record.getAccount() > 0) {
    output.format("%d %s %s %.2f\n", record.getAccount(),
    record.getFirstName(), record.getLastName(),
    record.getBalance());
    } else {
    System.out.println("Account number must be greater than 0");
    } //end try
    catch (FormatterClosedException e) {
    System.err.println("Error writing to file.");
    return;
    } catch (NoSuchElementException e) {
    System.err.println("Invlaid input. Please try again.");
    input.nextLine();
    System.out.printf("%s %s\n%s", "Enter account number (>0), ",
    "first name, last name, and balance.", "? ");
    } //end while
    //...

    Hi,
    That charecter comes in the last field in the file as it is the end , so write a code in transformations from PSA to DSO of the last  field.
    Here i am giving the code that needs to be included in the field routine.
    DATA : INT_VAR TYPE /BI0/OIMATERIAL. (give your field insted of material)
    DATA : STR_VAR1(20) TYPE C. (give your field type here)
    DATA : VAR2 TYPE I.
    DATA : VAR3 TYPE I.
    DATA : VAR4 TYPE I.
    DATA : STR_VAR6(20) TYPE C.
    MOVE SOURCE_FIELDS-MATERIAL TO INT_VAR.
    TRANSLATE INT_VAR TO UPPER CASE .
    IF INT_VAR CN
    ',<>?/\:;"''ABCDEFGHI JKLMNOPQRSTUVWXYZ!%^&*()__+=1234567890' .
    STR_VAR1 = INT_VAR+0(SY-FDPOS).
    VAR2 = STRLEN( INT_VAR ).
    VAR3 = SY-FDPOS + 1.
    VAR4 = VAR2 - VAR3.
    STR_VAR6 = INT_VAR+VAR3(VAR4).
    CONCATENATE STR_VAR1 STR_VAR6 INTO RESULT.
    ELSE.
    RESULT = INT_VAR.
    ENDIF.
    Hope this works good in your case
    Cheers,
    Srinath.

  • Jdeveloper does not show sequence and table name in dB navigator.

    Hi my jdev version is 11.1.1.5.0
    I have a table and sequence.I need to map sequence to this table.
    But i don't see this table and sequence in jdeveloper DB navigator under my connection.Why is this happening?

    Incase if you are not the owner of the table, why don't you look under synonyms/views as well. Also double check you database connection to see if it is pointing to right database server (i.e. DEV or TEST) sometime you may overlook them as well.
    To double check this, connect from any other sql client tools like toad and see if you are seeing those database objects in the desired location, if not then you are looking in wrong location.

  • JDeveloper 10g and Oracle Sequences

    Hello,
    i am new to Java/JDeveloper and I would like to know,
    how I can use an existing oracle sequence in JDeveloper to
    create a value for a field in my table.
    (using JDBC, no "Toplink")
    Greetings.

    Hi,
    you could issue a select <sequence>.nextval from dual query statement and obtain the result from the return set.
    Frank

  • Database Adapter in 11g

    is anyone know how to configure 'OutputCompletedXml' in SOA 11g Database Adapter?
    How to configure Toplink sequencing in JDeveloper SOA applicatoin(Database adapter generated mappings).
    Thanks
    --Sree                                                                                                                                                                                                                                                                                                                                                                                                                               

    When you enter the xADataSourceName property, did you hit enter on the field? If you simply tab off the field and hit save changes without hitting the enter key then it doesn't record the change to the property.

  • Unable to open sequence diagram created by earlier version of JDeveloper

    About 2 years back, we were using the JDeveloper to create sequence diagrams using the latest version of JDeveloper at that time. The diagrams were created and saved by Jdeveloper in ".oxd_seq" files.
    We are now trying to open these diagrams using the JDeveloper version of Studio Edition Version 11.1.1.3.0. It is not working for ".oxd_seq" file. Is there any way we can recover those diagrams in JDeveloper 11.1.1.3.0?

    Hi Drew
    Normally it's pretty simple.
    1. Copy the .CP file(s) from source computer to intermediate media. (Network server, USB drive, CD, Etc.)
    2. Copy .CP file(s) from intermediate media to destination PC.
    3. Open Captivate and open file(s) in new location on destination PC.
    At no point should you ever consider leaving the .CP file on a network drive and opening Captivate and browsing to the file to make edits while it is in the network location. You always want to work locally.
    Another thing to consider is that Captivate seems touchy with CP files. You will want to ensure that all PCs are using the same version of Captivate. This includes patches. I wouldn't want to save a .CP file from a patched version 4 and expect to open it without issues on an unpatched version 4.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • JDeveloper 11g - UML 2.0 Sequence diagram features ?

    Hi,
    Can anybody confirm that JDeveloper 11g supports UML 2.0 features for Sequence diagram or not ?
    Thanks.
    regards,
    Priya Ranjan Sahay

    Thanks.
    I have been looking for alt and other looping & conditional features, which is, as per my understanding, is introduced with UML 2.0.
    I have been working on JDeveloper 10.1.3 & its not there.

  • Jdeveloper 9i beta : Bc4j : Sequence : java.lang.long error

    I am using sequence to genetrate a auto number but it gives an
    error of java.lang.long
    Error:
    path="" :java.lang.Long
    javax.servlet.jsp.JspException: java.lang.Long
         int oracle.jbo.html.jsp.datatags.RowTag.doStartTag()
         void site1.DataEditComponent._jspService
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtime.HttpJsp.service
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.app.JspApplication.dispatchRequest
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.JspServlet.doDispatch
    (oracle.jsp.app.JspRequestContext)
         void oracle.jsp.JspServlet.internalService
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.JspServlet.service
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void org.apache.tomcat.core.ServletWrapper.doService
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void org.apache.tomcat.core.Handler.service
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void org.apache.tomcat.core.ServletWrapper.service
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void
    org.apache.tomcat.facade.RequestDispatcherImpl.doInclude
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void
    org.apache.tomcat.facade.RequestDispatcherImpl.access$1
    (org.apache.tomcat.facade.RequestDispatcherImpl,
    javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         java.lang.Object
    org.apache.tomcat.facade.RequestDispatcherImpl$2.run()
         java.lang.Object
    java.security.AccessController.doPrivileged
    (java.security.PrivilegedExceptionAction)
         void
    org.apache.tomcat.facade.RequestDispatcherImpl.include
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.runtime.OraclePageContext.include
    (java.lang.String)
         int oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag
         void site1.DeptView__Edit._jspService
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtime.HttpJsp.service
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.app.JspApplication.dispatchRequest
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.JspServlet.doDispatch
    (oracle.jsp.app.JspRequestContext)
         void oracle.jsp.JspServlet.internalService
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void oracle.jsp.JspServlet.service
    (javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service
    (javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void org.apache.tomcat.core.ServletWrapper.doService
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void org.apache.tomcat.core.Handler.service
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void org.apache.tomcat.core.ServletWrapper.service
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void
    org.apache.tomcat.core.ContextManager.internalService
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void org.apache.tomcat.core.ContextManager.service
    (org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
         void
    org.apache.tomcat.service.http.HttpConnectionHandler.processConne
    ction(org.apache.tomcat.service.TcpConnection, java.lang.Object
         void org.apache.tomcat.service.TcpWorkerThread.runIt
    (java.lang.Object[])
         void
    org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
         void java.lang.Thread.run()
    path="" :java.lang.Long
    Code I have used :
    SequenceImpl s = new SequenceImpl("deptsequence",getDBTransaction
    Integer next = (Integer)s.getData();
    int i = next.intValue();
    setDeptno(new Number(i));
    This error does not happen if i use a hard coded value
    eg:
    setDeptno(new Number(10));
    this code works fine

    Hi Manoj,
    In Jdeveloper 9i, sequence.next() is not castable to an Integer.
    Try casting it to a Long (Long has an intValue() function as
    well).
    Hope this helps,
    Avrom

  • JDeveloper 10g Creating a new record with trigger sequence primary key

    Hi there, I'm sorry to post this incredibly simple question and I'm sure that someone must have answered this on this forum before but the searching of this site is incredible slow and painful and after 30 mins I can't find help.
    I am using a struts Data Action to create a new record in the database and then being forwarded to an edit page where I can enter the new details. Then when the details are entered I am clicking an update button and returning to a browse screen where I can either commit the change to the database or rollback. Sounds pretty simple but I am really struggling with trying to get the trigger of the number sequence to work properly.
    Ideally I would like to click the create new record button and then the primary key/triggered sequence number is already displayed on the empty form...
    ... but if this is too tricky or not possible then I would like the user to either not enter any value in the key field (which currently causes error - JBO-27014: Attribute PoNo in PO_SYS_MODULE.PoSystemView1 is required) OR the user enters a number and the trigger overwrites this number with the next in the sequence.
    I can enter a new record if I look in the manager console and see the next number in the sequence and then create the record using this number and then click commit twice, as the first time I get the error: JBO-25019: Entity row of key oracle.jbo.Key[154 ] not found in PoSystem. Or if I enter a value 5 times greater than the next in the sequence I have to click the commit button 5 extra times to get the sequence to match the input.
    I hope that this lengthy explanation fills you in on my problem, there must be a simple solution to this and I will be VERY grateful to anyone who can help me.
    Many thanks
    Ben Sayers (clearly a newbie)

    Hi,
    ADF Business Components handles this for you - unless yo prefer doing this manually. In the Entity Object, set the PK attribute's type to DBSequence. Then create a database sequence and use a database trigger to add the sequence value on insert
    Frank

  • JDeveloper and JSP 1.1

    Hallo,
    I'm using JDeveloper 3.1 for my JSP projects.
    This version of the product was deployed with OracleJSP (ojsp.jar) version 1.0.
    Now, I have the need to use some JSP 1.1 feature, but I have found no hints (Technet, Metalink) to upgrade OracleJSP at version 1.1. I downloaded 3.1.1.2, but this version have not JSP 1.1 support,too.
    I discovered that iAS 1.0.1 I downloaded and tried is deployed with OracleJSP 1.1.
    I copied libraries ojsp.jar and ojsputil.jar from iAS to JDeveloper\lib (before I backuped my original ojsp.jar).
    I tried with a simple JSP test application and all seemed ok.
    But, when I tried with a production application I had this problem: some pages weren't compiled with this error:
    "JDeveloper could not insert new character. 1024 line limit exceeded"
    Apparently my jsp pages seemed to be syntattically correct. Also, there was a page with .jsp suffix, but integrally composed of HTML (no scriptlet).
    Well I checked the .java generated from jsp and I discovered than OracleJSP 1.1 compiler has a different behaviour from the same one in release 1.0.
    Pratically, OracleJSP 1.0 compiler generate an istruction out.println("...") for every text line in a JSP page.
    OracleJSP 1.1 compiler generates an entry in an array char text[][] for every block in a JSP page, where a block is a sequence of istructions separated by scriptlet marks (<%...%>).
    Then for every block there is a corresponding out.print(...).
    What happens ? It's simple. If I have a flat HTML jsp page, I have only a "one line structure" text[0] and if all text is greater than 1024 characters, JDeveloper generate a compile error.
    The same happens if I have blocks of text or scriplets greater than 1024 chars.
    A simple workaround is to insert an empty scriptlet block <% %> between blocks too long, but I don't like this!
    Well, could anyone help me ?
    Is there an official Oracle upgrade to JDeveloper, so I could use JSP1.1 features ?
    Thanks.
    G.Grimoldi
    Satis s.r.l.

    fyi --
    i found the following by searching this forum ....
    from a sept 14th posting by the jdev team ...
    Hi,
    This is a good question that you ask and I am glad to say that JDeveloper 3.2 which should be available sometime in November, will be fully J2EE compliant in that we will support JSP 1.1 (with taglibs), Servlet 2.2 and EJB 1.1.
    Thanks,
    -Kishore
    null

  • WS-Eventing In JDeveloper 10.1.3

    Hi Folks..
    I've been looking into trying to get WS-Eventing to work within JDeveloper and the OC4J container. There are two areas that I have come across that are making it difficult and I am hoping that some of you might have some insight into this... (It may very well be that its not possible in the current version of JDeveloper)
    1) There are two schema definitions that WS-Eventing requires to work correctly.. http://schemas.xmlsoap.org/ws/2004/08/eventing
    http://schemas.xmlsoap.org/ws/2004/08/addressing
    Is there anyway to get JDeveloper to generate the appropriate java classes for from these schemas to use when I am creating the web service?? I tried creating a simple WSDL that imported these schemas then used the create Web Service Proxy to generate the service skeletons.. but when it was finished it hadnt generated the complete set of classes that it should have. IE One of the complex types in the Schema is called _Subscribe.. this class was not generated when running the wizard.
    2) I was able to eventually generate the necessary java classes with an axis tool.. WSDL2Java.. and from there to create my implementation. The problem I have from there was creating the web service from the implementation. When trying to create the J2EE 1.4 Web service.. I am able to fill out the first page of the wizard... indicating what implementation file to expose.. but when I click to go to the next page.. the Next button becomes disabled and I remain on the first wirard page. No error message is indicated. Im assuming that the wizard is choking on the WS-Eventing types that are declared in the implementation file, although Im not sure.
    Anyways.. not sure I will get any feedback on this.. as WS-Eventing is fairly new... but I thought I would put it out there.
    Thanks for any help
    Dave

    Thanks Eric..
    I will look into the WSA route. Ive included my WSDL below with the hope that someone might see where I've gone wrong. As you can see I am importing the Eventing Schema... http://schemas.xmlsoap.org/ws/2004/08/eventing this schema in turn references the Addressing Schema.. http://schemas.xmlsoap.org/ws/2004/08/addressing.. When I use JDeveloper to create the skeleton classes... it seems to generate all the Addressing classes correctly.. but it only generates one of the types from the Eventing Schema.
    Thanks again for your help..
    Dave
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions name="Notify" targetNamespace="http://tempuri.org"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://tempuri.org"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:ns7="http://schemas.xmlsoap.org/ws/2004/08/eventing">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://tempuri.org"
    elementFormDefault="qualified" xmlns:tns="http://tempuri.org"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/08/eventing"
    schemaLocation="http://schemas.xmlsoap.org/ws/2004/08/eventing"/>
    <complexType name="getMessage">
    <sequence/>
    </complexType>
    <complexType name="getMessageResponse">
    <sequence>
    <element name="result" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="setMessage">
    <sequence>
    <element name="String_1" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="setMessageResponse">
    <sequence/>
    </complexType>
    <element name="getMessageElement" type="tns:getMessage"/>
    <element name="getMessageResponseElement"
    type="tns:getMessageResponse"/>
    <element name="setMessageElement" type="tns:setMessage"/>
    <element name="setMessageResponseElement"
    type="tns:setMessageResponse"/>
    </schema>
    </types>
    <message name="NotifyServer_getMessage">
    <part name="parameters" element="tns:getMessageElement"/>
    </message>
    <message name="NotifyServer_setMessageResponse">
    <part name="parameters" element="tns:setMessageResponseElement"/>
    </message>
    <message name="NotifyServer_getMessageResponse">
    <part name="parameters" element="tns:getMessageResponseElement"/>
    </message>
    <message name="NotifyServer_setMessage">
    <part name="parameters" element="tns:setMessageElement"/>
    </message>
    <message name="subscribePushMessageResp">
    <part element="ns7:SubscribeResponse" name="parameters"/>
    </message>
    <message name="subscribePushMessage">
    <part element="ns7:Subscribe" name="parameters"/>
    </message>
    <message name="unsubscribePushMessage">
    <part element="ns7:Unsubscribe" name="parameters"/>
    </message>
    <message name="pushMessageResponse"/>
    <message name="pushMessageRequest">
    <part element="tns:in1" name="in0"/>
    </message>
    <portType name="Notify">
    <operation name="getMessage">
    <input message="tns:NotifyServer_getMessage"/>
    <output message="tns:NotifyServer_getMessageResponse"/>
    </operation>
    <operation name="setMessage">
    <input message="tns:NotifyServer_setMessage"/>
    <output message="tns:NotifyServer_setMessageResponse"/>
    </operation>
    </portType>
    <portType name="pushMessagePort">
    <operation name="subscribePushMessage">
    <input message="tns:subscribePushMessage"/>
    <output message="tns:subscribePushMessageResp"/>
    </operation>
    <operation name="unsubscribePushMessage">
    <input message="tns:unsubscribePushMessage"/>
    </operation>
    <operation name="pushMessage" parameterOrder="in0">
    <input message="tns:pushMessageRequest" name="pushMessageRequest"/>
    <output message="tns:pushMessageResponse"
    name="pushMessageResponse"/>
    </operation>
    </portType>
    <binding name="NotifyServerSoapHttp" type="tns:Notify">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getMessage">
    <soap:operation soapAction="http://tempuri.org:getMessage"/>
    <input>
    <soap:body use="literal" parts="parameters"/>
    </input>
    <output>
    <soap:body use="literal" parts="parameters"/>
    </output>
    </operation>
    <operation name="setMessage">
    <soap:operation soapAction="http://tempuri.org:setMessage"/>
    <input>
    <soap:body use="literal" parts="parameters"/>
    </input>
    <output>
    <soap:body use="literal" parts="parameters"/>
    </output>
    </operation>
    </binding>
    <binding name="pushMessageSoapBinding" type="tns:pushMessagePort">
    <binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="subscribePushMessage">
    <input>
    <body use="literal" parts="parameters"/>
    </input>
    <output>
    <body use="literal" parts="parameters"/>
    </output>
    </operation>
    <operation name="unsubscribePushMessage">
    <input>
    <body use="literal" parts="parameters"/>
    </input>
    </operation>
    <operation name="pushMessage">
    <operation soapAction=""/>
    <input name="pushMessageRequest">
    <body use="literal" parts="parameters"/>
    </input>
    <output name="pushMessageResponse">
    <body use="literal" parts="parameters"/>
    </output>
    </operation>
    </binding>
    <service name="Notify">
    <port name="NotifyServerPort" binding="tns:NotifyServerSoapHttp">
    <soap:address location="http://dburgess-xp:8888/Apps-EventServer-context-root/Notify"/>
    </port>
    <port binding="tns:pushMessageSoapBinding" name="pushMessageIF">
    <soap:address location="http://dburgess-xp:8888/Apps-EventServer-context-root/pushMessageIF"/>
    </port>
    </service>
    </definitions>

  • How to create Sequence Diagrams in Jdev 10.1.3?

    Hi there,
    I´m migrating (trying) from Eclipse to JDeveloper and I´m having several dificulties....
    I´m creating a new project in JDeveloper:
    0) create an application workspace [ok]
    1) create a web application project [ok]
    2) create some packages and Java classes [ok]
    3) create a class diagram related to the
    above classes [ok]
    4) create a sequence diagram [ok]
    5) use the classes into the sequence
    diagram [more and less]
    6) use the methods of the classes into
    the message lines of the sequence
    diagram [no]
    Some observations that are messing me:
    1) Do I need to create an "Object Lifetime" for
    every class and after that select "Attach Classifier" ?? Why I can´t just drag the classes into the diagram (like Jude) ?
    2) Can I use the methods already defined in the classes to create messages in the sequence diagram?
    3) The sequence diagram od JDeveloper is disconnected from the project classes? i.e., is it just a draw ?
    best regards,
    Felipe Gaúcho

    Hi,
    I am glad to find that you are working on the sequence diagram. I take your point about selecting the methods and assigning them to the messages. Unfortunately this feature is gated by some architecture changes and it something I will be actively pursuing as soon as it is possible.
    In reply to your other points:
    1) Do I need to create an "Object Lifetime" for
    every class and after that select "Attach Classifier" ?? > Why I can´t just drag the classes into the diagram (like > Jude) ?The reason for this is that the sequence modeler is simply a view onto a single diagram type that can contain any object. This allows the mingling of different UML type on the same diagram. It can be usefull to mix usecase and seqeunce for example.
    For that reason the default action for java class is to model a java class, and you do indeed need to create a lifeline first. Did you know you could drag and drop the classifier, in your case a java class, from the navigator onto the lifeline. This might be quicker in your case.
    2) Can I use the methods already defined in the classes > to create messages in the sequence diagram?As noted before in the preview you can't select existing messages. This is something we would like to add as soon as it is possible.
    3) The sequence diagram od JDeveloper is disconnected
    from the project classes? i.e., is it just a draw ?The sequence modeler isn't totally disconnected from the project classes; but it wont update as you edit the code if this is what you mean.
    Could you perhaps expand on this point a little bit?
    Thanks,
    Gerard Davison
    UML Modelers

  • How to install ADF Mobile extension to JDeveloper on OSX 10.8.2

    Using the info from the following discussion thread it was pretty straightforward to install jdeveloper to OSX 10.8.2.
    Re: Jdeveloper install on os x lion (10.7.5)
    as well as the blog posts
    http://adf4beginners.blogspot.be/2012/10/installing-jdeveloper-on-mac-osx-108.html
    https://blogs.oracle.com/shay/entry/installing_jdeveloper_on_mac_os
    Now the issue is that when I try to install the ADF Mobile extension I run into problems:
    I tried installing both directly from the update centres as well as from local file, but the
    only extension available after restart is the "ADF Mobile Help" (oracle.adf.mobile.doc).
    I can also see from the startup console a lot of warning messages of type as indicated below.
    Oracle JDeveloper 11g Release 2 (11.1.2.3.0)
    Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
    Installing updates...
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/juel-api-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/juel-impl-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/jvmti/jar/juel-api-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/jvmti/jar/juel-impl-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/release/jar/juel-api-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/iOS/release/jar/juel-impl-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/lib/juel-api-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:47 PM oracle.ideimpl.deferredupdate.task.BundleDetails getOsgiBundleDetails
    WARNING: Bundle: /Users/gwr/Downloads/jdeveloper/../jdeveloper/jdev/extensions/oracle.adf.mobile/lib/juel-impl-2.2.4-SNAPSHOT.jar has an invalid version number 2.2.4-SNAPSHOT
    Jan 10, 2013 9:36:55 PM org.netbeans.core.startup.NbEvents logged
    INFO: Turning on modules:
    Jan 10, 2013 9:36:55 PM org.netbeans.core.startup.NbEvents dumpModulesList
    INFO:      org.openide.util.lookup [8.3.1 201007282301]
         org.openide.util [8.6.2 201103231602]
         org.openide.modules [7.17.2 201008301741]
         org.openide.filesystems [7.38.2 201007282301]
         org.netbeans.core.dynamicconfig [1.0 120919]
         org.netbeans.libs.osgi [1.1.1 201007282301]
         org.netbeans.bootstrap/1 [2.33.5 201104201301]
         org.netbeans.core.startup/1 [1.25.5 201103231602]
         org.netbeans.core.netigso [1.4.5 201011191627]
         org.apidesign.netbinox [1.16.10 110502]
         oracle.ide_osgi [11.1.2 11.1.2]
         com.oracle.jdeveloper.nbbridge [1.1 120919]

    thanks,
    you gave me the courage to move along, and I stumbled across some info
    (should have given a link here, but not able to find the most correct one right now)
    As a matter of fact it seems like several postings in blogs and discussion forums touch this area.
    Just wonder if we could smooth this process a bit.
    issuing this command sequence, did the trick:
    sudo mkdir -p /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/jre/lib
    cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/jre/lib
    sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/classes/classes.jar rt.jar
    Then for jdk location I selected
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Contents/Home

  • Jdeveloper 11g + decode syntax exception

    Hello,
    I am using Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536.
    When I add decode sql function in order by clause,following exception throws in Jdeveloper IDE. it looks like pattern issue,any clue??
    SEVERE: exception visiting oracle.xml.parser.v2.XMLAttr@6e80b2
    DeptView.xml [1047:1063) [45,4:45,20)
    44: <ViewLinkAccessor
    45: Name="EmpEOView"
    46: ViewLink="model.WorksInDeptLink"
    47: Type="oracle.jbo.RowIterator"
    java.util.regex.PatternSyntaxException: Unclosed group near index 16
    \bDECODE(DNAME\b
    ^
         at java.util.regex.Pattern.error(Pattern.java:1713)
         at java.util.regex.Pattern.accept(Pattern.java:1571)
         at java.util.regex.Pattern.group0(Pattern.java:2533)
         at java.util.regex.Pattern.sequence(Pattern.java:1806)
         at java.util.regex.Pattern.expr(Pattern.java:1752)
         at java.util.regex.Pattern.compile(Pattern.java:1460)
         at java.util.regex.Pattern.<init>(Pattern.java:1133)
         at java.util.regex.Pattern.compile(Pattern.java:823)
         at oracle.jbo.dt.dependency.xdf.SQLReferenceFactory.getStartIndex(SQLReferenceFactory.java:286)
    Thanks
    RB

    To anyone else encountering this:
    I would just like to report, that Oracle Development has managed to reproduce this problem from scratch by following a similar upgrade path 10.1.3.0->10.1.3.4->11.1.1.0. The problem is NOT OS-related, but related to migrating the user settings from 10.1.3.3. So Jan you were right about that. Credits go to you :)
    The only workaround for me has so far been to take a backup of my old SYSTEM directory causing the problem, and I have been forced to carefully recreate all my settings to get around this problem, since I already removed my old 10.1.3.3 installation, assuming the migration went OK - which it didn't... So, I will keep my old backup, in the hope that Development finds a fix to this issue, so I can go back to the settings I used to have, even though I THINK I have recreated them all for 11g - not completely sure though... time will tell.
    Until then, I will track the bug, that Didier has logged for me, which he mentioned in his post.
    Regards,
    Jacob

  • Best Practice for using UML in JDeveloper 11g

    Hi,
    We are embarking upon a big program that involves development of a Webcenter 11g based Portal. We will be using JDeveloper for doing the development work. We are investigating whether we can use JDeveloper for doing the design work too. Towards that we would like to know if there are any best practices documented around using JDeveloper's UML capabilities in a Webcenter 11g Portal delivery activity that spans across several sprint teams and involves delivering an application that could involve several hundreds of java classes ? If so, can you please share the same / provide pointers to the same ?
    We are keen on using class diagrams and sequence diagrams for the design work.
    We will be using JDeveloper 11.1.1.5.0.
    Many thanks!
    Best Regards,
    Ramesh

    Check this to get an idea of UML support in JDeveloper:
    http://download.oracle.com/docs/cd/E18941_01/tutorials/jdtut_11r2_81/jdtut_11r2_81_1.html
    Thanks,
    Navaneeth

Maybe you are looking for

  • Unsmooth playback uploading video from iPhone 4 to Facebook

    I took a four minute video the other day in a vehicle and when I uploaded it to Facebook, it was very choppy visually. Is there a reason why it doesn't play back smoothly? I notice that not only in this particular video, but in videos I took standing

  • Photo editing is not working

    I am going through my last roll and removing the red eye from all photos that need it; however, after I save and move on to the next photo, the changes are lost. When I go back to the photo I just edited, it has reverted back to the original version.

  • Rented movies are too dark

    As I'm typing this I'm watching Gran Turino on my TV from my iPod classic. But the movie picture is too dark. I can't see any of the faces of the actors. I turned my TV brightness all the way up and it doesn't help. Is there a setting on my iPod to f

  • I have inherited a Macbook from an ex-colleague and all his files are locked.  I need to free up spaced

    I need to remove files from a Macbook.  Some of them are in locked folders.  Some will simply not transfer to Trash.  Some give a message about not finding an alias. I am new to Macs and haven't a clue where to start.

  • Info update Indicator

    Hi, I have a basic querry. I have created an Material & an Info record (At Pur.org level) I'm using the std pricing procedure. Now i  have changed the price in the PO and selected info update Indicator and saved the PO. Now when i create a new PO the