This is the table that I need to create via. JPA:
CREATE TABLE IF NOT EXISTS public.employee
(
id character varying(256) COLLATE pg_catalog."default" NOT NULL,
"employeeData" jsonb,
"categoryIds" character varying(256)[] COLLATE pg_catalog."default"
)
However there is no straight forward way that I could find. @ElementCollectible relies on join table and I don't want to use that.
My understanding might be incorrect or partial as I am new to JPA.