Task identifies if JPA is in use and uses JPTransactionManager

resolves #309
This commit is contained in:
Glenn Renfro
2017-05-01 18:00:58 -04:00
committed by Michael Minella
parent 3b8670e765
commit b03f8398a7
20 changed files with 1014 additions and 9 deletions

View File

@@ -0,0 +1,28 @@
= JPA Sample Task
This is a Spring Cloud Task Boot Application that uses JPA to persist data to
a data store.
== Requirements:
* Java 7 or Above
== Classes:
* JpaApplication - the Spring Boot Main Application.
* TaskRunComponent - Component responsible for writing data to the repository.
* TaskRunOutput - Entity to be written to the repository.
== Build:
[source,shell,indent=2]
----
$ mvn clean package
----
== Run:
[source,shell,indent=2]
----
$ java -jar target/jpa-sample-1.3.0.RELEASE.jar
----