Skip to Content
author's profile photo Former Member
Former Member

How to use JDO with external database

Hi,

is it possible do use JDO (part of WAS 6.4) with an external relational database that is not contained in the data dictionary? If so, what are the steps to do it?

Any help appreciated!

Martin

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 07, 2004 at 12:20 PM

    Hi Martin,

    What you need to do is as follows:

    1. Create a DataSource for the database that you want to connect to, using either native or vendor SQL. You can do that in Visual Administrator, in the runtime tab of JDBC Connector Service.

    2. Change the ConnectionFactoryName of the JDO resource adapter to point to the new DataSource. You can do that again in Visual Administrator, in the runtime tab of Connector Container Service.

    You can get more information about these two steps in the Administration Manual for SAP Web AS Java under Server Administration -> SAP J2EE Engine Administration -> Transactions and Resource Handling at the following link:

    http://help.sap.com/saphelp_nw04/helpdata/en/13/a3bb3eff62847ae10000000a114084/frameset.htm

    For more information about the ConnectionFactoryName property of the JDO resource adapter, see the Development Manual under Developing Business Logic -> Java Persistence -> Object Persistence for Java -> Java Data Objects -> Architecture Overview -> The Default PersistenceManagerFactory.

    Hope that helps,

    Zornitsa

    Message was edited by: Zornitsa Yankulova

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.