Timezone properties don't read the default and can't be updated

Description

An entity property with ormType="timezone" seems totally unsupported. The default value is not set in the property, and errors are displayed when manually setting a value:

Environment

None

Activity

Show:

Michael Born @ OrtusAugust 3, 2023 at 9:11 AM

That guide isn’t a full list of Hibernate types. See org.hibernate.types.TimeZoneType.

I only knew this existed because there was (broken) code for it already in the extension.

Luis MajanoAugust 3, 2023 at 9:06 AM
Edited

I don’t think Hibernate supports directly a timezone only property. Where are you getting that timezone is a supported type.

Here are the supported types:

Ok, I take that back, it’s there! Not sure when it was added. But carry on!

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created August 2, 2023 at 10:06 AM
Updated August 3, 2023 at 1:56 PM
Resolved August 3, 2023 at 1:56 PM