We use kotlin with quarkus 3 and upgraded to hiber...
# getting-started
s
We use kotlin with quarkus 3 and upgraded to hibernate 6. When running tests a second time, we get an issue with postgresql enums and "org.hibernate.PropertyAccessException: Could not set value of type". Is there an easy way to determine or even render out the 'java' equivilent of the kotlin class we use? This might just look relevant different in java:
@Enumerated(EnumType._STRING_)
@Column(name = "base_currency", columnDefinition = "currency_code")
@Type(PostgreSQLEnumType::class)
var baseCurrency: CurrencyCode? = null
m
Yes the IDE can do this. Use "Show Kotlin Bytecode" as an action.
Then click "Decompile"