anyone knows what can be causing problems with enums? i'm attaching the error, my model and how i build my db
#enum problem
23 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @wet grove! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Why role user_role not null?
because every user has to have a role - doesn't matter in this context
yessir : ]
JDBC? JPA?
Is this Spring JDBC?
Try not using enums in your DB/SQL code
Spring JDBC doesn't like this I think
exactly, i have seen this post but i was still wondering if this is the only way
okay, good to know for sure : ]
or maybe try stringtype=unspecified,as the other answer suggests
it worked for now, but i will need to check if this doesn't affect other things globally - strange stuff : ]
thanks for picking this up for me, i am kinda brain damaged when i think about this
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.