Oracle TopLink 10g Introductory Tutorial: No Table Reference available

Hi,
I'm trying to work through the Oracle TopLink 10g Introductory Tutorial (http://www.oracle.com/technology/products/ias/toplink/doc/10131/main/_tutorial/index.htm).
At the point 'Map the Java Classes: Create One-to-One Mappings' (http://www.oracle.com/technology/products/ias/toplink/doc/10131/main/_tutorial/index.htm) I'm not able to select a table reference because there is no one available.
As result i get the following message after generating 'Mapping Status Report':
TopLink Map 'tut01Map' -> One of the packages is incomplete.
Package example.model -> One of the descriptors in this package is incomplete.
Descriptor Employee -> Some mappings are incomplete.
Mapping address -> No table reference is selected.
Mapping address -> Table reference is invalid because of the target table chosen.
Mapping version -> Mapping references write lock field stored in cache, but is not read-only.
Mapping phoneNumbers -> No table reference is selected.
Mapping phoneNumbers -> Table reference is invalid because of the target table chosen.
Descriptor PhoneNumber -> Some mappings are incomplete.
Descriptor PhoneNumber -> The following primary key fields are unmapped: EMP_ID
Descriptor PhoneNumber -> The following primary key fields have no writable mappings: EMP_ID
Mapping owner -> No table reference is selected.
Mapping owner -> Table reference is invalid because of the target table chosen.
End TopLink Map 'tut01Map'
Did I make a mistake or is there a wrong configuration? Please help.
I'm using:
JDeveloper 10.1.3.2.0
MySQL 5.0.33 with Connector/J 5.0.5
Windows XP
Thanks, TGau
Message was edited by:
TGau
Update

Yes I did. But my database storage engine is set to MyISAM which don't support foreign keys. So this 'error' results from database configuration (Info: InnoDB do support foreign keys).
I'm wondering why the queries didn't throw any errors. So the foreign key/reference part was just skipped.
Thank you very much, rsapir.
PS:
How can I configure configure 'application side' references/associations? It is described in the TopLink Developers Guide on site 34-10 ... but I have no Add/New Buttons?

Similar Messages

  • Exception [TOPLINK-46] (OracleAS TopLink - 10g (9.0.4) (Build 031126))

    Hi,
    I am using TopLink for simple Department-Employee relation, i have my project xml configured, But i am facing the problem with following exception
    Descriptor Exceptions:
    Exception [TOPLINK-46] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.DescriptorException
    Exception Description: There should be one non-read-only mapping defined for the primary key field [emp.empno].
    Descriptor: Descriptor(com.oracle.mssql.emp.toplink.EmpTopLinkBean --> [DatabaseTable(emp)])
    Runtime Exceptions:
    What could be the reason?
    Thanks
    Madhu

    My best guess would be that you have a 1:1 mapping from Employee to Department. This mapping represents part of the primary key.
    Make sure that your 1:1 mapping is not configured as read-only. Another issue is that you may have set the relationship as target foreign key. This has the same effect as read-only and is not applicable in the 1:1 returning from a 1:M.
    Doug

  • Oracle JHeadstart 10g (release 9.0.5.1) available for evaluation purposes

    Hi,
    Oracle JHeadstart 10g (release 9.0.5.1) is now available for evaluation purposes please go to the JHeadstart Product Center and download the software.
    http://otn.oracle.com/consulting/9iServices/jheadstart.html
    Happy JHeadstarting!
    Regards,
    Ton

    We already purchased the Jheadstart supplement option, but our Oracle Consulting sales contact didn't have walked us through the registration process in before. I had contact them and ask them to assist us, but they need some work days. so could you help me to download JHeadstart 10g release 9.0.5.1 as soon as possible. our project schedule need this released version in hurry.If you can help me please give me a notice, thanks a lot.
    my email address:[email protected]

  • Getting slowness issue with Oracle DB (10g) - specifically for one table

    We have a Oracle Database. When we are trying to access it through our Java application, it is working fine except for 2 menu option in the application.
    These 2 menu option are trying to fetch from the same table. It is taking 30-40 min to fetch some 500 records. It was not the case few days ago.
    I have checked at application end however didn't find any issues.
    Could you please suggest, what could be the possible reason and solution for this.

    There are many possible reasons and solutions for this. That is why you need to look at what the instrumentation is telling you is wrong.
    First: determine if there is something grotesquely wrong. Oracle has an alert log, see if there are any complaints in there. There are a number of ways of observing the database, dbconsole has a nice screen with performance, though you might need some special licensing. There are also scripts you can run and third party tools. You may also want to use statspack or AWR to tell you generally what is going on, sometimes the top sql just makes it obvious, but you have to know your own system to make that kind of judgment.
    Next, see if there is something obviously wrong, check for missing or otherwise unavailable indices. Tell us what your exact version is (10g is not a version: 10.2.0.4 is a version), as well as platform and your statistics gathering strategy.
    If it still isn't obvious, follow the [url https://forums.oracle.com/forums/thread.jspa?threadID=863295]Thread: HOW TO: Post a SQL statement tuning request thread. You should post a proper explain plan for times when it works good and times when it works bad. Most performance problems are bad sql, but you can have odd effects from things like bind peeking.
    And if all else fails, blame java.

  • OracleAS TopLink 10g (10.0.3) Developer Preview 2 - NOW AVAILABLE

    Earlier this week we upgraded the 10.0.3 Developer Preview. The full set of functionality is documented in the release notes available on the preview landing page(http://otn.oracle.com/products/ias/toplink/preview/index.html).
    The functionality added in this refresh of the preview includes:
    - OC4J CMP Support
    - CTS 1.4 compliance
    -Support for hot/re-deployment of TopLink enabled CMP applications
    - Bean Pessimistic Locking - Have any of your beans locked on the database as you access them in a TX
    - Read-only entity beans are now supported
    - Enhanced integration with OracleAS for DMS capturing of performance statistics
    - Object-XML mapping enhanced:
    - Document Preservation - keep your un-mapped XML from being lost in the translation
    - JAXB Compiler - Generate an object model from schema with TopLink MW project
    - EIS/JCA mapping enhanced. Access your non-relational data source through OracleAQ or MQ Series
    - Object-Relational Enhancements
    - Value return from write - Use triggers to assign and return your PK or other calculated values on INSERT or UPDATE
    - Isolated Session Cache - Use TopLink to map your VPD/OLS managed tables
    - Conversion support for oracle.sql.TIMESTAMP & TIMSTAMPTZ
    - Generic history support - With versioning columns you can perform queries for past points in time using the HistoricalSession
    - Stored Function Support - Invoke your favourite stored function in the Oracle DB
    - Configurable query timeout support
    - Enhanced and re-organized examples. See examples link from preview landing page
    Additionally we have also added several new how-to docs that can also be accessed from the preview link above.
    If you encounter any issues with the preview please post them to this forum.
    Cheers,
    Doug Clarke
    Principal Product Manager
    OracleAS TopLink

    Sorry about the link above. Try:
    http://otn.oracle.com/products/ias/toplink/preview/index.html
    Doug

  • OracleAS TopLink 10g (9.0.4) for Windows - NOW AVAILABLE

    http://otn.oracle.com/software/products/ias/devuse.html
    Enjoy,
    Doug

    This error typically means you have a session that is not logged in.
    How are you acquiring the session?
    Doug

  • [ANN] Oracle JDeveloper 10g (10.1.2) is now available

    The new JDeveloper 10.1.2 release is a maintenance release for JDeveloper 9.0.5.2
    It has several new features and a lot of bug fixes.
    We encourage everyone who is currently using 9.0.5 to upgrade to 10.1.2.
    You can download 10.1.2 from here:
    http://www.oracle.com/technology/software/products/jdev/index.html#10g
    Read about the new features here:
    http://www.oracle.com/technology/products/jdev/htdocs/10.1.2.0.0/readme.html
    Enjoy,
    The JDeveloper Team

    Same problem as with previos version:
    oracle.jdeveloper.cm.CMException: java.lang.NoClassDefFoundError: oracle/i18n/text/converter/CharacterConverterOGS
         at oracle.jdevimpl.cm.dt.browser.jdbc.JdbcBrowser.openConnectionBrowser(JdbcBrowser.java:256)
         at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:210)
         at oracle.jdeveloper.cm.dt.ProgressRunnable.run(ProgressRunnable.java:165)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:540)
         at java.lang.Thread.run(Thread.java:552)

  • [b]Oracle JDeveloper 10g (10.1.3) Documentation[/b] available for offline..

    is http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state?navSetId=_&navId=0
    available for offline use ?
    i checked Jdeveloper help and it does not contain "Overview of Development Process with Oracle ADF and JSF" as it is available in web page.
    is it possible to get this documentation as a package for offline use ?
    thanks

    Jdev installation comes with documentation in html/pdf format
    under $JDevHome\jdev\doc directory. There you should check the adfdevguide.pdf
    Regards,
    Luis Rocholl.

  • Oracle.toplink.exceptions.QueryException

    I get the following error when I attempt to create a table from my oject in the workbench:
    Throwable Class Name:
    oracle.toplink.exceptions.QueryException
    Message:
    when trying to generate a table from a class in the workbench i get the followin error:
    Exception Description: The object [MWClassDescriptor[973268] (Address -> null)], of class [class oracle.toplink.workbench.model.desc.MWClassDescriptor], with identity hashcode (System.identityHashCode()) [9,908,840],
    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.
    Stack trace:
    Local Exception Stack:
    Exception [TOPLINK-6004] (OracleAS TopLink - 10g (10.0.3) Developer Preview (Build 031022)): oracle.toplink.exceptions.QueryException
    Exception Description: The object [MWClassDescriptor[973268] (Address -> null)], of class [class oracle.toplink.workbench.model.desc.MWClassDescriptor], with identity hashcode (System.identityHashCode()) [9,908,840],
    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:158)
         at oracle.toplink.publicinterface.UnitOfWork.getBackupClone(UnitOfWork.java:1539)
         at oracle.toplink.publicinterface.UnitOfWork.calculateChanges(UnitOfWork.java:425)
         at oracle.toplink.publicinterface.UnitOfWork.getChanges(UnitOfWork.java:1595)
         at oracle.toplink.workbench.ui.WorkbenchSession.saveProject(WorkbenchSession.java:680)
         at oracle.toplink.workbench.ui.MainView.saveProject(MainView.java:1914)
         at oracle.toplink.workbench.ui.MainView.saveSelectedProjects(MainView.java:1983)
         at oracle.toplink.workbench.ui.MainView.generateTableDefinitionsForClasses(MainView.java:728)
         at oracle.toplink.workbench.ui.MainView.generateTableDefinitionsForSelected(MainView.java:753)
         at oracle.toplink.workbench.ui.action.ActionManager$86.actionPerformed(ActionManager.java:2055)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

    Hello,
    Without more information, I can't determine what the problem is. This exception's english wording is "Object comparisons can only use the equal() or notEqual() operators. Other comparisons must be done through query keys or direct attribute level comparisons.", and implies that the query expression is using a Like operator where atleast one side of the comparison is an entity instead of a string value. Entity/object comparisons are only supported with the equal or notEqual comparisons.
    Best Regards,
    Chris

  • Oracle Toplink - OptimisticLockException

    Hi
    I have a timestamp field in my table which is a Timestamp locking field. I could insert a record succesully in to the table,but when I try to update the same record or try to delete the record, I am getting the following exception
    [TOPLINK-5003] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.OptimisticLockException
    Exception Description: The object [] cannot be deleted because it has changed or been deleted since it was last read.
    Could any one help me in, how can I update/delete a record succesfully? but at the same time, I need to have the Timestamp locking policy on this field.

    Is the field stored in the Object? Are you updating the field in the object? Are you using StoredProcedures? Is the Optimistic Lock Exception being thrown for a legitimate reason (ie. the row has been updated on the database since the object was read into a UnitOfWork)?
    Perhaps more details on the lifecycle of the object in question (when is it read, how is it changed, are there any other applications changing the object) would help diagnose the issue.
    --Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Oracle.toplink.exceptions.ConcurrencyException

    Hi,
    We encountered a ConcurrencyException while running our batch process.
    - The have our minNumReadPoolsize = 5
    - The have our maxNumReadPoolsize = 20
    - read Pool is exclusive
    and we run our batch with 4 threads.
    Here is the stack trace.
    Any ideas?
    Thanks
    com.fmrco.gett.dataaccess.DAException: Exception while doing a commit
    at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:115)
    at com.fmrco.compliance.cws.ipe.batch.IPETask.run(IPETask.java:159)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642)
    at java.lang.Thread.run(Unknown Source)
    Caused by: Exception [TOPLINK-2003] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracle.toplink.exceptions.ConcurrencyException
    Exception Description: Wait failure on ClientSession.
    Internal Exception: java.lang.InterruptedException
    at oracle.toplink.exceptions.ConcurrencyException.waitFailureOnClientSession(ConcurrencyException.java:44)
    at oracle.toplink.threetier.ConnectionPool.acquireConnection(ConnectionPool.java:72)
    at oracle.toplink.threetier.ServerSession.acquireClientConnection(ServerSession.java:272)
    at oracle.toplink.threetier.ClientSession.basicBeginTransaction(ClientSession.java:100)
    at oracle.toplink.publicinterface.Session.beginTransaction(Session.java:448)
    at oracle.toplink.publicinterface.UnitOfWork.beginTransaction(UnitOfWork.java:387)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1066)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1134)
    at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:955)
    at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:770)
    at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:111)
    ... 3 more
    Caused by: java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Unknown Source)
    at oracle.toplink.threetier.ConnectionPool.acquireConnection(ConnectionPool.java:70)
    ... 12 more
    20050512 05:22:19 EDT FATAL ipe.batch.IPETask [Thread-4] IPE Failed
    com.fmrco.gett.dataaccess.DAException: Exception while doing a commit
    at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:115)
    at com.fmrco.compliance.cws.ipe.batch.IPETask.run(IPETask.java:159)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:258)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:559)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:724)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:778)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:639)
    at oracle.toplink.publicinterface.UnitOfWork.executeCall(UnitOfWork.java:1397)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:134)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:115)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeNoSelectCall(CallQueryMechanism.java:167)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.updateObject(CallQueryMechanism.java:648)
    at oracle.toplink.internal.queryframework.StatementQueryMechanism.updateObject(StatementQueryMechanism.java:425)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.updateObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:1004)
    at oracle.toplink.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:107)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:258)
    at oracle.toplink.queryframework.WriteObjectQuery.execute(WriteObjectQuery.java:51)
    at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:493)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1958)
    at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2252)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1086)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1038)
    at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:177)
    at oracle.toplink.publicinterface.Session.writeAllObjectsWithChangeSet(Session.java:3223)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1089)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1134)
    at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:955)
    at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:770)
    at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:111)

    The ConcurrencyException is occurring attempting to get a connection from the write-pool, not the read-pool. What size are you using for the write pool, ensure that it is large enough?
    Could you include your entire session configuration or sessions.xml file.
    Does the error only occur under heavy load, or does it start occurring after a certain point or after the null-pointer exception occurs?
    The null-pointer exception occurring in the JDBC driver is also very odd; the driver should never be encountering a null-pointer. Are you using the correct JDBC driver version for your database version?

  • OracleAS Toplink -- Web Client

    Hi,
    Help: im looking for OracleAS Toplink -- Web Client.
    I have OracleAS TopLink 10g Release 3 (10.0.3)
    THX

    This is an error in the "Configuring Web Client" section of the TopLink Application Developer's Guide. The 9.0.4.3 Patch Set Release Notes (see the MetaLink article 3593420) contains complete information. This may help.

  • Oracle.toplink errors, but no toplink installed? (10G, SRDemo)

    Hello, I installed the Chapter 4 SRDemo on my machine, and I am receiving an error. (at bottom)
    However, I am able to connect to the database without any problems, have been using the same database connection for over a month, but wanted to trying doing the EJBs and following the SRDemo tutorial.
    This locks my account, so it is using the correct account name (Which is not the same as the default from the demo)
    What is really confusing me is the references to TopLink everwhere. I do not have TopLink installed. When I try to debug when I step into the line where the error is thrown it tells me "Unable to find source file for package oracle.toplink.essentials.exceptions, filename TopLinkException.java.
    Here is the error I receive on running the ServiceRequestFacadeClientEmbed.java in the SRDemo:
    Mar 16, 2009 12:05:14 PM oracle.toplink.essentials.session.file:/C:/TEMP/oratemp/SRDEMO/Model/classes/-Model
    INFO: TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))
    Mar 16, 2009 12:05:14 PM oracle.toplink.essentials.session.file:/C:/TEMP/oratemp/SRDEMO/Model/classes/-Model
    INFO: Server: unknown
    Mar 16, 2009 12:05:16 PM com.evermind.server.ejb.logging.EJBMessages logException
    SEVERE: [ServiceRequestFacade:public org.srdemo.persistence.Products org.srdemo.business.ServiceRequestFacadeBean.findProductById(java.lang.Long)] exception occurred during method invocation: oracle.oc4j.rmi.OracleRemoteException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017; nested exception is:
         Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    ....

    OK... so I started with a new try. (Same machine) Edit --- installed Oracle and JDev on a new machine, got the exact same results.
    Downloaded JDeveloper 10G
    Extracted to new directory.
    New application - accepted all defaults.
    New Business Tier->EJB->Entities from Tables
    Substep - New Database Connection Accepted defaults, entered user name and password, entered hostname (not on localhost) and sid. Tested connection (Success!)
    Selected only Address Table and accept all defaults.
    project1.Addresses.java is created.
    New Session Bean -> accepted all defaults
    SessionEJBBean.java is created
    New Sample Java Client -> accepted all defaults
    SessionEJBClient.java is created
    Ran SessionEJBBean.java
    [Starting OC4J using the following ports: HTTP=8989, RMI=23891, JMS=9227.]
    C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\config>
    C:\Jdev10-2\jdk\bin\javaw.exe -client -classpath C:\Jdev10-2\j2ee\home\oc4j.jar;C:\Jdev10-2\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\dms.war...
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Unjar C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\dms.war in C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\dms
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Finished auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\dms.war
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\connectors\datasources\datasources.rar...
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Unjar C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\connectors\datasources\datasources.rar in C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\connectors\datasources\datasources
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Finished auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\connectors\datasources\datasources.rar
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags.ear...
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Unjar C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags.ear in C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags
    Mar 17, 2009 10:54:43 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Finished auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags.ear
    Mar 17, 2009 10:54:43 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags\webapp.war...
    Mar 17, 2009 10:54:43 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Unjar C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags\webapp.war in C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags\webapp
    Mar 17, 2009 10:54:46 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Finished auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags\webapp.war
    Mar 17, 2009 10:54:46 AM com.evermind.server.XMLApplicationServerConfig randomizeJtaAdminPassword
    INFO: Updating JtaAdmin account
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 31654 ms.
    09/03/17 10:54:51 Oracle Containers for J2EE 10g (10.1.3.4.0)  initializedRun SessionEJBClient.java
    Mar 17, 2009 10:55:30 AM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    javax.ejb.EJBException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017; nested exception is:
         Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017; nested exception is: oracle.oc4j.rmi.OracleRemoteException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017; nested exception is:
         Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017
    oracle.oc4j.rmi.OracleRemoteException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:75)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at SessionEJB_RemoteProxy_11o700f.queryAddressesFindAll(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    .....So I would really appreciate any help, I have no good idea where to go next. I'm going to go try wiping a machine in the next cube and installing Oracle from scratch too.
    Thanks,
    Jeff
    Edited by: jeffles on Mar 17, 2009 9:49 AM

  • Problems setting "table reference" for TopLink relationships

    I'm trying to use TopLink to create Java objects over two tables that are linked in a many-to-many relationship. I followed the instructions on the 10g tutorial page (drag all three tables into a database diagram), then created a new field (of type Collection) in each of the tables that I'm joining. I then set them both to be many-to-many, and tried to configure the first one. On the general tab, I've set the 'Reference Descriptor' to point to the other table. I've set the 'Relation Table' to point to the associative entity, and disabled indirection.
    When I go to the 'Source Reference' tab, there's nothing in the 'Table Reference' dropdown, and there's no button to create anywhere I can find on that screen. From what I've found looking at old TopLink documentation online, there were new, add, and remove buttons off to the right on older versions of TopLink.
    What do I have to do in this version to create a table reference I can use for the join?
    If I run the 'mapping status report' for the object I'm working with (persons), I get the following:
    Mapping persons -> Table reference is invalid because of the target table chosen.
    Mapping persons -> No table reference is selected.
    Mapping persons -> No source reference is selected.
    Mapping persons -> No target reference is selected.
    I don't really know enough about TopLink to know if these error messages are pointing at something other than the fact that I can't get a table reference to show up or not.
    I'm using the JDeveloper 10g preview (build 1375).
    Thanks in advance for any ideas you might have,
    Jonathan

    I'm trying to use TopLink to create Java objects over two tables that are linked in a many-to-many relationship. I followed the instructions on the 10g tutorial page (drag all three tables into a database diagram), then created a new field (of type Collection) in each of the tables that I'm joining. I then set them both to be many-to-many, and tried to configure the first one. On the general tab, I've set the 'Reference Descriptor' to point to the other table. I've set the 'Relation Table' to point to the associative entity, and disabled indirection.
    When I go to the 'Source Reference' tab, there's nothing in the 'Table Reference' dropdown, and there's no button to create anywhere I can find on that screen. From what I've found looking at old TopLink documentation online, there were new, add, and remove buttons off to the right on older versions of TopLink.
    What do I have to do in this version to create a table reference I can use for the join?
    If I run the 'mapping status report' for the object I'm working with (persons), I get the following:
    Mapping persons -> Table reference is invalid because of the target table chosen.
    Mapping persons -> No table reference is selected.
    Mapping persons -> No source reference is selected.
    Mapping persons -> No target reference is selected.
    I don't really know enough about TopLink to know if these error messages are pointing at something other than the fact that I can't get a table reference to show up or not.
    I'm using the JDeveloper 10g preview (build 1375).
    Thanks in advance for any ideas you might have,
    Jonathan

  • Creating table in oracle lite 10g

    Hi,
    I believe the following is the way to create a database table in Jdeveloper 10g and Oracle BPEL process Manager 10.1.3.1.0
    1.Created bpel project--> right click project ---> create schema---> right click schema---> create table(completed the wizard and created schema and table)
    2.Right click schema ---> new---> database tier---> offline database objects ----> SQL generated from offline database objects(and then complete the wizard)
    If the above is the correct approach to create the table, then I am facing two situations.
    a. In the project properties(offline database), if the 'database to emulate' is set to oracle lite 10g release 1, then "SQL generated from offline database objects" option is not enabled to choose in the step 2 above. So I cannot proceed further.
    b. If the 'database to emulate' is set to oracle database 10g release 2 (this is default), "SQL generated from offline database objects" in step 2 is enabled, but in the wizard that follows, when I tick 'perform operation against the database' it asks me for oracle database connection settings. But I only have the Oracle 10g Lite version and not Oracle database 10g. So I am not able proceed further.
    All I need is to create tables in the Oracle Lite database that I have.
    Any help on this issue will be greatly appreciated.
    -Sagar

    While waiting for an answer here ... you may want to investigate the Oracle Lite forum at Database Mobile Server (inc. legacy Database Lite)

Maybe you are looking for

  • Managed server not starting on Weblogic 10.3.6 IBM AIX 7.1

    Hi. When i try starting managed server on weblogic 10.3.6 i get this error:    <02-Mar-2015 17:13:25 o'clock EET> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.SecurityException: Unable to locate a login configu

  • Opening multiple objects in Photoshop

    Sorry but I'm new to the wonderful world of Macs having been dancing with the PC devil for too long! When using Photoshop, in the PC world, when opening any image, the background to the workspace is a uniform grey. On my shiny new Mac, the background

  • Using BlackMagic Intensity Pro Video Compression card with FCP in a MacPro

    BlackMagic is offering the Intensity Pro card that they claim is enhancing the quality of video compression for better results than software driven compression, even with Standard DV in addition to HDV, and at a surprisingly cheap cost (less than $30

  • Problems with Thunderbolt Ethernet Adapter with 10.9.1

    Hi! I made the update to 10.9.1. During the reboot after the installation I had a kernel panic. Now my thunderbolt ethernet adapter is not working any more (it does on other macs). What can I do? I have a MacBook Pro Retina early 2013. Thanks, Rex

  • No 'Line input' option in sound prefs after upgrading from Tiger to Leopard

    I have connected guitars and mics using Garageband 3 without a problem, until upgrading from Tiger to Leopard 10.5.8. I'm not getting sound from the guitar apart from feedback when I plug it in to the audio line-in port on my iMac G5. I have read man