Task identifies if JPA is in use and uses JPTransactionManager
resolves #309
This commit is contained in:
committed by
Michael Minella
parent
3b8670e765
commit
b03f8398a7
28
spring-cloud-task-samples/jpa-sample/README.adoc
Normal file
28
spring-cloud-task-samples/jpa-sample/README.adoc
Normal 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
|
||||
----
|
||||
Reference in New Issue
Block a user