vladmihalcea/hypersistence-utils

Add support of PostgreSQL types in PostgreSQL array

オープン

#311 opened on 2021/04/11

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)Java (399 件のフォーク)batch import
help wantedrequires investigation

Repository metrics

Stars
 (2,666 個のスター)
PR merge metrics
 (平均マージ 9d 17h) (30d で 1 merged 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

コントリビューターガイド