Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Examples/JPA/IDE/JDeveloper"

m (New page: =EclipseLink and JDeveloper 11 Integration= *Under construction as of 20081010 ==Project Generation== ===Native sessions.xml Generation using embedded Mapping Workbench in JDeveloper=== Th...)
 
m (Native sessions.xml Generation using embedded Mapping Workbench in JDeveloper)
Line 5: Line 5:
 
The following screen captures show how to generate a sessions.xml configuration using JDeveloper 11.
 
The following screen captures show how to generate a sessions.xml configuration using JDeveloper 11.
  
 +
[[Image:Jdev_create_new_sessions_config_wizard1.JPG]]
 
[[Image:Jdev_create_new_sessions_config_unexpanded.JPG]]
 
[[Image:Jdev_create_new_sessions_config_unexpanded.JPG]]
 
[[Image:Jdev_create_new_sessions_config_expanded.JPG]]
 
[[Image:Jdev_create_new_sessions_config_expanded.JPG]]
[[Image:Jdev_create_new_sessions_config_wizard1.JPG]]
+
 
 +
*Verify that you have a valid platform-class in your login element in the sessions.xml
 +
<source lang="xml>
 +
<?xml version="1.0" encoding="Cp1252"?>
 +
<sessions version="1.0.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 +
<session xsi:type="database-session">
 +
  <name>default1</name>
 +
  <server-platform xsi:type="weblogic-10-platform"/>
 +
  <login xsi:type="database-login">
 +
  <platform-class>org.eclipse.persistence.platform.database.oracle.Oracle11Platform</platform-class>
 +
  <sequencing>
 +
    <default-sequence xsi:type="table-sequence"/>
 +
  </sequencing>
 +
  </login>
 +
</session>
 +
</sessions>
 +
 
 +
</source>

Revision as of 11:02, 10 October 2008

EclipseLink and JDeveloper 11 Integration

  • Under construction as of 20081010

Project Generation

Native sessions.xml Generation using embedded Mapping Workbench in JDeveloper

The following screen captures show how to generate a sessions.xml configuration using JDeveloper 11.

Jdev create new sessions config wizard1.JPG Jdev create new sessions config unexpanded.JPG Jdev create new sessions config expanded.JPG

  • Verify that you have a valid platform-class in your login element in the sessions.xml
<?xml version="1.0" encoding="Cp1252"?>
<sessions version="1.0.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <session xsi:type="database-session">
  <name>default1</name>
  <server-platform xsi:type="weblogic-10-platform"/>
  <login xsi:type="database-login">
   <platform-class>org.eclipse.persistence.platform.database.oracle.Oracle11Platform</platform-class>
   <sequencing>
    <default-sequence xsi:type="table-sequence"/>
   </sequencing>
  </login>
 </session>
</sessions>

Back to the top