Files
spring-cloud-task/spring-cloud-task-samples/jpa-sample/README.adoc
2022-12-08 09:25:13 -08:00

43 lines
615 B
Plaintext

= JPA Sample Task
This is a Spring Cloud Task Boot Application that uses JPA to persist data to
a data store.
== Requirements:
* Java 17 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]
----
mvn clean package
----
== Run:
[source,shell]
----
java -jar target/jpa-sample-3.0.0.jar
----
== Native Build:
[source,shell]
----
mvn -Pnative native:compile
----
== Native Run:
[source,shell]
----
./target/jpa-sample
----