Title:
PersistencePaysoffsAdvancedMappingwithJPA Download
Description: This code illustrates the second article about JPA. You will find 2 sub-directories that contain the code
that changes throughout the article.
In each sub-directory you will find :
* a build.xml file that contains the ant tasks to run the test,
* src directory for the Java source and the persistence.xml file
* test directory for the JUnit 4.1 test classes
6-Single Table
--------------
As an example you will find just the code of the inheritance mapped using the single table strategy.
7-Joined with many relationship
-------------------------------
Code of the article with the Joind strategy inheritance and the many-to-many relationship.
To Search:
File list (Check if you may need any files):
6-Single Table
..............\6-Single Table.iml
..............\build.xml
..............\create.sql
..............\drop.sql
..............\src
..............\...\entity
..............\...\......\Company.java
..............\...\......\Customer.java
..............\...\......\Individual.java
..............\...\META-INF
..............\...\........\persistence.xml
..............\test
..............\....\AllTests.java
..............\....\entity
..............\....\......\CompanyTest.java
..............\....\......\CustomerTest.java
..............\....\......\IndividualTest.java
7-Joined with many relationship
...............................\7-Joined with many relationship.iml
...............................\build.xml
...............................\src
...............................\...\entity
...............................\...\......\Address.java
...............................\...\......\Company.java
...............................\...\......\Customer.java
...............................\...\......\Individual.java
...............................\...\......\Tag.java
...............................\...\META-INF
...............................\...\........\persistence.xml
...............................\test
...............................\....\AllTests.java
...............................\....\entity
...............................\....\......\AddressTest.java
...............................\....\......\CompanyTest.java
...............................\....\......\CustomerTest.java
...............................\....\......\IndividualTest.java
...............................\....\......\TagTest.java
doc
JPA-PartII.ipr
JPA-PartII.iws
JPA-PartII.vpdm
lib
...\junit4.1.jar
...\mysql-connector-java-5.0.4-bin.jar
...\toplink-essentials-agent.jar
...\toplink-essentials.jar
readme.txt
vpproject