This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 250473 - Examples: Add J2SE application-managed JPA DDL generation project for Java EE EAR tutorials
Summary: Examples: Add J2SE application-managed JPA DDL generation project for Java EE...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/E...
Whiteboard:
Keywords:
Depends on:
Blocks: 249541 250475 250476 250477 265643 297756
  Show dependency tree
 
Reported: 2008-10-10 13:41 EDT by Michael OBrien CLA
Modified: 2022-06-09 10:27 EDT (History)
1 user (show)

See Also:


Attachments
Shared Entity Cell@ManyToMany Data Model (11.75 KB, image/gif)
2008-10-10 15:58 EDT, Michael OBrien CLA
no flags Details
application managed ddl generation for EclipseLink web tutorials (47.49 KB, patch)
2008-10-14 16:56 EDT, Michael OBrien CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2008-10-10 13:41:16 EDT
All of the Web application tutorials for the following servers will use a common data model and will require a single shared project that is server independent and uses an application managed entitymanager to do DDL generation.

WebLogic (EAR in SVN)
OC4J, GlassFish, WebSphere, Tomcat, Spring, JBoss are pending.


http://wiki.eclipse.org/EclipseLink/Examples/JPA#JPA_Web_Application_Tutorials


We will then not need to ship database specific schema files to populate the database schema, we will use the following two persistence.xml properties to do (non-advanced automatic DDL generation).

<property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
<property name="eclipselink.ddl-generation.output-mode" value="database"/>
Comment 1 Michael OBrien CLA 2008-10-10 15:58:24 EDT
Created attachment 114832 [details]
Shared Entity Cell@ManyToMany Data Model
Comment 2 Michael OBrien CLA 2008-10-14 16:56:38 EDT
Created attachment 115089 [details]
application managed ddl generation for EclipseLink web tutorials
Comment 3 Michael OBrien CLA 2008-10-14 17:01:12 EDT
rev 2566
Comment 4 Michael OBrien CLA 2008-11-06 13:53:54 EST
see rev 2566
Comment 5 Michael OBrien CLA 2010-02-17 22:36:24 EST
>The JBoss tutorial does not require this project - DDL generation on the container works for HSQL
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:27:47 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink