Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5y3ArhRbakfu1ELsP
16 lines
547 B
Plaintext
16 lines
547 B
Plaintext
# hibernate.type.prefer_native_enum_types on plain @Enumerated(STRING)
|
|
# Hibernate ORM 7.4.17.Final, H2 2.4.240 and PostgreSQL 18.6, JDK 25
|
|
|
|
== H2
|
|
-- prefer_native_enum_types=false
|
|
column type: ENUM
|
|
-- prefer_native_enum_types=true
|
|
column type: ENUM
|
|
|
|
== PostgreSQL 18
|
|
-- prefer_native_enum_types=false
|
|
column type: character varying(255)
|
|
check: CHECK (((status)::text = ANY ((ARRAY['NEW'::character varying, 'PAID'::character varying, 'SHIPPED'::character varying])::text[])))
|
|
-- prefer_native_enum_types=true
|
|
column type: statusv1
|