Files
spring-cloud-task/spring-cloud-task-samples/jpa-sample
2023-08-12 17:18:12 +00:00
..
2019-03-11 12:48:37 -05:00
2019-03-11 12:48:37 -05:00
2023-08-12 17:18:12 +00:00

= 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
----