-
I'm unable to setup a Micronaut Data project that successfully saves to an oracle database table using Micronaut Version: 2.0.1, Eclipse Version: 2019-09 R (4.13.0). My table is PAYMENT_REQUEST and has the following structure: I referred to this documentation. Can you please provide a link to a working example that at least saves to an H2 database table with a repository that implements crud repository to go along with this documentation? I am trying to run the PaymentRequestRepositoryTest class testSavePaymentRequest test method. I have a repository "PaymentRequestRepository" that implements CrudRepository, but when I call save using this repository it returns the Entity "PaymentRequest" I want to save but it doesn't actually save it to the database table (I don't see the row of data added). Here's all the relevant code, application.yml, and build.gradle attached as .docx because I couldn't attach .java files. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
To create an application "that works" you can go to https://micronaut.io/launch/ and select Here you can find an example of an application that uses Micronaut Data JDBC and Oracle. We have the same example here but for Micronaut Data JPA and Oracle. |
Beta Was this translation helpful? Give feedback.
To create an application "that works" you can go to https://micronaut.io/launch/ and select
data-jdbc
(ordata-jpa
) andoracle
features to generate an skeleton for a fully functional application.Here you can find an example of an application that uses Micronaut Data JDBC and Oracle. We have the same example here but for Micronaut Data JPA and Oracle.