Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nosql-dev] are jakarta.nosql.ValueReader & ValueWriter stillrelevant?

Hey Werner, how are you?

Those are on review:




On Mon, Feb 27, 2023 at 4:23 PM Werner Keil <werner.keil@xxxxxxx> wrote:

 

 

Gesendet von Mail für Windows

 

Von: Dmitry Repchevsky via nosql-dev
Gesendet: Montag, 27. Februar 2023 17:03
An: nosql developer discussions
Cc: Dmitry Repchevsky
Betreff: [nosql-dev] are jakarta.nosql.ValueReader & ValueWriter stillrelevant?

 

Hello,

 

I got an error on my custom jakarta.nosql.ValueReader (aka

https://www.jnosql.org/spec/#_create_custom_writer_and_reader).

 

> java.lang.UnsupportedOperationException: The type class

> es.bsc.inb.ga4gh.beacon.nosql.MeasurementValueEntity is not supported yet

> at

> org.eclipse.jnosql.communication.ValueReaderDecorator.lambda$read$2(ValueReaderDecorator.java:56)

> at java.base/java.util.Optional.orElseThrow(Optional.java:408)

> at

> org.eclipse.jnosql.communication.ValueReaderDecorator.read(ValueReaderDecorator.java:55)

> org.eclipse.jnosql.communication.DefaultValue.get(DefaultValue.java:46)

> org.eclipse.jnosql.mapping.reflection.AbstractFieldMapping.value(AbstractFieldMapping.java:107)

> org.eclipse.jnosql.mapping.reflection.DefaultFieldMapping.value(DefaultFieldMapping.java:26)

> org.eclipse.jnosql.mapping.document.FieldConverter$4.convert(FieldConverter.java:114)

> org.eclipse.jnosql.mapping.document.DocumentEntityConverter.lambda$feedObject$5(DocumentEntityConverter.java:160)

I noticed that the META-INF/services has changed in the

"jnosql-communication-core":

 

https://github.com/eclipse/jnosql/tree/main/jnosql-communication/jnosql-communication-core/src/main/resources/META-INF/services

https://github.com/eclipse/jnosql/tree/1.0.0-b4/communication/communication-core/src/main/resources/META-INF/services

 

from "jakarta.nosql.ValueReader" to

"org.eclipse.jnosql.communication.ValueReader".

 

Does this mean that I cannot use "jakarta.nosql.ValueReader" anymore?

 

Is there any other way to provide a "standard" (without using

"org.eclipse.*") custom serializer/deserializer?

 

Kind regards,

 

Dmitry

 

> P.S. I confess that with so many changes between b4 & b5 I am a bit lost :-)

 

That’s why there should have been, or should still be a plan review by the Spec Committee ;-)

 

 

Werner

 

_______________________________________________

nosql-dev mailing list

nosql-dev@xxxxxxxxxxx

To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/nosql-dev

 

_______________________________________________
nosql-dev mailing list
nosql-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/nosql-dev


--
Otávio Santana

Back to the top