Replies: 3 comments 2 replies
-
I forgot to put my application.properties. Here it is :
|
Beta Was this translation helpful? Give feedback.
-
Hey,
I'm sorry, I did not find a solution. I ended up going back to Spring and
giving up Quarkus unfortunately.
Best regards
Le jeu. 22 août 2024 à 12:44, Luca Dario Bützberger <
***@***.***> a écrit :
… Hey, sorry to bother. Have you found a solution / the cause of the
problem? I am currently doing a school project where I have to make a small
backend for a blog app. I am getting the exact same error as you. During
the drop phase at startup, it crashes. There are amyn posts about this
problem but I haven't found one explaining the solution.
—
Reply to this email directly, view it on GitHub
<#39713 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2PJNVHUDVQHZOTUFZEB4DZSW6J3AVCNFSM6AAAAABFJJFWPKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBRG43TQMY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hey, the problem with that approach is that you actually have to maintain
this file each time you create a table, or modify one. The whole point of
this was not to have to handle database creation / modification. It'll work
for your school project, but in a real situation, you want to avoid having
such manual, easy to forget files to maintain
|
Beta Was this translation helpful? Give feedback.
-
Hi team,
First of all, I hope I'm posting at the proper place.
I'm trying to achieve a simple Quarkus project with a database, a User object associated with a Feed object. User can have multiple feeds. Database is MySQL with panache hibernate, all reactive.
I coded a User entity along with its services. Works like a charm.
Then I tried to add my Feed entity. Now, when I try to start my quarkus env, quarkus reports below error :
User entity class :
Feed entity class :
I'm not sure if my entities are unproperly coded or if it is an issue with the framework. I searched for quite a long time and most of what I found as solution for such use case is what I coded.
OneToOne relationship between User and UserPreference entities works fine.
Thank you in advance for the support you will provide.
Best regards
Beta Was this translation helpful? Give feedback.
All reactions