Files
spring-cloud-task/spring-cloud-task-samples/jpa-sample
Glenn Renfro b7b7de5337 Updated readmes to improve copy pastability
Also added instructions for native compilation for those apps that it is useful

Added documentation for native compilation when using Single Step Batch Processing

Updated documentaiton for native compilation for single app processing
2022-10-07 14:29:05 -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
2022-10-06 01:14:34 +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 clean package
----

== Native Run:

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