tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gchauvet <gchau...@zatarox.com>
Subject Re: [ejb][restful] Customize JSON/XML generation
Date Tue, 02 Aug 2016 08:06:15 GMT
I've a class not found exception without pushing javax.json-api or
geronimo-json [1]. Both works.
But I'm facing to a new behaviour with jonhzon. I get this result for an
Embeddable entity :

"immatriculation": {
      "SIREN": "41983072400037",
      "tiCodsir": "41983072400037"
    }

This is because SIREN is a entity field and tiCodSir target the old not
renamed "SIREN" accessors.
Who can I force Jonhzon to use field level access to get data ?

[1] JSON API is provided by TomEE classpath, why I need to define it ?



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/ejb-restful-Customize-JSON-XML-generation-tp4679564p4679575.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message