I’m connecting to an Oracle database with SQL Developer, the connection data was provided to me in XML form. I used the “Import Connection Descriptor” feature in SQL Developer and I can connect just fine. The XML looks like this:
<connections>
<connection>
<ConnectionType>JDBC</ConnectionType>
<DeployPassword>false</DeployPassword>
<user>user1</user>
<ConnectionName>ccddda</ConnectionName>
<URL>CCDDDA, CCDDD10A, CCDDD10A.ABCDEF.ABC</URL>
<RaptorConnectionType>Oracle</RaptorConnectionType>
<JdbcDriver>oracle.jdbc.driver.OracleDriver</JdbcDriver>
<PWD>
<![CDATA[01AB001AB001AB001AB001AB001AB01234]]>
</PWD>
<ORACLE_JDBC_TYPE>thin</ORACLE_JDBC_TYPE>
<PREVIOUS_NAME>ccddd2_11</PREVIOUS_NAME>
</connection>
</connections>
The problem is, I’m trying to create a database connection using the JPA perspective > Datasource Explorer in Eclipse.
My question is, how do I derive the JDBC values from the XML needed to establish the connection? The dialog is asking for the following:
Select a database manager: Oracle
JDBC driver: Oracle 10 - Oracle Thing Driver Default
SID: db /* selected by default */
Host: ?
Port Number: 1521 /* selected by default */
User name: ? /* I assume it's user1 */
Password: ?
Default Schema: ?
Catalog: User /* selected by default */
Any help is GREATLY appreciated!
Thanks, Rob
Look in these locations: