JPA with Eclipse Dali Java Persistence Tool
By admin on Aug 14, 2008 in Java, Programming
Starting Eclipse 3.4, you can use the Dali Java Persistence Tool to create JPA project. The requirements are
-
Eclipse 3.4 (
http://www.eclipse.org/downloads
) -
Java Runtime Environment (JRE) 1.5 (
http://java.com
) -
Eclipse Web Tools Platform (WTP) 3.0 (
http://www.eclipse.org/webtools
) -
Java Persistence API (JPA) for Java EE 5. The reference implementation can be obtained from from Glassfish
Using Dali, you can also
- generate entities from database tables
- generate DDL from entities by right-click the JPA project in the Package Explorer and select JPA Tools > Generate DDL.
You can also do mappings easily for the followings
- Basic mapping
- Embedded mapping
- Embedded ID mapping
- ID mapping
- Many-to-many mapping
- Many-to-one mapping
- One-to-many mapping
- One-to-one mapping
- Transient mapping
- Version mapping
Sorry, comments for this entry are closed at this time.