Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/Examples/JPA/IDE/JDeveloper"
< EclipseLink | Examples | JPA
m (→Native sessions.xml Generation using embedded Mapping Workbench in JDeveloper) |
m (→EclipseLink and JDeveloper 11 Integration) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=EclipseLink and JDeveloper 11 Integration= | =EclipseLink and JDeveloper 11 Integration= | ||
*Under construction as of 20081010 | *Under construction as of 20081010 | ||
+ | ==Download JDeveloper== | ||
+ | *The following download site has the latest Oct 2008 version of JDeveloper 11 | ||
+ | |||
+ | http://www.oracle.com/technology/software/products/jdev/index.html | ||
+ | |||
+ | http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html | ||
+ | |||
+ | ==Installation== | ||
+ | ===Installing JDeveloper and Embedded WebLogic=== | ||
+ | You may install JDeveloper and the embedded Oracle WebLogic server into the default middleware home locations. | ||
+ | [[Image:Jdeveloper11_weblogic103_middleware_install.JPG]] | ||
+ | |||
==Project Generation== | ==Project Generation== | ||
===Native sessions.xml Generation using embedded Mapping Workbench in JDeveloper=== | ===Native sessions.xml Generation using embedded Mapping Workbench in JDeveloper=== | ||
Line 9: | Line 21: | ||
[[Image:Jdev_create_new_sessions_config_expanded.JPG]] | [[Image:Jdev_create_new_sessions_config_expanded.JPG]] | ||
− | *Verify that you have a valid platform-class in your login element in the sessions.xml | + | *Verify that you have a valid platform-class in your login element in the sessions.xml. If this platform-class is missing, select the generic Oracle platform, save, reselect Oracle11 and save again. |
− | <source lang="xml> | + | |
+ | <source lang="xml"> | ||
<?xml version="1.0" encoding="Cp1252"?> | <?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"> | <sessions version="1.0.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
Line 24: | Line 37: | ||
</session> | </session> | ||
</sessions> | </sessions> | ||
− | |||
</source> | </source> |
Latest revision as of 19:27, 24 March 2009
Contents
EclipseLink and JDeveloper 11 Integration
- Under construction as of 20081010
Download JDeveloper
- The following download site has the latest Oct 2008 version of JDeveloper 11
http://www.oracle.com/technology/software/products/jdev/index.html
http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html
Installation
Installing JDeveloper and Embedded WebLogic
You may install JDeveloper and the embedded Oracle WebLogic server into the default middleware home locations.
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.
- Verify that you have a valid platform-class in your login element in the sessions.xml. If this platform-class is missing, select the generic Oracle platform, save, reselect Oracle11 and save again.
<?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>