Replies: 2 comments
-
You are right, you need to replace the JPA queries by custom java methods.
That’s correct too. |
Beta Was this translation helpful? Give feedback.
-
thanks @hg-ms |
Beta Was this translation helpful? Give feedback.
-
Hi;
in my application I have about 100 JPA entities
I intend to take a small chunk and port to microstream.
i will use this thread to ask things that come up.
currently I have 2 questions:
all named queries in JPA should now be simply convenience methods using the java Streams API? I have a lot of named queries on each entity...
![entity](https://user-images.githubusercontent.com/2852437/217514811-6f134625-3d1e-4fb6-a379-596d194f0015.png)
all our DB tables have a primary key with autoincrement. if I undersand correctly, assuming I still want to have such a functionality in microstream, I need to implement this autoincrement feature myself whithin the app?
![entity-id](https://user-images.githubusercontent.com/2852437/217515204-614ab2b2-767f-4c4c-9dab-39c1f61b78d5.png)
thanks!
Beta Was this translation helpful? Give feedback.
All reactions