A Suggestion to JDeveloper Team

The JDeveloper should allow aumotical migration (I mean smoothly) of an application developed from the earlier version (at the least the first version of 10 series), to the most current version (or backward compatibility).
I migrated an application, for instance, ToyStore Demo, it all works fined under version 10.1.2. But after I migrated it to the latest 10.1.3. It renders some problems. Remember, I am NOT talking about a distant version for migration. I am merely trying to migrate from 10.1.2 to 10.1.3, the same version, just different release.
The JDeveloper got to stablize its core technology. I can HARDLY migrate an app developed under JDev 9.x to Jdev 10.x. The core technology is totally and foundamentally changed (understandable). Now from 10.1.2 to 10.1.3, by reviewing the struts-config.xml (under 10.1.3), I feel that I have to go back to the square one to learn the technology again (we are talking about the same version!).
A success of a tool depends on its stablized foundation. If this foundation keeps changing, how can the customer develop an application on it?
Take PowerBuilder as an example, I can migrate and run an application developed under version 5 to/on version 9 (Though, I have not tried version 10 yet). That is 4 versions old application!
Another example, I can run my Oracle Database PL/SQL (developed under version 7) on the most current version of Oracle Database 10g. That is 3 big versions of distance. So the slogan is: Learn from Oracle Database!
It is just frustrating, you know.
Thanks for reading.
Scott
Message was edited by:
scottjhn

I read in another post that this could be caused by a corrupt workspace file.
When this happens to me, I
- Restart JDeveloper
- Add a breakpoint in a source file
- "Save all"
- Remove the breakpoint
- "Save all again"
This seems to work for me.
I guess that, as breakpoints are saved in the workspace file, adding and removing one somehow causes the workspace file to rebuild itself a bit.
The only drawback is that you have to restart JDeveloper before doing this, because when it starts doing the "unable to insert an item" thing, then you can't even add a breakpoint!
Hope this helps, Remi
null

