-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests are run against both Hibernate and EclipseLink JPA
- Loading branch information
ivelkov
committed
Aug 15, 2017
1 parent
7458a9e
commit 60d0d77
Showing
5 changed files
with
129 additions
and
189 deletions.
There are no files selected for viewing
107 changes: 0 additions & 107 deletions
107
src/test/java/com/github/tennaito/rsql/jpa/AbstractVisitorTest.java
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
src/test/java/com/github/tennaito/rsql/jpa/EntityManagerFactoryInitializer.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/test/java/com/github/tennaito/rsql/jpa/TestEntityManagerBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.github.tennaito.rsql.jpa; | ||
|
||
import javax.persistence.EntityManager; | ||
import javax.persistence.Persistence; | ||
|
||
/** | ||
* Created by ivelin on 8/15/17. | ||
*/ | ||
public class TestEntityManagerBuilder { | ||
|
||
public EntityManager buildEntityManager(String persistenceUnit) { | ||
final EntityManager entityManager = Persistence.createEntityManagerFactory(persistenceUnit).createEntityManager(); | ||
return entityManager; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters