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
43 lines
614 B
Plaintext
43 lines
614 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 clean package
|
|
----
|
|
|
|
== Native Run:
|
|
|
|
[source,shell]
|
|
----
|
|
./target/jpa-sample
|
|
----
|