Similar Messages

  • JDeveloper Team - Refers: How do I display multiple rows in a gridControl

    JDeveloper Team
    With reference to the previous reply..
    My query is not based on a view object. It uses the executeRetrieval command to do the select statement.
    The query obtains the correct number of rows but it displays only the first record out of the selected rows.
    pls help me find a solution.
    null

    Can you try to list the row values using the dataitem that the executeRetrieval method returns.
    ex.,
    import javax.infobus.*;
    DbAccess db = sessionInfo.getDbAccess();
    ScrollableRowsetAccess scr =
    (ScrollableRowsetAccess)db.executeRetrieval("select * from dept", "infobus:/oracle/Session1/DynamicQuery", null);
    System.out.println(scr.getRowCount());
    null

  • Frustrated with DATA TAGS (JDEVELOPER TEAM)

    I have been trying to delete a record from an HTML form using data tags and unfortunately I am unable to make any progress.
    It keeps telling me that I got to use either
    "rowkey" or "rowkeyparam" and when I try to use it, it gives me a jsp exception.
    This is the same case with me when I try to locate a record using the "Find" action.
    So how am I to delete or update a record which is displayed in an HTML form?
    I saw the "howto" on using the "rowkeyparam" but it simply doesn't work as advertised.
    I always end up getting a JSP exception and the end result being I am unable to "UPDATE" OR "DELETE" any record from an HTML form.
    JDeveloper Team, Please advice. Do you have any sample examples of "UPDATING" and "DELETING" a record from an HTML form?
    I am really frustrated!!!!
    null

    To see a quick example of a working UPDATE example simply use the "DataPage" Wizard.
    When you choose the Edit Form generation option from the wizard, it will generate a working example of an "Edit Form"
    JSP app using the Data Tags and a RowKey parameter.
    For more info on the DataPage Wizard see: http://otn.oracle.com/products/jdev/info/jdev/datapage/s000.html
    As for deleting a record, this is also done with the Row tag.
    Instead of
    <jbo:Row id="myrow" datasource="ds" rowkeyparam="MyRowKey" action="Update">
    <jbo:SetAttribute dataitem="*"/>
    </jbo:Row>
    You can use:
    <jbo:Row id="myrow" datasource="ds" rowkeyparam="MyRowKey" action="Delete"></jbo:Row>
    Providing you pass the rowkey value as the Html parameter "MyRowKey"..
    null

  • JDeveloper Team: How Do I minimize the number of Oracle Sessions using Data Tags?

    I am trying to create a stateful application thru my JSP pages. Everytime there is a reference to the application module using the data tag, it looks like it creates a new Oracle Session. But thats not what I want to do.
    I have a module in which my first JSP page allows viewing of the data and in subsequent pages I allow insert, update, delete, commit etc.
    My Questions:
    1) The problem that I am encountering is that every new page that I go to creates a new Oracle session even though I specify the "Stateful" release mode.
    How do I avoid this?
    It looks like , if one browser user can potentially create 10-20 oracle sessions thru one module, imagine what the impact will be when we have hundreds of users.
    2) The sample JSP pages I saw has the username and password hard coded in it every time. Why? For a stateful application can I not specify the username and password just once and have the other JSP pages use the same userid and password.
    What are the pros and cons? I thought if I don't use the username and password in all the JSP pages then it probably will not create additional Oracle sessions but that is not true!!
    3) If it creates several Oracle sessions , will it not cause locking problems? If so, How do I minimize locking problems in a stateful application.
    JDeveloper Team Please advise!!
    AM I missing something? I would appreciate if someone can help me out!
    null

    Thanks a lot for the information. That thread was indeed very helpful. But it still didn't answer all my questions:
    1) In the thread you mentioned, it mostly talks about Web beans. In a jsp page (using Web bean) we need to first invoke setReleaseApplicationResources(true) and then invoke releaseApplicationResources().
    Does this apply to data tags? I mean I have a tag <jbo:ReleasePageResources releasemode="Stateful" />. Is this enough to release the application module back to the pool or do I have to have something equivalent of setReleaseApplicationResources(true)?
    2. In a stateful application, the state of an application is maintained between requests via a browser cookie. For each browser, you can have one state per application module class. I was attempting to run "several browser sessions from the same machine" and the end result was that I got errors and unpredictable results ie it returned me far fewer rows then I saw originally. Should I be actually be running the browser session from different machines?
    3. In JDeveloper Documentation (section About Application Module pooling) there is a note section : "If the application module is not recycled the data stays the same. However if the application module was recycled and then activated through a failover, the activation logic re-executes the view objects, so it may bring in more or less rows then originally seen by the clients due to any database updates that have occured."
    This is exactly what is happening to me? How do I get rid of this problem? I want to be able to see all the original rows + any new rows That have been committed. Please advise!
    4. Are the JDBC connections tied to application module instances? Is it one JDBC connection per application module instance? So, in a stateful JSP, if I end up using a different application I also get a different JDBC connection. IS this true?
    5. Does the no of application module instances depend on the no of available JDBC connections? Because it looks like if you set the max no of connections to "5" and set the max no of application module instances to "10", It will be able to instantiate only "5" application module instances due to the limitation set by connection pool.
    6. At times I get errors which indicates that the row in view object does not exist. Is this something familiar? Or is it the same problem that John discussed in his thread.
    Thanks in advance!

  • JDeveloper Team Development with SCM

    I am trying to use JDeveloper & SCM in a team environment. I have SCM working for version control. Do I need to have all developers share the same SCM connection instead of connecting to the repository with their own accounts?
    Thanks in advance,
    Steve

    Steve,
    Create a configuration stripe of the code you want the developers to work on.
    Create a workarea based on this configuration and make it shared, either by granting
    access to each developer or grant access to the PUBLIC role.
    When each developer creates their own private workarea ask them to create
    it based on the above shared workarea. Each developer thus has access to the
    same code and will not disrupt each other with development they are working on.
    David

  • For jdeveloper team

    I'm hoping I can get some feedback on a couple of issues regarding the usage of bc4j framework in a web-application. I've found some other posts asking some of the same questions, but have not been able to find any posts with answers. I apologize in advance if I've missed them:
    1) post vs. get: Within the OC4J container (when run from inside Jdeveloper), using the post method on forms seems broken. Specifically, I have a page which posts with the form's action set to a controller servlet. Using debug mode, I can see that as the controller servlet receives the request, the parameters do exist. However, the controller then forwards to a view page which, when debugged, shows that the request's parameters are empty. On a side note, doing the very same thing under tomcat (this very same application) works fine (i.e., the 'view' jsp receives the parameters from the original request. According to my reading of the spec, a forward should preserve the request parameters. Finally, using the 'get' method does preserve the request parameters under oc4j.
    2) JSP-centric development: While digging through the web-application samples and various HOWTO documents, it appears that the recommended way of building web-applications is to make use of the bc4j datatags. This is not necessarily the way many folks want to develop non-trivial web-apps these days. Keeping with the philosophy that JSP code should be related to the 'view' only, and that all 'controller' code should be separate, what (if any) plans do the jdeveloper/bc4j teams have to open the functionality available in the jsp datatags for servlet development? I certainly understand that pretty anything I can do using datatags are possible to do from a servlet by using the given bc4j API; however, even just getting the application module from the pool ends up being significantly more work than using the <jbo:ApplicationModule> tag. Additionally, when I've looked into using pieces of code in the datatag implementations, and I then check the javadocs, I see an awful lot of "Internal: Applications should not use this method", or worse yet, no explanation of what the method is supposed to do. So at this point, I've got much more "code" in my JSP's that I'd like, and my controller-servlet and related modules are really not doing as much as I'd like them to do.
    Thanks in advance for any input!

    John,
    For the first question, the only thing I can related to this problem is a bug in OC4J which has been fix in the 9.0.2 release. I do not know which version of OC4J you are using but that might be the problem. More specifically, it had to do with the use of the JAZN request handler no processing the request parameters correctly after a forward or an include. May be you should post a message on the oc4j message list.
    As for the second question, your are identifying correctly some problems associated the 9.0.2 BC4J JSP application wizards. The Controller written into View problem is actually not because of the BC4J datatags themself but more because of the missing controller part.
    The BC4J datatags provides a great way to retrieve the model information and display it in the view. But infortunately we had to build the controlling part using JSP and that become very messy (even if we tried very hard to put of controlling code in one file called DataHandlerComponent.jsp and use as many tags as possible).
    In our next release (9.0.3) we are extending our model by integrating with the Struts Controller.
    Here is a list of current problems that Struts will help us fix:
    * The execution of the business logic and the event handling is done in the JSP page itself forcing you to write a lot of java code in scriptlet not easily portable.
    * Missing page flow control.
    * No Runtime NLS support.
    * The application pool management is error prone because of the requirement of the ApplicationModel and ReleasePageResource tag in specific place in the JSP file.
    * Tricky error handling.
    So using the servlet controller is the right thing to do, would it be your own or Struts. We can help you with the code to manage the ApplicationModules with the pool or you can wait for 9.0.3 where this will be handle with Struts.
    Charles.

  • To the JDeveloper Team

    please bear with me. I have lost afew too many hairs over this code. Here is the sqlj file I am using in the jdeveloper 3.2.
    ===========================================
    package ReviwerPkg;
    import sqlj.runtime.*;
    import sqlj.runtime.ref.*;
    import java.sql.*;
    import java.util.ArrayList;
    * A Sqlj class.
    * <P>
    * @author Natural Resources
    public class DBInsertclsBean {
    private String relaID = null; // relationship ID
    private String busPrtyID= null; // business Party ID
    // Method to set the relaID property
    public synchronized void setrelaID(String relaID) {
    this.relaID = relaID;
    // Method to set the busPrtyID property
    public synchronized void setbusPrtyID(String busPrtyID) {
    this.busPrtyID = busPrtyID;
    public DefaultContext fctx = null; // database connection context
    //-- Pre defgined FPARScontext in the tab ---
    // Method to process the submitted classfications
    public synchronized String processClassfications (String sAllFlg, ArrayList classfication) {
    sAllFlg = sAllFlg == null?"N":sAllFlg;
    if (((classfication == null) &#0124; &#0124; (classfication.size() == 0))&&((sAllFlg == "")&#0124; &#0124;(sAllFlg == "N"))) {
    return ("No classfication items to insert!");
    try {
    // Connect to the database
    fctx = oracle.sqlj.runtime.Oracle.getConnection("jdbc:oracle:thin:@146.76.1.19:1521:devl", "pgat490", "pgat490");
    //fctx = oracle.sqlj.runtime.Oracle.getConnection("jdbc:oracle:oci8:@", "pgat490", "pgat490");
    // Insert the classfications into database
    //------------------------------------------------------debug 1/31/2001----
    //set default connection to url, user, password specified in the
    //connection.properties file.
    //Oracle.connect(FPARSconnection.class, "connect.properties");
    //Connection conn = DefaultContext.getDefaultContext().getConnection();
    DBInsert(sAllFlg,classfication);
    //DBInsert(sAllFlg,classfication,conn);
    // No errors occurred!
    return ("Classfications processed successfully!");
    } catch (SQLException e) {
    String str = new String();
    str = e.getMessage();
    return ("SQL Error:" + e.getMessage());
    } finally {
    try {
    // Disconnect from the database
    fctx.close();
    } catch (SQLException e) {}
    // DBInsert expects a 'Y' or 'N' value for sAllFlg, with 'Y' signifying selection -
    private void DBInsert(String sAllFlg, ArrayList classfication) throws SQLException {
    //private void DBInsert(String sAllFlg, ArrayList classfication, Connection conn) throws SQLException {
    //Statement stmt = conn.createStatement();
    //String sqry = new String();
    if (sAllFlg.equals("Y")) { //process the all selection.
    //sqry = "DELETE fprevr_fp_class WHERE bus_prty_rela_id = " + relaID;
    //stmt.executeUpdate(sqry);
    // First, delete all entries in the class relation ship table
    #sql [fctx] { DELETE fprevr_fp_class
    WHERE bus_prty_rela_id = parseLong(:relaID) };
    //--- WHERE bus_prty_rela_id = 400 };
    //sqry = "UPDATE bus_prty_rela SET fprevw_all_class_flg = '" + sAllFlg + "' ";
    //sqry = sqry + " WHERE bus_prty_id = " + busPrtyID + " and bus_prty_rela_id = " + relaID;
    //stmt.executeUpdate(sqry);
    // Next, update the BUS_PRTY_RELA table. Set the all flag
    #sql [fctx] { UPDATE bus_prty_rela
    SET fprevw_all_class_flg = ':sAllFlg'
    WHERE bus_prty_id = parseLong(:busPrtyID) and bus_prty_rela_id = parseLong(:relaID) };
    //--- SET fprevw_all_class_flg = 'Y'
    //--- WHERE bus_prty_id = 183 and bus_prty_rela_id = 400 };
    #sql [fctx] { COMMIT };
    } else { //process the individual class codes
    //sqry = "DELETE FROM fprevr_fp_class WHERE bus_prty_rela_id = " + relaID;
    //stmt.executeUpdate(sqry);
    // First, delete all entries in the class relation ship table
    #sql [fctx] { DELETE FROM fprevr_fp_class
    WHERE bus_prty_rela_id = parseLong(:relaID) };
    //sqry = "UPDATE bus_prty_rela SET fprevw_all_class_flg = '" + sAllFlg + "' ";
    //sqry = sqry + "WHERE bus_prty_id = " + busPrtyID + " and bus_prty_rela_id =" + relaID;
    //stmt.executeUpdate(sqry);
    // Next, update the BUS_PRTY_RELA table. Set the all flag
    #sql [fctx] { UPDATE bus_prty_rela
    SET fprevw_all_class_flg = ':sAllFlg'
    WHERE bus_prty_id = parseLong(:busPrtyID) and bus_prty_rela_id = parseLong(:relaID) };
    // Now, insert each line items from the submitted classfication
    for (int i = 0; i < classfication.size(); i++) {
    //sqry = "INSERT INTO fprevr_fp_class( bus_prty_rela_id,fp_cl_ty_cd ) VALUES (";
    //sqry = sqry + relaID + ",'" + classfication.get(i) + "') ";
    //stmt.executeUpdate(sqry);
    #sql [fctx] { INSERT INTO fprevr_fp_class
    ( bus_prty_rela_id,fp_cl_ty_cd )
    VALUES (parseLong(:relaID),':(classfication.get(i))') };
    #sql [fctx] { COMMIT };
    } //end else
    } //end DBInsert
    =======================================
    Now here is the jsp file that calls this as a bean.
    ========================================
    <%@ page language="java" import="java.util.ArrayList" session="true" autoFlush="true" isThreadSafe="true" contentType="text/html; charset=ISO-8859-1" isErrorPage="false" %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    <jsp:useBean class="ReviwerPkg.DBInsertclsBean" id="dbInsert" scope="page" ></jsp:useBean>
    </TITLE>
    </HEAD>
    <BODY>
    DBupdcls.jsp : Attempting to update the database........<BR>
    <%
    String sbusPrtyID = request.getParameter("ReviewerID"); //busPrtyID
    String srelaID = request.getParameter("hidBusPrtyRelaID"); //relaID
    //special handling for the possible array of values returned for selected classes
    String[] sArrClassCodes = request.getParameterValues("chkcls"); //delimited list of selected class codes.
    String sAllclsCD = request.getParameter("chkAllcls"); //all class codes flag.
    ArrayList arL = new ArrayList();
    if (sArrClassCodes != null) {
    if (sArrClassCodes.length > 0 ) { //don't process loop unless we have something.
    for (int i = 0; i < sArrClassCodes.length; i++) {
    arL.add(sArrClassCodes); //add all strings to the array list.
    %>
    <jsp:setProperty name="dbInsert" property="busPrtyID" value="<%=sbusPrtyID%>" />
    <jsp:setProperty name="dbInsert" property="relaID" value="<%=srelaID%>" />
    <%= dbInsert.processClassfications(sAllclsCD,arL) %>
    <H2>The following output is from JSP code:</H2><P><% out.println("Hello World"); %></P>
    </BODY>
    </HTML>
    ==========================================
    I keep getting the following error from sqlj file. : SQL Error:ORA-00904: invalid column name . Actually all the tables and columns exist. I use sql plus, same connection, and everything is fine. As you can see in the sqlj file, I have tried everything including JDBC. It simply wont work. I use the same connection for BC4J, it works. The connection works in SQLJ too, but My co-workers and I can't figure why it doesn't work. We have looked at the Oracle samples without luck. Can someone tell us what to do with this? It would be greatly appretiated.

    Hi Guys, isn't this frustrating? Anyway, I gave up on that issue and decided to create a bean to replace that SQLJ code. Strange as it may sound, the bean didn't work either. Another developer suggested rebooting the machine, and voila; The bean works without a hitch. I still have no clue why SQLJ didn't work. Here is the bean implimentation.
    ============================================
    package ReviwerPkg;
    import javax.ejb.*;
    import java.util.*;
    import java.sql.*;
    public class DBinsertClsEJBBean implements SessionBean{
    private String relaID;
    private String busPrtyID;
    private String usrNM;
    private String password;
    private String schema;
    private String conURL;
    private Connection conn;
    public DBinsertClsEJBBean() {
    public void ejbCreate() throws CreateException {
    // TODO: Add custom implementation.
    public void ejbActivate() {
    public void ejbPassivate() {
    public void ejbRemove() {
    public void setSessionContext(SessionContext ctx) {
    public String getrelaID() {
    return relaID;
    public synchronized void setrelaID(String newRelaID) {
    relaID = newRelaID;
    public String getbusPrtyID() {
    return busPrtyID;
    public synchronized void setbusPrtyID(String newBusPrtyID) {
    busPrtyID = newBusPrtyID;
    public void setUsrNM(String newUsrNM) {
    usrNM = newUsrNM;
    public void setPassword(String newPassword) {
    password = newPassword;
    public String getSchema() {
    return schema;
    public void setSchema(String newSchema) {
    schema = newSchema;
    public String getConURL() {
    return conURL;
    public void setConURL(String newConURL) {
    conURL = newConURL;
    public void setConn(Connection newConn) {
    conn = newConn;
    public synchronized String processClassfications(String sAllFlg, ArrayList classfication) {
    sAllFlg = sAllFlg == null?"N":sAllFlg;
    if (((classfication == null) &#0124; &#0124; (classfication.size() == 0))&&((sAllFlg == "")&#0124; &#0124;(sAllFlg == "N"))) {
    return ("No classfication items to insert!");
    try {
    // Connect to the database
    DBInsert(sAllFlg,classfication);
    // No errors occurred!
    return ("Classfications processed successfully!");
    } catch (SQLException e) {
    String str = new String();
    str = e.getMessage();
    return ("SQL Error:" + e.getMessage());
    } finally {
    try {
    // Disconnect from the database
    conn.close();
    } catch (Exception e) {}
    private void DBInsert(String sAllFlg, ArrayList classfication) throws SQLException {
    Statement stmt = conn.createStatement();
    String sqry = new String();
    if (sAllFlg.equals("Y")) { //process the all selection.
    // First, delete all entries in the class relation ship table
    sqry = "DELETE FROM fprevr_fp_class WHERE bus_prty_rela_id = " + relaID;
    stmt.executeUpdate(sqry);
    // Next, update the BUS_PRTY_RELA table. Set the all flag
    sqry = "UPDATE bus_prty_rela SET fprevw_all_class_flg = '" + sAllFlg + "' ";
    sqry = sqry + " WHERE bus_prty_id = " + busPrtyID + " and bus_prty_rela_id = " + relaID;
    stmt.executeUpdate(sqry);
    } else { //process the individual class codes
    // First, delete all entries in the class relation ship table
    sqry = "DELETE FROM fprevr_fp_class WHERE bus_prty_rela_id = " + relaID;
    stmt.executeUpdate(sqry);
    // Next, update the BUS_PRTY_RELA table. Set the all flag
    sqry = "UPDATE bus_prty_rela SET fprevw_all_class_flg = '" + sAllFlg + "' ";
    sqry = sqry + "WHERE bus_prty_id = " + busPrtyID + " and bus_prty_rela_id =" + relaID;
    stmt.executeUpdate(sqry);
    // Now, insert each line items from the submitted classfication
    for (int i = 0; i < classfication.size(); i++) {
    sqry = "INSERT INTO fprevr_fp_class( bus_prty_rela_id,fp_cl_ty_cd ) VALUES (";
    sqry = sqry + relaID + ",'" + classfication.get(i) + "') ";
    stmt.executeUpdate(sqry);
    } //end else
    =============================================
    here is the call from JSP.
    =============================================
    <%@ page language="java" import="java.util.ArrayList, java.sql.*, oracle.jdbc.driver.* " errorPage="errorpage.jsp" session="true" autoFlush="true" isThreadSafe="true" contentType="text/html; charset=ISO-8859-1" isErrorPage="false" %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    <jsp:useBean class="ReviwerPkg.DBinsertClsEJBBean" id="dbInsert" scope="page" ></jsp:useBean>
    </TITLE>
    </HEAD>
    <BODY>
    <span><STRONG><FONT size=12 color=#008000>Posting changes to the database .......</FONT> </STRONG></span><BR><p>
    <%
    String sbusPrtyID = request.getParameter("ReviewerID"); //busPrtyID
    String srelaID = request.getParameter("hidBusPrtyRelaID"); //relaID
    //special handling for the possible array of values returned for selected classes
    String[] sArrClassCodes = request.getParameterValues("chkcls"); //delimited list of selected class codes.
    String sAllclsCD = request.getParameter("chkAllcls"); //all class codes flag.
    ArrayList arL = new ArrayList();
    if (sArrClassCodes != null) {
    if (sArrClassCodes.length > 0 ) { //don't process loop unless we have something.
    for (int i = 0; i < sArrClassCodes.length; i++) {
    arL.add(sArrClassCodes); //add all strings to the array list.
    //create a jdbc connection for use with the EJB
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    //open a connection for the thin driver
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@146.76.1.19:1521:devl", "pgat490", "pgat490");
    %>
    <jsp:setProperty name="dbInsert" property="busPrtyID" value="<%=sbusPrtyID%>" />
    <jsp:setProperty name="dbInsert" property="relaID" value="<%=srelaID%>" />
    <jsp:setProperty name="dbInsert" property="Conn" value="<%=conn%>" />
    <span><STRONG><FONT size=12 color=#008000>
    <%= dbInsert.processClassfications(sAllclsCD,arL) %>
    </FONT></STRONG></span>
    </BODY>
    </HTML>
    =============================================
    Here is the same connection but done the way the documentation shows. IT DOESN'T WORK. Compare that to the one above.
    String myhost = "146.76.1.19";
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@(description=(address=(host=myhost)(protocol=tcp)(port=1521))(connect_data=(sid=devl)))", "pgat490", "pgat490");
    If you ask me, I suspect that the second syntax won't register the driver. Anyone know why it doesn't work? I still have a lot of unanswered questions eg the SQLJ ones. So simple yet a bear to get working. I am worn out from having to discover everything by trial and error. I know Java but this tool is something else.

  • Error implementing Auto Suggest Behaviour (JDeveloper Tutorial)

    Hi,
    I'm using JDev 11g R2 on Mac OSX. In the JDeveloper Tutorial "Developing Rich Web Applications with Oracle ADF", Part 3, Step 3, I don't get the "Insert Auto Suggest Behavior dialog box", so I used the property inspector to enter "#{bindings.JobId.suggestedItems}" in the "SuggestedItems" property.
    When I run the application, and type a value in the JobId, I get the error:
    suggestedItems="#{bindings.JobId.suggestedItems}": Method not found: 0.suggestedItems(java.lang.String)
    I checked the bindings in "query.jsf", and they're all set.
    Does anyone have an idea what could be wrong?
    Kind regards,
    Philip

    The tutorial (http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_3.html) suggests that you can drag and drop the auto suggest behavior onto the JobId. But you cannot.
    By default, the JobId item is not created as an element that can accept an auto suggest behavior. The source for the item should resemble:
                <af:inputComboboxListOfValues id="jobId1Id"
                                              popupTitle="Search and Select: #{bindings.JobId1.hints.label}"
                                              value="#{bindings.JobId1.inputValue}"
                                              label="#{bindings.JobId1.hints.label}"
                                              model="#{bindings.JobId1.listOfValuesModel}"
                                              required="#{bindings.JobId1.hints.mandatory}"
                                              columns="#{bindings.JobId1.hints.displayWidth}"
                                              shortDesc="#{bindings.JobId1.hints.tooltip}">
                    <f:validator binding="#{bindings.JobId1.validator}"/>
                    <af:autoSuggestBehavior suggestedItems="#{bindings.JobId1.suggestedItems}"/>
                </af:inputComboboxListOfValues>However, when the form itself is dropped onto the page, the JobId is created as a selectOneChoice.
    This seems to be an error with the tutorial (http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_2.html).
    Edited by: Dolphin on Sep 29, 2012 2:37 PM

  • -- Establishing contact with Oracle 8i & JDeveloper Teams

    Hi,
    We are a tool vendor (Quintessence Systems). We have developed a
    generalized, fully automated tool which generates 100% pure Java
    classes from stored PL/SQL (Packages, Procedures, Function etc)
    objects.
    The tool itself, written entirely in Java, parses and tokenizes
    PL/SQL objects then rapidly generates 100% pure Java. This
    provides existing Oracle customers with the ability to:
    - Continue developing in PL/SQL for as long as necessary
    transparently gain the benefits of a Java deployment of their
    business logic
    - Migrate their PL/SQL automatically to Java if required
    - Create EJBs from Stored Procedures in conjunction with
    JDeveloper and gain the benefits of distributed component based
    computing
    - Automatically deploy PL/SQL stored procedures in Java in an
    Oracle Application Server
    We would be very interested in developing close contacts within
    your group (at both technical and product manangement levels) as
    I believe this technology could become and important Internet,
    distributed computing and e-commerce enabler for your customers.
    Please advise me who you think would be useful people for us to
    contact by email at both a technical and product management
    level.
    I look forward to your reply. Please email me directly at
    [email protected]
    Thanks.
    Elton Barendse
    CEO
    Quintessence Systems
    null

    Hi Gloria,
    If you mean, "Will it work?" the answer is yes. Oracle9i JDeveloper should work with either the 8i or 9i versions of the database.
    Something in your question (perhaps it was that you mentioned you had a "free" copy of JDeveloper) makes me unsure whether this is what you were asking, however. If your question is "Is it legal?" then it depends on what you want to do with it. You're welcome to play around with JDeveloper and the database all you want; explore its features and evaluate it. However, if you want to deploy an application developed with JDeveloper in a commercial or other production setting, you do need to buy a license.
    Hope this helps,
    Avrom

  • Jdeveloper Team RE Jdeveloper 9.0.3 For Non-Oracle Databases

    I see that support for non-Oracle databases and Third-Party JDBC drivers is very improved. However, I have tried to use the SAPDb JDBC driver and the BC4J tester and generated Swing clients all display greyed so that no updates are possible. This appears to be a bug since Jbuilder works fine with this driver. However, I think Jbuilder's Express dataset and commit philosophy is really bad. Any commitments as to when this will be fixed?

    Yes, I examined the attribute settings and manually adjusted them in the entities and views. They are now updateable. Using Jdeveloper with SAPDB would be very tedious. Jdeveloper did not recognize foreign key constrains, primary keys, nor that attributes were updateable.
    Is there a way to include SAPDB in the testing? It is trivial to install and run and would make Jdeveloper a more robust tool. I do not like Jbuilder's approach to master-detail client screens and would recommend using Jdeveloper for this type of work if it could handle more databases like SapDb.

  • JDeveloper Team:

    We am currently using JDev903. We are not ready to upgrade to JDev905.2.
    We were looking at the new LAF for the 1st & 2nd Level menus with JDev905.2
    Question:
    Is there is a way to replace JDev903's 1st & 2nd level menus with JDev905.2?
    Tks.

    Correct me if I'm wrong. You want to customize the LAF on your application using JDev 9.0.3. The LAF customization support was built-in to the version of UIX that is shipped with the 10g (9.0.5.x) release of JDeveloper. So, if you want to customize the LAF of your application you will have to migrate to 10g.
    - Jonas
    Jdev Team

  • JDeveloper Team - How to print Barcodes from java application

    We are developing an Inventory based application in JDeveloper 3.2.2/Oracle 8i/Netscape Enterprice web server on Windows NT platform. The application is developed in swing technology.
    We have to print Barcodes on Intermec 3400/4100 or Zeebra Z4000 (connected to COM1/COM2) from our java application from one of our screens.
    Can you please point me to right place or get me sample source how to achieve this. We are working on a timebound deadline and we are really counting on your sincere response ASAP. Thanks in advance.
    VR
    null

    Try creating a page called launcher.html (for example). That does this:
    <html>
    <head>
    <script language="javascript">
    windowHandle=window.open("http://www.javasoft.com", "", "height=700,width=1000,status=no,scrollbars=yes,resizable=yes,toolbar=no,menubar=no,location=no,top=5,left=5");
    </script>
    </head>
    </html>Now you launch IE (or whatever) with this page using the Runtime class. After x seconds (after the second window has been launched) try killing the process. Hopefully it will kill the original window you opened and not the window you popup (the one without toolbars etc)
    It might kill both windows but I can't be bothered to test it. If it does you'll have to try and find a workaround.

  • Question for JDEVELOPER TEAM

    Hi
    Oracle for each product has .pdf manuals
    but nothing for jdeveloper, In releases 1.0,2.0,3.0, ...
    Why?
    null

    The organization of the docs we deliver--around narrow tasks, heavily cross-linked--does not translate well into PDF or book format.
    If you want a print guide to JDeveloper, there are two options:
    A) There is a third-party book, by Paul Dorsey, coming out in a month or so.
    B) If you are using HTML help (which is likely if you have Internet Explorer on your machine), you can print out a large section of the current help system at once using the following procedure:
    1) Choose Help | Help topics
    2) In the left-hand pane, right-click the folder that interests you and choose Print.
    3) In the dialog that opens, select "Print the selected heading and all subtopics."
    This will print the entire contents of the folder.
    null

  • JDeveloper Team - How do I display multiple rows in a gridControl

    When I execute a SQL select statement and display the results in a gridControl only the first row gets displayed in the grid.
    Could you please give me a solution for this problem?
    null

    If this query is based on a View object, can you verify the number of rows returned in BC4J Tester ?.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kusan Atukorala ([email protected]):
    When I execute a SQL select statement and display the results in a gridControl only the first row gets displayed in the grid.
    Could you please give me a solution for this problem?<HR></BLOCKQUOTE>
    null

  • Site check // website intro // suggestions for dev team

    Hello, my name is XDude and I'm reliving my glory days of when I used to make long, elaborate website intros in Macromedia Flash.
    Just kidding.
    But I did make this today: http://12voltwizard.com/intro/
    (Ultra rough first draft, takes a while to load, don't blink or you might miss the animation.)
    For everybody:
    Aside from the long loading time, does it work on all your fabulous devices, tablets, etc.?
    For the devs:
    The program has certainly come a long way since version 1! Thanks so much for including all the lessons right inside the program, it made the learning process super-easy.
    Overall, making the animation was mostly painless. I did find myself a bit bewildered by the lack of a "modify the background color of the document body" (not just the stage) or "add a body background image" feature. (Unless that's what a down-level stage is?)
    My hax0ring skilz were also a little too weak to get the preloader image to appear in the center of the page...
    If there could be a way to move the playhead with the keyboard (like hitting the Page Down key in After Effects or Premiere) that'd be awesome.
    Other than that ... well, I'm super-excited to see that Flash 3 lives again!!

    I just had a look at it in Chrome... performance was crap!
    Can anyone else also look in Chrome and let me know?
    P.S. the graphics are a bit low-res for desktop (it's mostly designed for mobile users).
    Thanks

Maybe you are looking for