Download jpa Free Java Code

Description

following the Pro JPA2 book.

Icons

jpa

Source Files

The download file jpa-master.zip has the following entries.


.gitignore/*from ww w  .j  a  v  a2  s . co m*/
README.md
ch10_advancedORM/README.md
ch10_advancedORM/pom.xml
ch10_advancedORM/src/main/java/pro/jpa2/cdi/Processor.java
ch10_advancedORM/src/main/java/pro/jpa2/cdi/ProcessorImpl.java
ch10_advancedORM/src/main/java/pro/jpa2/data/EmployeeListProducer.java
ch10_advancedORM/src/main/java/pro/jpa2/data/GenericDao.java
ch10_advancedORM/src/main/java/pro/jpa2/data/Ordering.java
ch10_advancedORM/src/main/java/pro/jpa2/model/Address.java
ch10_advancedORM/src/main/java/pro/jpa2/model/ContactInfo.java
ch10_advancedORM/src/main/java/pro/jpa2/model/Employee.java
ch10_advancedORM/src/main/java/pro/jpa2/model/Phone.java
ch10_advancedORM/src/main/java/pro/jpa2/model/derived/Address.java
ch10_advancedORM/src/main/java/pro/jpa2/model/derived/Employee.java
ch10_advancedORM/src/main/java/pro/jpa2/model/derived/EmployeeHistory.java
ch10_advancedORM/src/main/java/pro/jpa2/model/derived/Project.java
ch10_advancedORM/src/main/java/pro/jpa2/model/derived/ProjectHistory.java
ch10_advancedORM/src/main/java/pro/jpa2/model/derived/ProjectId.java
ch10_advancedORM/src/main/java/pro/jpa2/model/inheritance/CompanyEmployee.java
ch10_advancedORM/src/main/java/pro/jpa2/model/inheritance/ContractEmployee.java
ch10_advancedORM/src/main/java/pro/jpa2/model/inheritance/Employee.java
ch10_advancedORM/src/main/java/pro/jpa2/model/inheritance/FullTimeEmployee.java
ch10_advancedORM/src/main/java/pro/jpa2/model/inheritance/PartTimeEmployee.java
ch10_advancedORM/src/main/java/pro/jpa2/util/Resources.java
ch10_advancedORM/src/main/resources/META-INF/log4j.properties
ch10_advancedORM/src/main/resources/META-INF/persistence.xml
ch10_advancedORM/src/main/resources/import.sql
ch10_advancedORM/src/main/webapp/WEB-INF/beans.xml
ch10_advancedORM/src/main/webapp/WEB-INF/faces-config.xml
ch10_advancedORM/src/main/webapp/WEB-INF/templates/default.xhtml
ch10_advancedORM/src/main/webapp/index.html
ch10_advancedORM/src/main/webapp/index.xhtml
ch10_advancedORM/src/main/webapp/resources/css/screen.css
ch10_advancedORM/src/main/webapp/resources/gfx/270x50.png
ch10_advancedORM/src/main/webapp/resources/gfx/905x110.png
ch10_advancedORM/src/test/java/pro/jpa2/cdi/InterfaceTest.java
ch10_advancedORM/src/test/java/pro/jpa2/model/NestedEmbeddableTest.java
ch10_advancedORM/src/test/java/pro/jpa2/model/derived/DerivedIdTest.java
ch10_advancedORM/src/test/java/pro/jpa2/model/inheritance/MappedSuperclassTest.java
ch10_advancedORM/src/test/resources/arquillian.xml
ch10_advancedORM/src/test/resources/testSeeds/3ProjectsEmployeesDepts.sql
ch10_advancedORM/src/test/resources/testSeeds/MappedSuperclass.sql
ch10_advancedORM/src/test/resources/testSeeds/derivedId.sql
ch10_advancedORM/src/test/resources/testSeeds/embeddables.sql
ch4_orm/README.md
ch4_orm/pom.xml
ch4_orm/src/main/java/pro/jpa2/controller/EmployeeRegistration.java
ch4_orm/src/main/java/pro/jpa2/data/EmployeeListProducer.java
ch4_orm/src/main/java/pro/jpa2/data/GenericDao.java
ch4_orm/src/main/java/pro/jpa2/data/Ordering.java
ch4_orm/src/main/java/pro/jpa2/model/Address.java
ch4_orm/src/main/java/pro/jpa2/model/AddressCompany.java
ch4_orm/src/main/java/pro/jpa2/model/AddressEmployee.java
ch4_orm/src/main/java/pro/jpa2/model/Department.java
ch4_orm/src/main/java/pro/jpa2/model/Employee.java
ch4_orm/src/main/java/pro/jpa2/model/EmployeeCustomId.java
ch4_orm/src/main/java/pro/jpa2/model/ParkingEmployee.java
ch4_orm/src/main/java/pro/jpa2/model/ParkingSpace.java
ch4_orm/src/main/java/pro/jpa2/model/Project.java
ch4_orm/src/main/java/pro/jpa2/model/ProjectEmployee.java
ch4_orm/src/main/java/pro/jpa2/model/Upload.java
ch4_orm/src/main/java/pro/jpa2/model/UploadBidirectional.java
ch4_orm/src/main/java/pro/jpa2/model/UploadFile.java
ch4_orm/src/main/java/pro/jpa2/model/UploadFileBidirectional.java
ch4_orm/src/main/java/pro/jpa2/util/Resources.java
ch4_orm/src/main/resources/META-INF/log4j.properties
ch4_orm/src/main/resources/META-INF/persistence.xml
ch4_orm/src/main/resources/import.sql
ch4_orm/src/main/webapp/WEB-INF/beans.xml
ch4_orm/src/main/webapp/WEB-INF/faces-config.xml
ch4_orm/src/main/webapp/WEB-INF/templates/default.xhtml
ch4_orm/src/main/webapp/index.html
ch4_orm/src/main/webapp/index.xhtml
ch4_orm/src/main/webapp/resources/css/screen.css
ch4_orm/src/main/webapp/resources/gfx/270x50.png
ch4_orm/src/main/webapp/resources/gfx/905x110.png
ch4_orm/src/test/java/pro/jpa2/data/AddressEmbeddableTest.java
ch4_orm/src/test/java/pro/jpa2/data/BasicEmployeeTest.java
ch4_orm/src/test/java/pro/jpa2/data/BidirectionalManyToManyProjectTest.java
ch4_orm/src/test/java/pro/jpa2/data/BidirectionalOneToManyEmployeeTest.java
ch4_orm/src/test/java/pro/jpa2/data/BidirectionalOneToOneParkingTest.java
ch4_orm/src/test/java/pro/jpa2/data/EmployeeCustomIdTest.java
ch4_orm/src/test/java/pro/jpa2/data/ForeignKeyUpdateBidirectionalTest.java
ch4_orm/src/test/java/pro/jpa2/data/ForeignKeyUpdateTest.java
ch4_orm/src/test/java/pro/jpa2/data/GenericDaoTest.java
ch4_orm/src/test/java/pro/jpa2/em/TransactionAndContextTest.java
ch4_orm/src/test/resources/arquillian.xml
ch4_orm/src/test/resources/testSeeds/1AddressEmployee1Company.sql
ch4_orm/src/test/resources/testSeeds/1Employee1Dept.sql
ch4_orm/src/test/resources/testSeeds/1EmployeeNoDepts.sql
ch4_orm/src/test/resources/testSeeds/1ParkingEmployee1Space.sql
ch4_orm/src/test/resources/testSeeds/1ParkingEmployee1SpaceJoinColumns.sql
ch4_orm/src/test/resources/testSeeds/1Upload1File.sql
ch4_orm/src/test/resources/testSeeds/1Upload1FileBidirectional.sql
ch4_orm/src/test/resources/testSeeds/3ProjectEmployees3Projects.sql
ch5_collections/README.md
ch5_collections/pom.xml
ch5_collections/src/main/java/pro/jpa2/data/GenericDao.java
ch5_collections/src/main/java/pro/jpa2/data/Ordering.java
ch5_collections/src/main/java/pro/jpa2/model/Employee.java
ch5_collections/src/main/java/pro/jpa2/model/VacationEntry.java
ch5_collections/src/main/java/pro/jpa2/util/Resources.java
ch5_collections/src/main/resources/META-INF/log4j.properties
ch5_collections/src/main/resources/META-INF/persistence.xml
ch5_collections/src/main/resources/import.sql
ch5_collections/src/test/java/pro/jpa2/data/BasicEmployeeTest.java
ch5_collections/src/test/resources/arquillian.xml
ch5_collections/src/test/resources/testSeeds/1Employee.sql
ch6_em/README.md
ch6_em/pom.xml
ch6_em/src/main/java/pro/jpa2/controller/EmployeeRegistration.java
ch6_em/src/main/java/pro/jpa2/data/EmployeeListProducer.java
ch6_em/src/main/java/pro/jpa2/data/GenericDao.java
ch6_em/src/main/java/pro/jpa2/data/Ordering.java
ch6_em/src/main/java/pro/jpa2/model/Employee.java
ch6_em/src/main/java/pro/jpa2/model/VacationEntry.java
ch6_em/src/main/java/pro/jpa2/util/Resources.java
ch6_em/src/main/resources/META-INF/log4j.properties
ch6_em/src/main/resources/META-INF/persistence.xml
ch6_em/src/main/resources/import.sql
ch6_em/src/test/java/pro/jpa2/data/DataSourceNameTest.java
ch6_em/src/test/java/pro/jpa2/data/TransactionTest.java
ch6_em/src/test/java/pro/jpa2/data/TripBooker.java
ch6_em/src/test/resources/arquillian.xml
ch6_em/src/test/resources/testSeeds/1AddressEmployee1Company.sql
ch6_em/src/test/resources/testSeeds/1Employee1Dept.sql
ch6_em/src/test/resources/testSeeds/1EmployeeNoDepts.sql
ch6_em/src/test/resources/testSeeds/1ParkingEmployee1Space.sql
ch6_em/src/test/resources/testSeeds/1ParkingEmployee1SpaceJoinColumns.sql
ch6_em/src/test/resources/testSeeds/3ProjectEmployees3Projects.sql
ch7_queries/README.md
ch7_queries/pom.xml
ch7_queries/src/main/java/pro/jpa2/controller/EmployeeRegistration.java
ch7_queries/src/main/java/pro/jpa2/data/EmployeeListProducer.java
ch7_queries/src/main/java/pro/jpa2/data/GenericDao.java
ch7_queries/src/main/java/pro/jpa2/data/Ordering.java
ch7_queries/src/main/java/pro/jpa2/model/CircularEmployee.java
ch7_queries/src/main/java/pro/jpa2/model/ConstructedEmployee.java
ch7_queries/src/main/java/pro/jpa2/model/Department.java
ch7_queries/src/main/java/pro/jpa2/model/Employee.java
ch7_queries/src/main/java/pro/jpa2/util/Resources.java
ch7_queries/src/main/resources/META-INF/log4j.properties
ch7_queries/src/main/resources/META-INF/persistence.xml
ch7_queries/src/main/resources/import.sql
ch7_queries/src/test/java/pro/jpa2/data/BasicQueriesTest.java
ch7_queries/src/test/java/pro/jpa2/data/BulkUpdateTest.java
ch7_queries/src/test/java/pro/jpa2/data/CircularEmployeeTest.java
ch7_queries/src/test/java/pro/jpa2/data/ConstructorExpressionTest.java
ch7_queries/src/test/java/pro/jpa2/data/NamedQueriesTest.java
ch7_queries/src/test/java/pro/jpa2/data/ParametrizedQueriesTest.java
ch7_queries/src/test/java/pro/jpa2/data/ResultListQueriesTest.java
ch7_queries/src/test/java/pro/jpa2/data/SingleResultQueriesTest.java
ch7_queries/src/test/resources/arquillian.xml
ch7_queries/src/test/resources/testSeeds/1AddressEmployee1Company.sql
ch7_queries/src/test/resources/testSeeds/1EmployeeNoDepts.sql
ch7_queries/src/test/resources/testSeeds/1ParkingEmployee1Space.sql
ch7_queries/src/test/resources/testSeeds/1ParkingEmployee1SpaceJoinColumns.sql
ch7_queries/src/test/resources/testSeeds/2CircularEmployees.sql
ch7_queries/src/test/resources/testSeeds/3Employee3Dept.sql
ch7_queries/src/test/resources/testSeeds/3ProjectEmployees3Projects.sql
ch8_jpql/README.md
ch8_jpql/pom.xml
ch8_jpql/src/main/java/pro/jpa2/controller/EmployeeRegistration.java
ch8_jpql/src/main/java/pro/jpa2/data/EmployeeListProducer.java
ch8_jpql/src/main/java/pro/jpa2/data/GenericDao.java
ch8_jpql/src/main/java/pro/jpa2/data/Ordering.java
ch8_jpql/src/main/java/pro/jpa2/model/Address.java
ch8_jpql/src/main/java/pro/jpa2/model/Department.java
ch8_jpql/src/main/java/pro/jpa2/model/DesignProject.java
ch8_jpql/src/main/java/pro/jpa2/model/Employee.java
ch8_jpql/src/main/java/pro/jpa2/model/Phone.java
ch8_jpql/src/main/java/pro/jpa2/model/Project.java
ch8_jpql/src/main/java/pro/jpa2/model/QualityProject.java
ch8_jpql/src/main/java/pro/jpa2/util/Resources.java
ch8_jpql/src/main/resources/META-INF/log4j.properties
ch8_jpql/src/main/resources/META-INF/persistence.xml
ch8_jpql/src/main/resources/import.sql
ch8_jpql/src/test/java/pro/jpa2/data/AggregateTest.java
ch8_jpql/src/test/java/pro/jpa2/data/BasicJpqlTest.java
ch8_jpql/src/test/java/pro/jpa2/data/CollectionsTest.java
ch8_jpql/src/test/java/pro/jpa2/data/FunctionExpressionsTest.java
ch8_jpql/src/test/java/pro/jpa2/data/InheritanceTest.java
ch8_jpql/src/test/java/pro/jpa2/data/JoinTest.java
ch8_jpql/src/test/java/pro/jpa2/data/ModelTest.java
ch8_jpql/src/test/java/pro/jpa2/data/OrderByTest.java
ch8_jpql/src/test/java/pro/jpa2/data/SubqueriesTest.java
ch8_jpql/src/test/resources/arquillian.xml
ch8_jpql/src/test/resources/testSeeds/3ProjectsEmployeesDepts.sql
jpa2-notes/10-advanced.ORM.md
jpa2-notes/2-basics.md
jpa2-notes/3-enterprise.apps.md
jpa2-notes/4-orm.md
jpa2-notes/5-collections.md
jpa2-notes/6-em.md
jpa2-notes/7-queries.md
jpa2-notes/8-jpql.md
jpa2-notes/9-criteria.md
jpa2-notes/README.md
jpa2-notes/additional.md
jpa2-template/README.md
jpa2-template/pom.xml
jpa2-template/src/main/java/pro/jpa2/controller/EmployeeRegistration.java
jpa2-template/src/main/java/pro/jpa2/data/EmployeeListProducer.java
jpa2-template/src/main/java/pro/jpa2/data/GenericDao.java
jpa2-template/src/main/java/pro/jpa2/data/Ordering.java
jpa2-template/src/main/java/pro/jpa2/model/Employee.java
jpa2-template/src/main/java/pro/jpa2/util/Resources.java
jpa2-template/src/main/resources/META-INF/log4j.properties
jpa2-template/src/main/resources/META-INF/persistence.xml
jpa2-template/src/main/resources/import.sql
jpa2-template/src/test/java/pro/jpa2/data/EmployeeTest.java
jpa2-template/src/test/java/pro/jpa2/data/GenericDaoTest.java
jpa2-template/src/test/resources/arquillian.xml
jpa2-template/src/test/resources/datasets/emps.yml

Download

Click the following link to download jpa-master.zip.

jpa-master.zip




















Home »
  Java Free Code »
    Book »




Book
Book Algorithm
Book Design Patterns
Book Example
Book Hadoop
Book JEE
Book Maven
Book Spring