You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by Jaco Vermeulen <ja...@bbdsoftware.com.INVALID> on 2022/12/05 08:57:15 UTC

Postgres Array data type with Olingo V4

Good Day

I am a Software Engineer working with Olingo V4 and JPA and Hibernate
I am dealing with a text[] type data in a PostgreSQL database and I am getting an error stating that the type is not supported


"error": {"code": null,"message": "com.sap.olingo.jpa.metadata.core.edm.mapper.exception.ODataJPAModelException: Type 'java.util.List' of attribute 'rn' is not supported. Mapping not possible. If 'java.util.List' is an enumeration, check if related package is provided."}

I was wondering if perhaps there is a workaround for this or if there perhaps some one who could provide some support on this issue?

Regards,

Jaco Vermeulen

RE: Postgres Array data type with Olingo V4

Posted by "Grande, Oliver" <ol...@sap.com.INVALID>.
Hello Jaco,

in case you face a problem with the JPA Processor, you need to open an issue on https://github.com/SAP/olingo-jpa-processor-v4/. 

In advanced: An analyses of you problem would require some more details. Beside the version of the JPA Processor, an abstract of the JPA entity causing the problem is required.

Regards,
Oliver


-----Original Message-----
From: Jaco Vermeulen <ja...@bbdsoftware.com.INVALID> 
Sent: Montag, 5. Dezember 2022 09:57
To: dev@olingo.apache.org
Subject: Postgres Array data type with Olingo V4

[Sie erhalten nicht häufig E-Mails von jacover@bbdsoftware.com.invalid. Weitere Informationen, warum dies wichtig ist, finden Sie unter https://aka.ms/LearnAboutSenderIdentification ]

Good Day

I am a Software Engineer working with Olingo V4 and JPA and Hibernate
I am dealing with a text[] type data in a PostgreSQL database and I am getting an error stating that the type is not supported


"error": {"code": null,"message": "com.sap.olingo.jpa.metadata.core.edm.mapper.exception.ODataJPAModelException: Type 'java.util.List' of attribute 'rn' is not supported. Mapping not possible. If 'java.util.List' is an enumeration, check if related package is provided."}

I was wondering if perhaps there is a workaround for this or if there perhaps some one who could provide some support on this issue?

Regards,

Jaco Vermeulen