-
Notifications
You must be signed in to change notification settings - Fork 228
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
Implement JPA DataStore #747
Conversation
…ing a number of bugs with tests and also a few with the data store
…ing a number of bugs with tests and also a few with the data store
<parent> | ||
<groupId>com.yahoo.elide</groupId> | ||
<artifactId>elide-datastore-parent-pom</artifactId> | ||
<version>4.3.1-SNAPSHOT</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be updated to 4.3.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in the merge.
<dependency> | ||
<groupId>com.yahoo.elide</groupId> | ||
<artifactId>elide-datastore-hibernate</artifactId> | ||
<version>4.3.1-SNAPSHOT</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment.
<dependency> | ||
<groupId>com.yahoo.elide</groupId> | ||
<artifactId>elide-integration-tests</artifactId> | ||
<version>4.3.1-SNAPSHOT</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
ArrayList<Class<?>> bindClasses = new ArrayList<>(); | ||
|
||
try { | ||
bindClasses.addAll(ClassScanner.getAnnotatedClasses(Parent.class.getPackage(), Entity.class)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you'll need more than this now. This only covers one package. You will need to include elide-example-models as well.
We should switch Elide-Standalone to use this along with the H2 in memory DB. |
Rebased from #651
DataStore with only javax.persistence dependency.
Can be used with any JEE container.
Supports both JTA and Non-JTA transactions.