-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rmpestano
committed
Aug 27, 2016
1 parent
0e0a696
commit bdfcd9d
Showing
38 changed files
with
318 additions
and
288 deletions.
There are no files selected for viewing
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
Submodule dbunit-tomee-appcomposer-sample
added at
2f95d6
Submodule jOOQ-DBUnit-flyway-example
added at
8bfd63
2 changes: 1 addition & 1 deletion
2
examples/README.adoc → ...les/jpa-productivity-boosters/README.adoc
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
= DBUnit rules Examples | ||
= JPA Productivity Boosters | ||
|
||
DBUnit rules integration tests for https://jaxenter.com/top-3-jpa-productivity-boosters-for-java-ee-developers-deltaspike-data-116136.html[top 3 jpa productivity boosters^] project. |
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,205 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
|
||
<parent> | ||
<groupId>com.github.dbunit-rules</groupId> | ||
<artifactId>examples</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>jpa-productivity-boosters</artifactId> | ||
<packaging>jar</packaging> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.deltaspike.modules</groupId> | ||
<artifactId>deltaspike-data-module-api</artifactId> | ||
<version>${ds.version}</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.deltaspike.modules</groupId> | ||
<artifactId>deltaspike-data-module-impl</artifactId> | ||
<version>${ds.version}</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.deltaspike.modules</groupId> | ||
<artifactId>deltaspike-jpa-module-api</artifactId> | ||
<version>${ds.version}</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.deltaspike.modules</groupId> | ||
<artifactId>deltaspike-jpa-module-impl</artifactId> | ||
<version>${ds.version}</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.springframework.data</groupId> | ||
<artifactId>spring-data-jpa</artifactId> | ||
<version>1.7.2.RELEASE</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.mysema.querydsl</groupId> | ||
<artifactId>querydsl-core</artifactId> | ||
<version>3.6.2</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.mysema.querydsl</groupId> | ||
<artifactId>querydsl-jpa</artifactId> | ||
<version>3.6.2</version> | ||
</dependency> | ||
|
||
<!-- test deps --> | ||
|
||
<dependency> | ||
<groupId>com.github.dbunit-rules</groupId> | ||
<artifactId>core</artifactId> | ||
<version>${project.parent.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<!-- see DeltaspikeUsingInterceptorIt --> | ||
<groupId>com.github.dbunit-rules</groupId> | ||
<artifactId>cdi</artifactId> | ||
<version>${project.parent.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.github.dbunit-rules</groupId> | ||
<artifactId>cucumber</artifactId> | ||
<version>${project.parent.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.deltaspike.modules</groupId> | ||
<artifactId>deltaspike-test-control-module-api</artifactId> | ||
<version>${ds.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.deltaspike.core</groupId> | ||
<artifactId>deltaspike-core-impl</artifactId> | ||
<version>${ds.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.deltaspike.modules</groupId> | ||
<artifactId>deltaspike-test-control-module-impl</artifactId> | ||
<version>${ds.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.deltaspike.cdictrl</groupId> | ||
<artifactId>deltaspike-cdictrl-weld</artifactId> | ||
<version>${ds.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.weld.se</groupId> | ||
<artifactId>weld-se-core</artifactId> | ||
<version>2.2.14.Final</version> | ||
<scope>test</scope> | ||
<exclusions> | ||
<exclusion> | ||
<artifactId>guava</artifactId> | ||
<groupId>com.google.guava</groupId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.hibernate</groupId> | ||
<artifactId>hibernate-core</artifactId> | ||
<version>4.2.8.Final</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.hibernate</groupId> | ||
<artifactId>hibernate-entitymanager</artifactId> | ||
<version>4.2.8.Final</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jboss.spec</groupId> | ||
<artifactId>jboss-javaee-6.0</artifactId> | ||
<version>3.0.3.Final</version> | ||
<type>pom</type> | ||
</dependency> | ||
|
||
|
||
<dependency> | ||
<groupId>javax.validation</groupId> | ||
<artifactId>validation-api</artifactId> | ||
<version>1.1.0.Final</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss</groupId> | ||
<artifactId>jandex</artifactId> | ||
<version>1.2.2.Final</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>com.mysema.maven</groupId> | ||
<artifactId>apt-maven-plugin</artifactId> | ||
<version>1.1.3</version> | ||
<executions> | ||
<execution> | ||
<id>querydsl</id> | ||
<goals> | ||
<goal>process</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>target/generated-sources/querydsl</outputDirectory> | ||
<processor>com.mysema.query.apt.jpa.JPAAnnotationProcessor</processor> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>metamodel</id> | ||
<goals> | ||
<goal>process</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>target/generated-sources/metamodel</outputDirectory> | ||
<processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.hibernate</groupId> | ||
<artifactId>hibernate-jpamodelgen</artifactId> | ||
<version>4.3.8.Final</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.mysema.querydsl</groupId> | ||
<artifactId>querydsl-apt</artifactId> | ||
<version>3.6.1</version> | ||
</dependency> | ||
</dependencies> | ||
</plugin> | ||
|
||
</plugins> | ||
</build> | ||
|
||
</project> |
2 changes: 0 additions & 2 deletions
2
.../src/main/java/org/example/CdiConfig.java → .../src/main/java/org/example/CdiConfig.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
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
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 |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
import javax.persistence.Entity; | ||
|
||
/** | ||
* | ||
* @author Matti Tahvonen | ||
*/ | ||
@Entity | ||
|
File renamed without changes.
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
3 changes: 2 additions & 1 deletion
3
...service/deltaspike/ContactRepository.java → ...service/deltaspike/ContactRepository.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
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
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
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
...service/springdata/ContactRepository.java → ...service/springdata/ContactRepository.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
Oops, something went wrong.