[hibernate-dev] [feature request][discuss] smoother serializers integration?

2017-04-19 Thread Romain Manni-Bucau
e wouldn't be responsible for: cycles. If relationships are bidirectional then the unproxied entity would still "loop" if you browse the object graph - this responsability would stay in the consumer since it doesn't depend on hibernate directly but more on a plain object handl

[hibernate-dev] [feature request][discuss] smoother serializers integration?

2017-04-19 Thread Romain Manni-Bucau
t; I don't want to advertise too much, just wanted to say that I had the > same issues over and over which is why I started that project. > > Mit freundlichen Gr??en, > > *Christian Beikov* > Am 19.04.2017 um 10:51 schrieb Romain Manni-Bucau: >

Re: [hibernate-dev] [feature request][discuss] smoother serializers integration?

2017-05-04 Thread Romain Manni-Bucau
browse the model) would be smoother than a specific integration. I also think spring (and its trendy boot flavor) does that kind of thing through spring-data-rest. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Blog <h

Re: [hibernate-dev] [feature request][discuss] smoother serializers integration?

2017-05-04 Thread Romain Manni-Bucau
ch, just wanted to say that I had > the > >> >>>> same issues over and over which is why I started that project. > >> >>>> > >> >>>> Mit freundlichen Grüßen, > >> >>>> > >> --

Re: [hibernate-dev] [feature request][discuss] smoother serializers integration?

2017-05-04 Thread Romain Manni-Bucau
> *Christian Beikov* > Am 04.05.2017 um 16:32 schrieb Romain Manni-Bucau: > > Few more points: > > 1. Dto dont help at any moment - or you put that logic in the conversion > and you are back to start > 2. Making jaxb/jsonb easy to integrate is the goal IMO

Re: [hibernate-dev] [feature request][discuss] smoother serializers integration?

2017-05-04 Thread Romain Manni-Bucau
can only try to create a minimal DTO that has exactly > > the fields you want to be serialized or annotate your existing entities > > with those "ignore" annotations and hope for the best. I don't see how > > hibernate could or should help in any of the two cases. >

Re: [hibernate-dev] [feature request][discuss] smoother serializers integration?

2017-05-04 Thread Romain Manni-Bucau
a need. > > Mit freundlichen Grüßen, > -- > *Christian Beikov* > Am 04.05.2017 um 18:00 schrieb Romain Manni-Bucau: > > > > 2017-05-04 17:33 GMT+02:00 Steve Ebersole : > >> What exactly would this "utility one level further tha

Re: [hibernate-dev] [feature request][discuss] smoother serializers integration?

2017-05-04 Thread Romain Manni-Bucau
olymorphic reference that might be an entity, a > persistent attribute, a "collection element", etc. > Would need to see it in a more concrete version but sounds tempting, would it integrate a visitor - handling cycles? > > > On Thu, May 4, 2017 at 11:46 AM Romain Manni-B

Re: [hibernate-dev] [feature request][discuss] smoother serializers integration?

2017-05-04 Thread Romain Manni-Bucau
ferent forms. >> >> And yes, Navigable will define visitor-based navigation. Hence the name ;) >> >> On Thu, May 4, 2017, 12:18 PM Romain Manni-Bucau >> wrote: >> >>> 2017-05-04 19:16 GMT+02:00 Steve Ebersole : >>>