Skip to content

Introduced Arquillian-based example for JPA 2.1 custom converter feature #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2014
Merged

Introduced Arquillian-based example for JPA 2.1 custom converter feature #218

merged 1 commit into from
May 5, 2014

Conversation

bartoszmajsak
Copy link
Contributor

This project demonstrates following new additions to JPA 2.1

  • Custom converter for CreditCard object which belongs to Employee
  • JPA 2.1 schema generation / db seeding options (see persistence.xml)

In addition to Arquillian following tools has been used:

  • AssertJ fluent assertions to verify the result of retrieving all objects from the datastore
  • ShrinkWrap Maven resolve to bundle AssertJ with test deployment

I have removed derby from global dependencies, as it was leading to
java.lang.SecurityException: sealing violation: package org.apache.derby.impl.jdbc.authentication is sealed when running on Glassfish Embedded. @arun-gupta please let me know if that is safe.

…ure.

This project demonstrates following new additions to JPA 2.1
* Custom converter for `CreditCard` object which belongs to Employee
* JPA 2.1 schema generation / db seeding options (see `persistence.xml`)

In addition to Arquillian following tools has been used:
* AssertJ fluent assertions to verify the result of retrieving all objects from the datastore
* ShrinkWrap Maven resolve to bundle AssertJ with test deployment
arun-gupta added a commit that referenced this pull request May 5, 2014
Introduced Arquillian-based example for JPA 2.1 custom converter feature
@arun-gupta arun-gupta merged commit 41106b7 into javaee-samples:master May 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants