Hey, Čedomir Igaly thanks for taking an interest in this ticket. You might want to check with Christian since this ticket was a result of our conversation on Zulip here - https://hibernate.zulipchat.com/#narrow/stream/132094-hibernate-orm-dev/topic/INTERVAL_SECOND.20for.20mapping.20Duration.20properties/near/357624174
Also, my guess is that this is more general problem, not limited only to Duration’s, but for other types where there is preferred JDBC type.
that’s most likely the case since MetadataBuildingProcess has a few more similar calls to adaptToPreferredSqlTypeCode(..) but I’ll defer the confirmation to someone from the ORM team 🙂 |