To JDev Team. PCOL_CONTROL table bug in JDev9i

I have an application that I developed in 3.2 using BC4J. When I open my workspace in 9i, It upgrades BC4J, but I can navigate through the records of my larger BC4J View Objects. The smaller ones with less than 100 total rows work fine, but the ones with more rows (this one has 836) don't work. Here are the errors I get:-
JBO-28020: Passivation error on collection AllWauView, node id 146
BO-28030: Could not insert row into table null, id 146: ORA-00001: unique constraint (PGAT490.NULL_PK) violated
ORA-06512: at line 1
When I look at the database, looks like the BC4J engine is attempting to insert nulls into the primary key column. I had no problems in the Jdev 3.2. AllWauView is a view I built in expert mode, and all it does is a simple SELECT from a group of tables for a list of values. Please let me know if I am missing something here. I attempted to bump the prefetch count to 1000 but it doesn't help.

Weird as this may sound, the problem has re-curred again. This time even after running the clean-up procedure that Steven posted seems to have no effect. I get the same exact error. I also notice a table called 'null' has been created in my schema, besides the PCST_* and PCOL_* tables. What is this null table? Is it supposed to have a different name and Jdeveloper gives null as the name? Anyway, now I am back to square one. The spill-over behaviour also seems to be random. Is it possible that running the clean up procedure (I installed the PL\SQL package into my schema) from SQL PLUS doesn't really fix anything, and that there is another reason for the problem? I even got a weird error message that said that an insert into the table null has failled, leading me to think this table was actually valid, but isn't null a reserved word that we can't use to name a table in Oracle? Sure it is a spill over problem as it only occurs with my larger view object, and interestingly enough, not when I navigate the rows one at a time, but when I attempt to scroll all the way to the last row while populating my LOV. This doesn't happen with 3.2, so I think there is actually a bug in the 9i implementation. Any comments on that?

