Files
spring-cloud-task/spring-cloud-task-samples/jpa-sample
Glenn Renfro 2ef93291fc Updated Task to the latests snapshot of Micrometer
Updated to handle the batch changes

Removing aot execution from sample apps

Remove snapshot version and rely on bom

Signed-off-by: Glenn Renfro <grenfro@vmware.com>
2022-10-10 14:36:14 -04:00
..
2022-07-25 11:41:43 -04:00
2019-03-11 12:48:37 -05:00
2019-03-11 12:48:37 -05: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 clean package
----

== Native Run:

[source,shell]
----
./target/jpa-sample
----