Hello, I am trying to make a query but some attributes in my database have specific types which I have done before. So when I make my query, an error appears:
org.postgresql.util.PSQLException: ERROR: the “competence” column is of type “Competences” but the expression is of type variant character
Note: You must rewrite the expression or apply a type transformation to it.
I understand what the problem is but I don’t know how to fix it because the parameters only take strings, integers or something like that. And I have to take a type that I created directly in my database, what should I do?
Thank you very much in advance!