Similar Messages

  • JDev web resources besides OTN & JDev team blogs?

    Gang,
    Besides OTN, the OTN forums and the Oracle JDeveloper development team blogs, has anybody found any other JDeveloper resources on the 'Net?
    I know Paul Dorsey, part author of the "Oracle JDeveloper 10g Handbook" has a website and a few presentations somewhere that was okay..... but are there any other rich sites I'm not visiting?... Or is Oracle it?
    It would be nice to know what others have found.
    Cheerio,
    CM.

    Shay, I'd like to stick my foot in (my mouth?) too with my opinion.
    (Apologies but I didn’t have a lot of time to draft this message so please ignore any typos and poor grammar)
    Let me start by saying I'm an Oracle programmer with 10 years experience, having coded using Designer, (-J)Headstart, Forms, Reports, database modelling, PLSQL everywhere you can possible stick it.... etc etc etc. I infrequently teach week courses on Forms, SQL, PLSQL etc. My point being is I'm no monkey in appreciating technology. I’m not brilliant but you can call me Mr Average Programmer – if it makes sense I’ll work out how to use it.
    I'm also on the Australian Oracle User Group committee, have been for several years, have meet and talked to several other senior consultants who have used JDeveloper who have extensive Oracle experience.
    And the general consensus is that the JDeveloper documentation is of poor quality.
    Now I’d like to substantiate my claims by giving evidence rather than just expressing an opinion. For a minor documentation bug I’ve recently raised, see TAR 4212035.995 bug 4058863. I’ve found more documentation errors, but after a while I always become worn down through the tedious TAR process, and just prey it will be improved in the next release.
    This bug, as you’d appreciate is a rather minor issue, but boy do I waste a lot of time working out how to use JDeveloper without the correct and complete documentation. I spend time having to search the OTN examples, forums etc, then posting to the Forums and Oracle Support for help. So much for “productivity” with choice.
    As another example, do a search in JDeveloper for “uixState”. Most UIX LOVs are useless without it in the partialtargets element….. but it’s another undocumented feature that I only found out about via the forums. Another, the javaType field within the UIX <invoke> tag: exactly what data types are allowed? If I’m not mistaken (I might be, I’m still learning my way around Java), “string” is not a valid Java type…. isn’t it “String”? See my confusion, and the documentation doesn’t say much at all. Does this mean if I return a “Number” I should use “number”.
    Would you like to get away from UIX documentation errors? Well try bringing up the help for the “Pooling and Scalability” tab, under the Configurations sub-menu option for an Application Module (the help page is entitled “Configuration Manager – Pooling and Scalability”). See all those “text” comments and “to be included in future release” comments. Not much use are they?
    Moving on to your question about “how-to”s we’d like to see is a relevant one. I can only talk from my personal experience, but what I’d like to see relevant to my current project is (or would have been useful in the past):
    1)     UIX lov – returning multiple fields.
    2)     UIX lov – using lovUpdate event with multiple LOVs on the screen.
    3)     UIX lov – a complete example that allows the user to “type” in a value to a <messageLovInput>, validates the entry against a database table via some exposed AM/VO method, clears and displays the LOV if the user enters an invalid value.     
    4)     UIX trees – proper discussion on setting up hierarchical VOs and associations.
    5)     UIX trees – example of programming insert and delete node functionality, with the example showing how to write the values through to the database.
    6)     UIX hgrids – example derived from database, where the user can insert/delete values through to the database.
    You’ll notice I’m focusing on the UIX technology. Simply put it’s what we’re using at my current site.
    2 other issues I’d like to point out too though. Notice the focus on LOVs? Well I’m an ex-Forms programmer who knows the power of the Forms LOV control. I’ve been confused, annoyed then resigned to the fact that you’ve got a hell of a lot to do yourself with JDeveloper LOVs, unlike Oracle Forms LOVs where so much functionality is built into the control. In return you might argue “this is JDeveloper Chris, not Oracle Forms”. You’re right of course, and I can accept that I have to learn the JDev way of doing things. But, and “big” but here, there are no detailed how-tos comparing the features of Oracle Forms LOVs and how to do the same thing in JDeveloper. And I mean complete examples.... which check values against the database, pop-up the LOV as described above list.
    So in your how-tos, try to think about what Forms programmers can do, and show how you would do it in JDeveloper. We need more than the simple examples because we’re learning your tool, we’re not experts in JDeveloper, and we can’t read your mind when you give (what I consider to be) overly simple examples where the author assumes given a little headstart that everyone else will be able to run with it. It took me ages to work out how to return multiple fields from a LOV (and my implementation probably s*cks).... call me stupid, but a complete how-to would have saved me lots of time.... and other people too (ie. Forms programmers) because I see the same questions appear on OTN again and again.
    To reiterate, think about the productive functionality Forms provides you, and provide how-tos on what to do in JDeveloper. Simple really.
    The 2nd point I’d like to make is you need to give complete examples. To give an example of a poor-example, recently Steven Muench (or was it Jones Jacob, sorry I forget) published a ‘how-to’ on his blog on populating a UIX tree. What was missing? Firstly documentation (though a promise of some in the future was given). Secondly how to allow the user to add/delete entries from the tree. Thirdly how to add/delete those entries from the underlying table. Fourthly dealing with updating the underlying iterators and web page given the users actions. And so on....
    I can hear you asking “what? You want us to do everything for you!?” No, but more complete examples would be great. Without a doubt in my opinion, the best example of this would be the “Building Oracle ADF Applications: A Comprehensive Workshop” tutorial. Obviously a lot of effort was put into that tutorial, but if all tutorials were written with this level of detail, I don’t think I’d be writing this post, the JDeveloper team wouldn’t be spending so much time answering queries on the Forums, and the Oracle Support team could spend more time doing training.
    Hear me out on my next comment – I’m not Oracle bashing! Just making a point.
    With regards your comments about writing blogs, and increasing the JDeveloper web-community, thinking about it logically I just can’t see it happening. The basic problem is you’re “Oracle Corporation” (aka the Other Microsoft). You’re not an Open Source **community** group. So people don’t have much reason to write blogs to the benefit of essentially Oracle.... unless they can make money out of it. They don’t get the kudos or just the good vibes of writing for the effort of everybody (essentially why Open Source exists – for the benefit of all – communism, power to the people, etc). This leads onto my second point. The people who work with Oracle tools, in complex-detail, besides Oracle’s own staff, are being paid far too much money working with your tools to waste time working on blogs. I’d love to write one, but time evades me and I’d rather make money out of the exercise. (I gotta feed my kids somehow - or maybe have some, either one ;)
    This puts you, the JDeveloper team in an interesting position. I know you’re really keen to get your tool used outside Oracle. Why do I think this? Basically your implementation of the Struts diagram tool and huge focus on JSF (aka ADF Faces) – I haven’t seen the other IDEs provide such functionality yet and I think you’ve tried very hard to provide these new features to beat the competition. But, unlike the Open Source efforts like Eclipse and Net Beans (etc), as I just mentioned, I don’t think you’ll ever get much support from the JDeveloper community in assisting your documentation efforts with this tool. So what have you got to do to increase market share besides great new features like the Struts diagrammer??....
    Well I hope’s it’s obvious after typing all of this......as there is little activity in the Internet regarding your product and how to use it besides OTN, and given complaints about your poor level of documentation, this means you should focus heavily on documentation in each release. Make sure it’s up to date. Make sure it’s complete. Review it all each time. Make plans for how it could be improved and expanded.... don’t just focus on the tool.
    I think I can hear you screaming “but we do you bl**dy idi*t!” But I’ll answer in turn.... the perception is you don’t, and the evidence in front of me shows you haven’t..... so my conclusion is I think valid.
    Also let me place a warning that the risk is if you don’t provide better documentation, my peer-consultants will not recommend JDeveloper. I know of 2 specifically who will have a very hard look at JDeveloper a 2nd time before recommending it to a client, because of their experience with the tool – in particular there frustration with the poor documentation. If they’re making such decisions, I bet others are too.
    With all the above in mind please note my goal of this whole post, and I know I’ve posted a lot, is not to be exceptionally critical of JDeveloper and the JDeveloper team. However I thought it was worthwhile writing a comprehensive message to the forum for you to look at... rather than the 1 or 2 liners you usually get.
    Gee, I should have started a blog and posted this entry I think.
    I’ll finish this post by saying that I’m thankful that the JDev team monitors this forum and puts in a good effort in supporting us, your clients, saving us a TAR or 2 and probably going bald.
    Regards,
    CM.
    PS. If you’d like to contact me for further information, you can find my current email address associated with the TAR mentioned above.
    Also please note the “standard disclaimer”, that none of the above is my employer’s or clients’ opinions; it is all totally of my own opinion.

  • JDev Team - how to add a Data Aware Control to grid control

    The default editor for GridControl cells is a data-aware TextField, but I want to use a ComboBoxControl. If I use the setEditor() method of the TableColumn, the cell is edited using a combo, but there are problems:
    1. Navigated events do not fire when focus is moved in or out of the cell and
    2. When focus moves to another cell in the same column, the cell losing focus is blanked.
    How can I setup/attach a custom editor based on a Data Aware Control to avoid these problems?
    The code I am using
    1. declares combobox controls to be used with grid as member variables of my frame class
    ComboBoxControl comboBoxSrcSystem = new ComboBoxControl();
    ComboBoxControl comboBoxSrcSysVersion = new ComboBoxControl();
    ComboBoxControl comboBoxSrcTable = new ComboBoxControl();
    ComboBoxControl comboBoxSrcColumn = new ComboBoxControl();
    2. sets up the combo in the jbInit method of the frame class :
    // for gridControlMapRuleSrcCols column SystemName
    comboBoxSrcSystem.setListKeyDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
    comboBoxSrcSystem.setListValueDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
    comboBoxSrcSystem.setDataItemNameForUpdate("infobus:/oracle/sessionMapTool/rowSetMapRuleSrcCols/SystemName");
    3. In the frame constructor calls a method to add combos to the grid
    addMapSrcColGridCombos();
    which is defined as
    private void addMapSrcColGridCombos() {
    // add combos to gridControlMapRuleSrcCols grid
    JTable mapSrcColTable = gridControlMapRuleSrcCols.getTable(); // access the JTable
    addComboEditor( mapSrcColTable, "SystemName", comboBoxSrcSystem );
    addComboEditor( mapSrcColTable, "SystemVersion", comboBoxSrcSysVersion );
    addComboEditor( mapSrcColTable, "TableName", comboBoxSrcTable );
    addComboEditor( mapSrcColTable, "ColumnName", comboBoxSrcColumn );
    4. It makes use of the following method:
    private void addComboEditor( JTable table, String colName, ComboBoxControl combo )
    TableColumn col = table.getColumn(colName);
    col.setCellEditor( new DefaultCellEditor( combo ) );
    null

    Given the usual deafening silence from the JDev team, I'll post my resolution of the problem.
    I could not find a way of creating an editor directly from a ComboBoxControl which would behave properly in a GridControl. However, JComboBox does work, so I
    1. add a Navigated listener to the GridControl
    2. in the navigatedInColumn event handler I create a JComboBox from a ScrollableRowsetAccess and
    3. use it to create a custom CellEditor for the target column.
    (I also remove the editor in the currently focused column in the navigatedOutColumn, but I don't think this is strictly necessary.)
    This solution also works after a Rollback, when the columns of the gridcontrol are reset/rebuilt, and handles dynamic combos that are dependent on the current row values.
    Unfortunately, unlike ComboBoxControl JComboBox does not allow for a key/value mapping, so the combo editor can only display the values to selected from, not a user-friendly label.
    I attach some code snippets to illustrate the solution:
    1. declare member variables
    // declarations for Custom Grid Editors
    NavigationManager navMgr = NavigationManager.getNavigationManager();
    static String SYS_NAME_COL_NAME = "SystemName";
    static String SYS_VER_COL_NAME = "SystemVersion";
    static String TAB_NAME_COL_NAME = "TableName";
    static String COL_NAME_COL_NAME = "ColumnName";
    RowSetInfo rowSetSystemCombo = new RowSetInfo();
    AttributeInfo SystemNamerowSetSystemCombo = new AttributeInfo();
    ScrollableRowsetAccess sysNameComboRS = (ScrollableRowsetAccess)rowSetSystemCombo.getRowsetAccess();;
    static ImmediateAccess sysNameComboIA = SystemNamerowSetSystemCombo.getImmediateAccess();
    static RowSetInfo rowSetMapTgtColTableCombo = new RowSetInfo();
    static AttributeInfo TableNamerowSetMapTgtColTableCombo = new AttributeInfo(java.sql.Types.VARCHAR);
    static ScrollableRowsetAccess tgtTabNameComboRS = (ScrollableRowsetAccess)rowSetMapTgtColTableCombo.getRowsetAccess();;
    static ImmediateAccess tgtTabNameComboIA = TableNamerowSetMapTgtColTableCombo.getImmediateAccess();
    2. in jbInit() set up the combo rowsets (use Design mode)
    SystemNamerowSetSystemCombo.setName("SystemName");
    rowSetSystemCombo.setAttributeInfo( new AttributeInfo[] {
    SystemNamerowSetSystemCombo} );
    rowSetSystemCombo.setQueryInfo(new QueryViewInfo(
    "SystemComboView",
    rowSetSystemCombo.setSession(sessionMapTool);
    rowSetSystemCombo.setName("rowSetSystemCombo");
    SystemVersionrowSetMapSrcColSysVersionCombo.setName("SystemVersion");
    rowSetMapSrcColSysVersionCombo.setAttributeInfo( new AttributeInfo[] {
    SystemVersionrowSetMapSrcColSysVersionCombo} );
    rowSetMapSrcColSysVersionCombo.setQueryInfo(new QueryViewInfo(
    "SourceSystemVersionComboView",
    "SYSTEM_VERSION DESC"));
    rowSetMapSrcColSysVersionCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColSysVersionComboLink"));
    rowSetMapSrcColSysVersionCombo.setSession(sessionMapTool);
    rowSetMapSrcColSysVersionCombo.setName("rowSetMapSrcColSysVersionCombo");
    TableNamerowSetMapSrcColTableCombo.setName("TableName");
    rowSetMapSrcColTableCombo.setAttributeInfo( new AttributeInfo[] {
    TableNamerowSetMapSrcColTableCombo} );
    rowSetMapSrcColTableCombo.setQueryInfo(new QueryViewInfo(
    "SourceTableComboView",
    "TABLE_NAME"));
    rowSetMapSrcColTableCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColTableComboLink"));
    rowSetMapSrcColTableCombo.setSession(sessionMapTool);
    rowSetMapSrcColTableCombo.setName("rowSetMapSrcColTableCombo");
    ColumnNamerowSetMapTgtColColumnCombo.setName("ColumnName");
    rowSetMapTgtColColumnCombo.setAttributeInfo( new AttributeInfo[] {
    ColumnNamerowSetMapTgtColColumnCombo} );
    rowSetMapTgtColColumnCombo.setQueryInfo(new QueryViewInfo(
    "TargetColumnComboView",
    "column_name"));
    rowSetMapTgtColColumnCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleTgtCols,"MapTool.MapRuleTgtColColumnLink"));
    rowSetMapTgtColColumnCombo.setSession(sessionMapTool);
    rowSetMapTgtColColumnCombo.setName("rowSetMapTgtColColumnCombo");
    3. add methods to handle the Navigated events (use Design mode to ensure add listener code
    is generated)
    void gridControlMapRuleSrcCols_navigatedInColumn(NavigatedEvent e) {
    debug("gridControlMapRuleSrcCols_navigatedInColumn");
    show_nav_info();
    String dataItemName = navMgr.getTargetDataItemName();
    String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
    JTable table = gridControlMapRuleSrcCols.getTable();
    if ( SYS_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.sysNameComboRS, dbMapTool.sysNameComboIA );
    else if ( SYS_VER_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcSysVerComboRS, dbMapTool.srcSysVerComboIA );
    else if ( TAB_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcTabNameComboRS, dbMapTool.srcTabNameComboIA );
    else if ( COL_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcColNameComboRS, dbMapTool.srcColNameComboIA );
    void addComboEditor
    ( JTable table
    , String colName
    , ScrollableRowsetAccess rs
    , ImmediateAccess ia
    // note must get TableColumn afresh each time because when grid is reset
    // on rollback the Table ColumnModel is rebuilt
    TableColumn tc = table.getColumn(colName);
    debug("add JComboBox as editor");
    Vector v = new Vector();
    try {
    // Retrieve and store values for JComboBox using the InfoBus API.
    boolean moreRows = rs.first();
    while (moreRows) {
    // stores value in vector
    v.addElement(new String(ia.getValueAsString()));
    moreRows = rs.next();
    // make column Cell Editor a JComboBox with retrieved values
    tc.setCellEditor(new DefaultCellEditor(new JComboBox(v)));
    catch (Exception e0) {
    e0.printStackTrace();
    void show_nav_info() {
    debug( "Focused Data Item = " + navMgr.getFocusedDataItemName() );
    debug( "Target Data Item = " + navMgr.getTargetDataItemName() );
    void debug(String s)
    System.out.println(s);
    void gridControlMapRuleSrcCols_navigatedOutColumn(NavigatedEvent e) {
    debug("gridControlMapRuleSrcCols_navigatedOutColumn");
    show_nav_info();
    String dataItemName = navMgr.getFocusedDataItemName();
    String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
    JTable table = gridControlMapRuleSrcCols.getTable();
    if ( SYS_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor(table, columnName);
    else if ( SYS_VER_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    else if ( TAB_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    else if ( COL_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    void removeComboEditor ( JTable table, String colName ) {
    debug("remove JComboBox as editor");
    TableColumn tc = table.getColumn(colName);
    tc.setCellEditor(null);
    4. Note that when navigated event code is added through the designer, jbInit() is
    amended to add a Navigated Listener to the grid
    gridControlMapRuleSrcCols.addNavigatedListener(new oracle.dacf.control.NavigatedAdapter() {
    public void navigatedInColumn(NavigatedEvent e) {
    gridControlMapRuleSrcCols_navigatedInColumn(e);
    public void navigatedOutColumn(NavigatedEvent e) {
    gridControlMapRuleSrcCols_navigatedOutColumn(e);
    null

  • To JDev Team : SQL generated, Struts, BC4J Admin, ...

    Hi,
    I've followed the Tutorial 'Generating a Struts-based JSP Application for an
    Application Module', where I'm working with only one table.
    When I run the 'main.html', on the left side ( navigator ), there are 'Browse' and 'Query' options.
    Every time I click on 'Browse', I always have this error :
    Error Message: JBO-26044: Error while getting estimated row count for view object TimesheetView1, statement
    SELECT count(1) FROM (SELECT Timesheet.ts_id, Timesheet.ts_user, Timesheet.ts_code, Timesheet.ts_date, Timesheet.ts_hour
    FROM timesheet Timesheet) ESTCOUNT
    My config are :
    * Win2K
    * JAVA_HOME set to j2sdk1.4.1_01
    * mySQL 3.23.49 with JDBC driver mysql-connector-java-2.0.14-bin.jar
    * I use ultraDevHack=true as parameter within the URL
    Even with 'ultraDevHack=true' parameter, the subselect still not working.
    I've seen in the forum that JDev Team have tried with that parameter, and it worked,
    but it didn't mention with which version of mySQL and which JDBC driver.
    I would like to modify the above SQL into a simpler one 'SELECT COUNT(*) FROM timesheet'.
    Anybody know how ?
    The View Object Wizard didn't help me at all for the above SQL.
    In fact I would like to fully controled, modified, or cuztomised all SQL generated.
    Back to main.html, the header contains two buttons 'BC4J Admin' and 'Help'.
    When I click on 'BC4J Admin', I have this :
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java
    error: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package _wm;
    ^
    2 errors
    Why is that ?
    Out of scope, sometimes it's very slow accessing this forum ( 'Connection timed out' or 'The specified network name is no longer available' ...).
    Any of you have the same problem ?
    Is it possible to put some criterias within the Search, i.e. Sort by Date ?
    Any help would be appreciated.

    Hi,
    I've followed the Tutorial 'Generating a Struts-based JSP Application for an
    Application Module', where I'm working with only one table.
    When I run the 'main.html', on the left side ( navigator ), there are 'Browse' and 'Query' options.
    Every time I click on 'Browse', I always have this error :
    Error Message: JBO-26044: Error while getting estimated row count for view object TimesheetView1, statement
    SELECT count(1) FROM (SELECT Timesheet.ts_id, Timesheet.ts_user, Timesheet.ts_code, Timesheet.ts_date, Timesheet.ts_hour
    FROM timesheet Timesheet) ESTCOUNT
    My config are :
    * Win2K
    * JAVA_HOME set to j2sdk1.4.1_01
    * mySQL 3.23.49 with JDBC driver mysql-connector-java-2.0.14-bin.jar
    * I use ultraDevHack=true as parameter within the URL
    Even with 'ultraDevHack=true' parameter, the subselect still not working.
    I've seen in the forum that JDev Team have tried with that parameter, and it worked,
    but it didn't mention with which version of mySQL and which JDBC driver.
    I would like to modify the above SQL into a simpler one 'SELECT COUNT(*) FROM timesheet'.
    Anybody know how ?
    The View Object Wizard didn't help me at all for the above SQL.
    In fact I would like to fully controled, modified, or cuztomised all SQL generated.
    Back to main.html, the header contains two buttons 'BC4J Admin' and 'Help'.
    When I click on 'BC4J Admin', I have this :
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java
    error: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package _wm;
    ^
    2 errors
    Why is that ?
    Out of scope, sometimes it's very slow accessing this forum ( 'Connection timed out' or 'The specified network name is no longer available' ...).
    Any of you have the same problem ?
    Is it possible to put some criterias within the Search, i.e. Sort by Date ?
    Any help would be appreciated.

  • TO JDEV TEAM: JBO-28020/JBO-28006 ERRORS

    Hi,
    I deploy a BC4J application (made with Jdev official) on an OC4J container 9.0.2. the application use a 9i data base.
    frequently, when we try to insert or update rows in viewObject, we have the following error :
    Application Error
    Return
    Error Message: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
    Error Message: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
    oracle.jbo.PCollException: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
    <>
    ## Detail 0 ##
    oracle.jbo.PCollException: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
    <>
    ## Detail 0 ##
    java.sql.SQLException: ORA-00955: Ce nom d'objet existe dij`
    <>
    This is a pressing issue, and I'd need an answer asap. Could anyone from the JDEV team please help me on this?
    Thanks a lot!

    Stephane:
    Could you send me the entire stack trace?
    It would also help if you can translate some of the "important" exception messages into English for me (sorry).
    Thanks.
    Sung

  • Need Help from JDev Team

    Hi,
    I posted a question here early yesterday and I haven't received any kind of reply yet!!! I understand if someone from this forum cannot help me... but I need the Jdev team to respond to me ASAP!!!!
    I'm using JDev 3.2, trying to use the Source Control feature to connect to Repository 6i. I can connect without any trouble and I can see the work area and navigate through the folders (that were created by the owner), however when I try to click on any of the 'files' branches of the folder/file tree - I get this error.
    ckron61.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.
    There are 3 of us who are trying to connect, one can do it successfully... two of us cannot. I also tried to connect and access those files on another machine and it worked as well.
    All of our systems have been imaged the exact same way.
    What could the problem be...
    I appreciate your help.... thanks.

    Hi Jolene,
    I would recommend upgrading to the latest release of Repository, since it contains many bug fixes. I'm afraid I'm not sure what is causing your specific problem.
    It's also worth making sure your OS is patched up to the latest service pack.
    Oracle9i JDeveloper's support for Oracle SCM (aka Repository) is far more comprehensive than 3.2, so this is a good upgrade to make as well :)
    About UIX, the best thing is probably to post a new message to the 9i JDeveloper forum. It's not an area I'm overly familiar with, but I'm sure someone else on that forum will be able to help you out.
    Thanks,
    Brian
    JDeveloper Team

  • Jdev Team - Frustrated with Simple UIX-XML test case

    Why can't I get a simple UIX-XML test case to run? Better still why can't I get a response as to why it won't run? This is my second attempt at a post as the other was just left hanging. Iwas asked for more info, I provided it and that ended that.
    Again, I created a workspace. Used the scott schema and created a project with a set of VO's (and took the ALL defaults). I have created a UIX-JSP and BC4J-JSP projects that both run fine (taking all the defaults). In that same workspace without any modifications to the VO's I created a UIX-XML project. The main menu runs fine. None of the forms will run. I get the following error if I choose ANY form from the menu or I get the same error if I just run any form from Jdeveloper (except main.uix of course):
    Servlet error: Renderer failed: java.lang.ArrayIndexOutOfBoundsException: -10
    What is happening? Why cant I get this to run. Is this a failed technology? I can't seem to find any working UIX samples.
    TIA,
    Ed.
    PS. A footnote: * It seems if you don't get an answer from the Jdev team inside of two days your post is toast (unless it's a rant in which case everyone seems to jump on the band wagon). :-) :-) :-) ;-)

    Hmmmmm...... did I mention I was on Internet Explorer 6.0.2600.0000 ? Probably does not matter.
    Also, although I loaded the full 9i Developer suite, I also loaded (in a seperate directory), Sun's J2DKSE 1.3.1_03 and J2DKEE 1.3.1 and have the following local environment variables set:
    JAVA_HOME = d:\java\j2sdk
    JDK_HOME = d:\java\j2sdk
    J2EE_HOME = d:\java\j2sdkee
    JDEV_HOME = d:\oracle\9iDS\jdev
    Are any of these redundant or are they clobbering something for UIX-XML?
    TIA,
    Ed.

  • Happy Christmas and thank you for JDEV Team for great job this year

    We got one of the best development from Oracle with JDEV and a TP3 for Christmas ... even i will go skiing too and may be sailing a little bit depending on weather, i will for sure go in depth into TP3 these holidays.
    Thank you
    Have nice holidays
    Greetings

    Thanks alot for this gift Oracle Jdev Team!
    Greetings from Spain!
    Westh

  • To thank from JDev team.

    Thanks all JDev team, which improved
    findDialog to accept Date conditions in 3.2.
    (It was not acceptable in 3.1)
    I ever trust and appreciate and your effort.
    Ali

    Make a connection named "Oracle" in JDeveloper and when you deploy "jdbc/OracleDS" will be there. We make 1 DS per each JDeveloper connection defined.
    The formula is "jdbc/" + ConnectionName + "DS"
    (same applies to hrDS)
    Hope this helps,
    Rob

  • To JDev-Team: New Release 9.03

    Hi JDev-Team,
    since the current release 9.02 is so buggy ...
    when will there be a new (and better) release 9.03 ?
    Thanks
    Volker

    Thanks for the interest. We are still working on the 9.0.3 release, so I don't have a firm date to give you on it yet. As soon as we know something, I'll be sure to post it here on the forums, and probably on the OTN JDeveloper page.
    Thanks again,
    Rob

  • JDev903 custom tag (bug?)-JDev Team please respond

    JDeveloper is continually hanging while working with custom tags. For example, I will select Add Tag and nothing will happen and JDeveloper stops responding. If I go to End Task, I am told that JDeveloper is waiting for a response, but by then JDev is just a gray window. This behavior becomes more frequent after a change, i.e. change a tag name, try to delete a tag or library. In fact, I have had to completely start over in the creation of a tag library when I notice a necessary change within a tag due to the hanging and disappearance of menu items. Please see previous post, Re: 10.1.3.1 xpath-functions.xml
    Please look into this issue. Our team feels that custom tags could be a valuable tool, but we are RAPID and we don't have time to constantly shut-down and restart our IDE.
    Thanks,
    Deb

    David,
    One thing to try would be JPublisher from the command line. If your problem persists with JPublisher from the command line, then the bug needs to be filed against that product. If not, then the problem is with us.
    In either case, please post your code so we can try to reproduce the error.
    The JPublisher command line facility is documented in the JPublisher User's Guide, available from the Oracle8i 8.1.6 documentation pages on OTN.
    Thanks!

  • Bug 1806180 - JDev Team

    The new version 3.2.3 introduced a bug, 1806180, wich is very harmfull.
    The bug is not public and can't be monitored from metalink.
    Does Orale plan to patch this bug in the current release ?
    TIA
    Tullio

    Hi Tullio,
    It has been marked as fixed in the forthcoming Oracle9i JDeveloper beta release. As far as I know there are no plans to backport the fix.
    Brian
    JDeveloper Team (SCM Integration)

  • ATTN: JDEV TEAM....bug in tutorial

    I have tried to do the following tutorial:
    Developing the Online Orders Data Forms Client.
    Creating the Data Forms Client.
    Creating the Order-View Data Form.When i try to define the detail - detail relationship in the "Creating the Order-View Data Form" component of the tutorial. It resets to the master - detail relationship.
    Problem details...
    I set the following
    master rowSetInfo to: rowSetOrd
    viewObjectCandidate to :LineItemView1
    select the attributes.
    Then select the rowSetOrd in the masterLinkInfo dialog.
    when i renter the queryInfo dialog it has reset the selections to:
    rowSetInfo to :rowSetCust
    viewObjectCandidate to :ordView
    What is causing this ??????
    help
    null

    In case that wasn't clear because it converted my note, the last sentence in the first paragraph should read something like:
    ...data tags need to convert quotes to & quot where the & and the quot don't have a space between them.
    Joe

  • Oracle JDeveloper 10.1.3 Toplink Objects from Table Bug.

    i try this with updates and without them.
    toplink bug or toplink Wizzard Bug: I have create a conection to data base(MySQL) I use mysql-connector and everything works... i see the tables then i try to create "TOplink objects from Table " , choose connection ,for Schema i choose "none". When i choose AutoQuerry it shows the columns i add columns , I choose OK. When it ask for a name for the package i give him mypackage, when it ask for class name i also choose my package.Users(the table is Users) after which i have the following exception in MessageBox:
    "oracle.jdeveloper.cm.ds.db.InvalidNameException : Object must have a name."
    on details i get :
    oracle.toplink.addin.mappingcreation.MWProjectCreationException: oracle.jdeveloper.cm.ds.db.InvalidNameException: Object must have a name.
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:277)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:196)
         at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:416)
         at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.jdeveloper.cm.ds.db.InvalidNameException: Object must have a name.
         at oracle.jdeveloper.cm.ds.db.validators.AbstractValidator.validateName(AbstractValidator.java:54)
         at oracle.jdeveloper.offlinedb.validators.OfflineSchemaValidator.validateName(OfflineSchemaValidator.java:29)
         at oracle.jdeveloper.cm.ds.db.validators.AbstractValidator.validateObject(AbstractValidator.java:187)
         at oracle.jdeveloper.cm.ds.db.validators.AbstractValidator.validateObject(AbstractValidator.java:122)
         at oracle.jdeveloper.cm.ds.db.AbstractDBObjectProvider.validateObject(AbstractDBObjectProvider.java:822)
         at oracle.jdeveloper.cm.ds.db.AbstractDBObjectProvider.validateSchema(AbstractDBObjectProvider.java:858)
         at oracle.jdeveloper.offlinedb.OfflineDBObjectProvider.createSchema(OfflineDBObjectProvider.java:1954)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.updateOfflineDBandMWDatabaseWithTablesToMap(MappingCreatorImpl.java:450)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:242)
         ... 4 more
    in the messege log i get :
    Starting Java object generation...
    Creating offline database objects...
    A problem was encountered creating offline database objects.
    Aborted Java object generation.
    Message was edited by:
    JOKe
    Message was edited by:
    JOKe

    I have tried this out in the EA release of JDev, and have reproduced the problem you reported. However, trying out the latest development build, the problem does not occur, so this bug has been fixed. You'll pick up this fix when we next release the software on OTN.

  • Queation for JDEV team : BC4J Next Release Date?

    JDEVELOPER TEAM
    When will be your next BC4J release date ( about fixing bugs)?
    null

    I presume you are talking about post JDev 3.2...
    The next release will be JDeveloper 9i
    and we do not have a firm date as yet.
    We are expecting production to be roughly
    mid 2001 with a Beta available a few
    months beforehand.
    As mentioned by Juan, we'd be interested to
    know what you are looking for. As we are in
    the thick of 9i development, perhaps you
    can help us focus in certain areas by giving
    us input.

Maybe you are looking for

  • Error in creating new layout controller.

    I have decompile the SimpleLayoutController, and duplicate the class and rename to TestLayoutController. Here is how I do it (I follow the KMC Developer Guide): 1) Create new portal application struture. 2) Create java class: TestLayoutController in

  • Just realised iCloud has no MobileMe photo gallery equivalent. Mmmmmm ...?¿

    Just realised iCloud has no MobileMe photo gallery equivalent. Mmmmmm ...?¿

  • Stop Firefox from saving search history

    I do not want my search history saved each use nor do I want to have to remember to go in and clear at each use. There must be a setting to have Firefox never save my search information.

  • [FIXED] iPhone  alarm not work issues..

    New Year's 2011 breaks (non-recurring) iPhone alarm clocks (update: auto-fixes) Fixed: http://iphonefunny.blogspot.com/2010/12/new-years-2011-breaks-non-recurring.html The iPhone alarm bug will fix itself on January 3, but if you want to fix your pho

  • Need to record tonight-Please Help!

    I use to record with audition 1.5 and am now trying and testing out the 3.0 version. My lyrics are typed in Word and what I usually do is hit record then minimize Audition 1.5 and load up word and start doing my vocals. Well in 3.0 when I try to open