TP4 : big instability in offline database object edition and diagraming

I encountered a lot of problems when editing offline database objects and in database diagraming.
Foreign keys don't appear in diagram after creating it, i'm not able to delete a broken foreign key (the ok button don't react, i can only cancel my changes).
It is no more possible to drag and drop attribute from a table to another table (copy).

Peter,
Glad to see you took my advice and posted your question over here. Although I am a frequent user of the Oracle usenet groups, I have found that this is a much better place to get help with Spatial. My experiences suggest that the population of people using spatial is small--and of them the ones that really know alot are few and far between. I can only claim to be in the former group.
As far as your problem goes--this is probably something you've already considered--is there a way to model the data such that you don't have to replicate the geometry components? Another option would be to handle the replication without using snapshots. Examples would be to export the data and then ftp/copy it to the target machines and import it. If you need real-time replication you could experiment with triggers that execute INSERTs/UPDATEs/DELETEs on the remote databases. This of course has its own issues--but you're going to end up with some sort of compromise no matter how you slice this.
Of course you could use the relational model. I have never used it so I'm hard pressed to give any advice on it. As I posted on the usenet board, it is heading for desupport in 9i Release 2 according to the documentation available. So if you go relational you'll eventually have to migrate to object/relational. I'm not sure how automatic (or non-automatic) that process is. Hopefully someone on here will have some more concrete advice on that.
Good luck.
Matt.

Similar Messages

  • Unable to import offline database objects (8.1.5)

    Hi
    I tried to create database diagram in JDeveloper 10.1.3 and I hit the error. Firstly, I tried to create the Offline Database Objects. At step 2 of 3 (Select Objects), it failed.
    oracle.javatools.db.DBException: java.sql.SQLException: ORA-00942: table or view does not exist
         at oracle.javatools.db.ora.BaseOracleDatabase.listObjectsImpl(BaseOracleDatabase.java:1306)
         at oracle.javatools.db.AbstractDBObjectProvider.listObjects(AbstractDBObjectProvider.java:808)
         at oracle.jdeveloper.cm.dt.ui.DBObjectSourcePicker.doQuery(DBObjectSourcePicker.java:166)
         at oracle.jdeveloper.cm.dt.ui.DBObjectSourcePicker.run(DBObjectSourcePicker.java:213)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: ORA-00942: table or view does not exist
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:113)
         at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:431)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:965)
         at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1051)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1184)
         at oracle.javatools.db.ora.BaseOracleDatabase.listObjectsImpl(BaseOracleDatabase.java:1280)
         ... 5 more
    My database is Oracle 8.1.5. I did the same thing on Oracle10g and it worked fine. The database connection is fine and username/[password are right, too.
    I hate to say bug but I am wondering if Oracle8.1.5 was not supported by JDeveloper.
    Thanks,
    Kevin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    JDeveloper is only certified with 8.1.7 and above so it may be an incompatability between 8.1.5.
    Regards,
    Lisa

  • What is the use of Offline Database Object in SOA

    Hi All,
    Can anyone let me know the purpose of Offline Database Object in SOA.
    1) When we will create the Offline Database Object in soa ?
    2) How do we connect this object to any data base schema ?
    Note:- Please provide me the example on this
    Thanks,

    Hi Dominik,
            Thanks for the repy !!!!
    Now, as you said we can access a (deep) node of the whole model using an access object.
    Let us consider the component set ONEORDER. As seen we can use the following path to reach BTDocFlowAll using search object :-
    BTQuery1O -> BTOrder  -> BTOrderHeader  -> BTHeaderDocFlowSet -> BTDocFlowSet -> BTDocFlowAll ....
    Also, to reach BTDocFlowAll we can even use the access object as follows :-
    BTAdminI -> BTItemDocFlowSet  -> BTDocFlowAll....
    Now my question is :-
    Normally we use the class cl_crm_bol_query_service to fire a search based on a search object. Can we use the same class to fire a search based on access object ?
    (actually I currently dont have a CRM system so I could not try it out myself).
    If not, then how do we fire a query using an access object ?
    Regards,
    Ashish

  • Not able to compare PL/SQL body from two different offline database object

    It is not possible to compare two package bodies from two different off line database object in two different off line database and schema.
    JDeveloper display a compare not available message in the middle of the window.
    It is possible to compare the package specification.

    Not able to compare scripts generated from offline database objects too

  • 10g Rename Offline Database Object Broken

    I am trying to rename an offline database object. I opened the editor on the object, updated its name and the names of a few of its foreign keys. At first, it appeared to work. The object in the Navigator had the new name, and when I opened a diagram containing the object, all the new names appeared correctly. I saved everything, closed the IDE and reopened it (which is usually the way I get TopLink to correctly identify my changes). When I reopened the IDE, my offline db objects were back to their old names. I tried renaming them again, and this time when I hit the save icon, I got the following error:
    Local Exception Stack:
    Exception [TOPLINK-6004] (Oracle9iAS TopLink - Release 2 (9.0.4.0) (Build 030612)): oracle.toplink.exceptions.QueryException
    Exception Description: The object [MWTable[30B652] (AVEGA.USER_DIMENSION_SELECTIONS)], of class
    [class oracle.toplink.workbench.model.db.MWTable], with identity hashcode (System.identityHashCode()) [3,192,402],
    is not from this UnitOfWork object space, but the parent session's.  The object was never registered in this UnitOfWork,
    but read from the parent session and related to an object registered in the UnitOfWork.  Ensure that you are correctly
    registering your objects.  If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to
    help debug where the error occurred.  For more information, see the manual or FAQ.
         at oracle.toplink.exceptions.QueryException.backupCloneIsOriginalFromParent(QueryException.java:152)
         at oracle.toplink.publicinterface.UnitOfWork.getBackupClone(UnitOfWork.java:1505)
         at oracle.toplink.publicinterface.UnitOfWork.calculateChanges(UnitOfWork.java:426)
         at oracle.toplink.publicinterface.UnitOfWork.getChanges(UnitOfWork.java:1560)
         at oracle.toplink.workbench.ui.WorkbenchSession.saveProject(WorkbenchSession.java:675)
         at oracle.toplink.addin.persistence.MWJDeveloperPersistence.save(MWJDeveloperPersistence.java:226)
         at oracle.toplink.tsceditor.persistence.PersistenceManager.save(PersistenceManager.java:1047)
         at oracle.toplink.addin.manager.MWJDeveloperMediator.saveMWProjectFor(MWJDeveloperMediator.java:394)
         at oracle.toplink.addin.node.MWProjectNode.save(MWProjectNode.java:345)
         at oracle.ide.cmd.SaveAllCommand.saveAll(SaveAllCommand.java:64)
         at oracle.ide.cmd.SaveAllCommand.doit(SaveAllCommand.java:118)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:376)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:112)
         at oracle.ide.Ide.handleEvent(Ide.java:1884)
         at oracle.ide.addin.BaseController.handleEvent(BaseController.java:99)
         at oracle.ideimpl.navigator.NavigatorController.handleEvent(NavigatorController.java:133)
         at oracle.ide.IdeAction.performAction(IdeAction.java:829)
         at oracle.ide.IdeAction$1.run(IdeAction.java:781)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)What do I need to do to safely rename an offline database object?

    Hi John,
    Thank you for taking the time to reporting this problem that you have encountered. The exception you have listed below is the result of changes not being communicated correctly between your offline database object modeling diagram and the TopLink Mapping Editor. We have addressed this problem and the solution will be available for you in the next JDeveloper release. For the meantime, your best bet would be to make any necessary changes to your database model prior to mapping those tables. I know that this is not exactly ideal, but it will ensure that you do not encounter this problem. I hope this helps and let me know if I can provide you with any additional information.
    Thanks,
    John Bracken
    Toplink Development Team

  • Import offline database objects doesn't always work

    import offline database objects doesn't work when database table to import has a Date column with a default value NULL.
    Return message:
    An error was encountered:
    table.column
    table.column Datatype DATE "NULL"
    Invalid default value expression : NULL expected a Date or Timestamp expression.
    JDev 10.1.3

    Any ETA on when this will be fixed? We work with the Siebel CRM products and the underlying data model is full of DATE fields whose default value is NULL. As a result, there are very few tables which can be imported for diagramming.
    Thanks,
    Jason

  • JDev 10g: Problem when generating database objects from UML diagram

    Hi,
    I have noticed following problem.
    I made some business components through UML diagrammer in 9.0.3. From the diagram I generated database objects. It worked fine.
    When I doing the same thing in 10g, the generation fails on several tables with the message that the "identifier is too long".
    Looking at the SQL produced in one of the failing tables. In 9.0.3 following is produced:
    create table sfs_document_def (
    id number constraint document_definition_id_check not null,
    caption varchar2(100) constraint document_definition_caption_ch not null,
    index1 number,
    owner_type number constraint document_definition_owner_type not null
    alter table sfs_document_def add (constraint documentdefinition_primary_key primary key (id));
    And in 10g following is produced:
    create table sfs_document_def (
    id number,
    caption varchar2(100) constraint sfs_document_def_caption_check not null,
    index1 number,
    owner_type number constraint sfs_document_def_owner_type_ch not null
    alter table sfs_document_def add ( constraint documentdefinition_primary_key primary key (id));
    alter table sfs_document_def add ( constraint document_definition_id_check check ("id" is not null));
    alter table sfs_document_def add ( constraint sfs_document_def_caption_check_10 check ("caption" is not null));
    alter table sfs_document_def add ( constraint sfs_document_def_owner_type_ch_10 check ("owner_type" is not null));
    It seems that column that are set not to be null in 10 g first get a constraint creating the table and then when altering the table. Furthermore, notice that the name of the second constraint is longer than 30 chars, which is reason to the error when creating the tables.

    Thanks for reporting the issue. I have managed to reproduce your problem and logged a bug to get the problem fixed.
    Thanks,
    Lisa Sherriff
    JDev QA

  • JDEV 11G TP4 [BUG]: Offline Database / Copying project from workspace

    I have two workspaces.
    In these two workspaces i have a Documentation project containing offline database objects.
    Workspace 1
    +Documentation
    +connection
    +schema
    +objects
    +schema
    +objects
    Workspace 1
    +Documentation
    +connection
    +schema
    +objects
    +schema
    +objects
    I would like to copy the content of one schema from workspace 1 to a project in the workspace 2.
    Both schema have same name.
    Connection is different.
    The active workspace is workspace 2.
    In the wizard i'm able to select the Application (workspace), the project but the connection listed is only the one for workspace 2 (the active one). It normally has to be the ones corresponding to workspace 1 that i selected has the source for the copy.
    The result it that i got the list of objects from Documentation project from workspace 2 instead the desired ones from workspace 1.
    Hope its help

    Loose it again today ... please is it possible to address this problem ... it's really frustrating each time restore the configuration file.

  • Why not generating adf bc projects and components from offline database

    I imported offline database objects from my production database that is big. I would like designing some business components without necessarily the database running and be connected.
    Is it a reason why an adf bc project may necessarily connect to an on line database ?
    Why it is not possible to generate adf bc components from off line database objects ?

    The ADF BC design time has always required a database connection, to be able to test the validity of expert-mode SQL statement for one reason, but not the only one. We have not lifted that requirement in the 11g release.
    I filed ER# 6056701 to track your request. Thanks.

  • Class diagram for database objects.

    Hi,
    I am creating a diagram from the tables in the database in Oracle Jdeveloper 10g. This will basically give me a ER diagram. When I drag and drop a table - say EMP - i get a window - "Create from database object" - which gives me a few options. I selected the "Offline database objects" option. The table appears in the class diagram sheet with the table name, it's columns and the constraints.
    Now when I remove this object (table EMP) and then again try to drag and drop the same object as above, I get the object on the sheet as EMP1 and not EMP and also the constraints are renamed. It does not allow me to change the name to EMP. It gives a message that -"TABLE names must be unique" and the table name is renamed to EMP1.
    I want the name as EMP only. How do i do it?
    Thanks,
    Vinay

    Vinay,
    It's because in the first step, you deleted the table from the diagram, but not from the offline database. Now, when you drag a table from the database connection, it will need to create a new offline table. Instead of dragging from the DB connection, drag it from the offline database (it should already be there from the first step). Alternatively, delete the offline table as well as part of your first step (deleting the object from the diagram).
    John

  • Delete Database Object or database diagram

    Hello.
    how could I delete a database object? I tried using right click but dont know how to delete the database object. The same problem is qhen I try to delete a database diagram, please could you help me?
    Thanks a lot!

    Emilio,
    If you are talking about Offline Database Objects and want to completely remove them, you can select the appropriate node in the Navigator and then do 'File | Erase from Disk', the same is true for the Database Diagram. If you want to remove a Database Object from the Diagram, then you can invoke the context menu and again choose 'Erase from Disk' to fully erase the object, or you can choose 'Delete' to just remove the object from the Diagram bur remains in the Navigator.
    Hope that helps,
    Lisa Sherriff
    JDev QA

  • 1.6 - Database Object Dependencies invaluable!

    Big thanks for the Database Object Dependencies Report!
    As a future enhancement note, it would also be priceless to have a report(like what you currently provide) where you specify the DB Object and the report lists ALL applications/component/items that contain that db object (really helpful when we have to change a db object and then need to get all the HTMLDB applications modified for the change).
    THanks again, Paula

    You cannot create tables in SQL Workshop at your site because your schema doesn't have enough privileges. Privileges obtained through roles won't work. The public user's privileges are always irrelevant in html db.
    Please run this script in your FOO schema which owns the tt table:create or replace procedure test_depend as
    l_value varchar2(30);
    l_boolean boolean;
    begin
    return;
    for c1 in (select * from tt) loop null; end loop;
    end;
    select referenced_owner||':'||referenced_name||':'||referenced_type
    from all_dependencies
    where name = 'TEST_DEPEND'
    /[pre]Just data gathering at this point.
    Scott                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Where is the web root directory in Database 10g Express Edition and APEX

    I'm developing a mod_plsql application with database express edition and the APEX version that comes with.
    It works fine for developing mod_plsql applications(http://localhost:8080/apex/mypackages), but I could not find the different web directories to put my static html documents, css, gifs etc.
    I could also not find a way to configure the webserver.
    There's no apache installed.
    Can somebody help me.
    Thanks Roman

    http://daust.blogspot.com/2006/03/where-are-images-of-application.html

  • Move Data from Converted Database Objects Successfully Finish ?

    I am using SQL Developer 3.2.20.09 try to migrate KSMMS database from SQL Server 2008 to Oracle 11g R2. After the migration process is done, the Captured Database Objects model, and Converted Database Objects model have been created in the Migration Projects Navigator panel on the left side, and the corresponding sql scripts has been generated in the project output directory. I run the sql scripts, it created all the tables, views, index and stored procedures in the oracle database, everything seems working perfectly. However when I try to Move Data (by right clicking Converted Database Objects) and try to move all the data from SQL Server to Oracle database, the Data moving process run less then 1 minute, and show me the result as Data Move successfully. I have about 1 GB data in the SQL Server database, it seems nothing has been moved into Oracle DB. Here are the detail structures of MS SQL Server Database which I am trying to migrate to Oracle:
    The SQL Server Database name is KSMMS, under that database there are 9 users (azteca, cwweb, dbo, guest, plladmin, pw, pwadmin, tbills, wsdadmin). All my application objects (tables, views, indexes, procedures) are under azteca user, during the migration process, Converted Database Objects creates user azteca_KSMMS and dob_KSMMS, all my application objects have been created under azteca_KSMMS user schema. The generated .sql scripts actually can create all the objects under azteca_KSMMS schema, however when I try to Move Data, nothing has been moved into Oracle database. I opened an SR#3-6708733861 last Friday, it seems Oracle Support can't find what cause the problem during the Data Move process. Any help regarding my questions will be highly appreciated. Thanks.
    Kevin

    I changed Data Move Mode to Online and run the Data Move again. Same Results: Migration action have completed successfully. However no records have been moved into Oracle tables.
    I am running SQL Developer under Windows 8 Operation system. There is no Oracle client software available for Windows 8, does that cause any problems?
    Kevin

  • TP4 / offline database / select in navigator failed

    Select in navigator from pl/sql editor failed to find the edited object into the navigator (from where it was opened).

    I just opened a pl/sql from offline database navigator.
    Do some edits in the editor. Save many times. Compile many times.
    Suddenly (no idea why), the context menu Select in navigator don't find the object anymore.
    This is only for package body. I don't have this problem with package specification.
    Same package body may be accessed without any problem at same time through outgoing subversion pending changes.
    The error message is PackageName was not found in Navigator.
    The window title bar context is correct.
    I have more than one schema in my navigator.
    I have two application workspaces and both have same project names.
    I have subversion to manage both workspaces.
    Hope this help.

Maybe you are looking for