OZP-73 Structure persistence directories
OZP-73 Added optimized queries to repositories
OZP-73: Initial cut for the persistence API and JPA implementation of that abstraction
OZP-73: Create orm.xml
OZP-73: Added support for unit testing persistence layer. Technically an integration test, tests will persist Entities to an in memory Derby DB to check that mappings and Repositories behave as expected when integrated with a real RDBMS
OZP-75 Added a guard so the Ozone JPA unit tests don't throw NPE when EntityManagerFactory cannot be instantiated
OZP-73: Tweaked domain models to better support proxy classes. Made some tweaks to make OpenJPA work with our domain models such as no longer lazy instantating collections. Got rid of EntityWithId and just using Entity now since we know we are storing all domain models as GUID Strings
OZP-75: Configured Maven with an OpenJPA plugin to perform byte code enhancement at compile time to speed up app initialization. Worked out an issue with Groovy + OpenJPA (solution was to use Java for a certain class). Wrote a test showing that JPA can integrate with our validation system to validate entities before save and before persist (creation).
OZP-73: Updated orm.xml
OZP-73: Update object map
OZP-75:

Added a number of tests persist to an in memory Derby database and show that Entities may be persisted and retrieved and that they're associations are properly persisted. Added cascades to the mapping on Aggregates and tests show that Entities inside an Aggregate are deleted when the Aggregate Root Entity no longer maintains a reference to them
Fixed some bugs in the Domain layer which were caught while testing persistence
OZP-75: Added comments and fixed paging implementation for the Repositories' findAll query
OZP-73
OZP-73: OZP-13: OZP-297: Adding feature file, starting stages to wrap OSGi DB drivers
OZP-73: OZP-13: OZP-297:  Merged Master into feature branch, had to fix issues that fell out from that merge; moreover, had to get build working as well (Updated to Sprint4 version, updated orm transients)
OZP-76 Basic groundwork for storing a person in Mongodb
OZP-76: Declared interfaces for Unit of Work, Identity Map, Document Mapper, Document Mapper Registry, and consolidated these patterns into a MongoSession which will orchestrate the process of finding and persisting Entities in MongoDB. Implemented Identity Map with tests. Removed javax.persistence from Domain model and removed the Groovy @ToString since it was generating extra fields that are incompatible with JPA byte code enhancement
OZP-76 Implemented DocumentMapperRegistry for MongoDB document to object mappers
Merge branch 'master' into feature/ozp-73-persistence-api
OZP-76
* Implemented integration testing for Mongo project with embedmongo maven plugin. Plugin will retrieve and start a mongod process for the duration of the integration tests. Maven Surefire runs unit tests and FailSafe runs integration tests
* Implemented Unit of Work for Mongo DB.