vladmihalcea/hypersistence-utils

Add support of PostgreSQL types in PostgreSQL array

开放

#311 创建于 2021年4月11日

 (4 条评论) (0 个反应) (0 位负责人)Java (399 个派生)batch import
help wantedrequires investigation

仓库指标

星标
 (2,668 个星标)
PR 合并指标
 (平均合并 9天 17小时) (30 天内合并 1 个 PR)

描述

For example, there is a following DTO in PostgreSQL:

create table email
(
    account_id varchar(100),
    id varchar(100),
    recipients recipient[],
    subject varchar(100),
    content varchar(100)
);
create type recipient as
(
    email text,
    name  text
);

There is an option to use PostgreSQL array: https://vladmihalcea.com/postgresql-array-java-list/

But there is no option to use in PostgreSQL array custom types.

With Regards

贡献者指南