Closed Rapter1990 closed 1 year ago
I cannot see that you have a User
Entity, I only find a Person
Entity. JPAStreamer only generates entities from the existing JPA model that you have.
I also note that the Person
class is using jakarta.persistence
which is part of JPA 3. JPAStreamer version 1.1.4 is only compatible with JPA 2, but if you update jpastreamer.version
to 3.0.3 and rebuild your project you should get a Person$
generated in target/generated-sources. Give it a try and let me know how it goes.
Also thanks for providing a complete example application - helps a lot!
@julgus I solved the issue and I forgot to inform you about that. I implemented a config class to handle with that. Thank you for your answer.
Great, thanks for the update!
I tried to implement an example of Spring Boot with the usage of
jpaStreamer
. I useIntellij Idea
to handle with it. I have a problem injpaStreamer.stream
.Here are the dependencies shown below
Here is the sample method of UserService shown below
I get this error message shown below
Here is the screenshot shown below
How can I fix it?
Here is the repo : Link