Hi all, some time ago I tried removing the GenericDao, upgrading the hibernate+spatial version (see https://github.com/geoserver/geofence/issues/255). It was a successful proof of concept, but it was applied on an old code base. I can try cherry picking the changes on the current main branch. I'll let you know how it goes.
Cheers, Emanuele On Wed, Feb 21, 2024 at 9:56 AM Andrea Aime < andrea.a...@geosolutionsgroup.com> wrote: > On Wed, Feb 21, 2024 at 12:32 AM Jody Garnett <jody.garn...@gmail.com> > wrote: > >> Is there a problem updating content from one version of hibernate to the >> next? >> > > Yes, it's a web of dependencies, I don't know all the details (Emanuele > please help here) > but updating Hibernate leads to other issues, as GeoFence uses Hibernate > spatial > and generic-dao, the latter is dead, hibernate spatial was folded into > Hibernate but lost the ability to > read/write on H2 v1.x spatialized databases, which is the default storage > for rules... meaning > an upgrade path also needs to be provided there. Long story short, it's > long and complicated. > > See also the rejected GSIP 216 > <https://github.com/geoserver/geoserver/wiki/GSIP-216>, which took a > month worth of work to implement. Now that's a wholesale rewrite > with many more changes, but it should give you some perspective on the > effort should one stop at the "simple" library upgrade. > > Cheers > Andrea > > == > > GeoServer Professional Services from the experts! > > Visit http://bit.ly/gs-services-us for more information. > == > > Ing. Andrea Aime > @geowolf > Technical Lead > > GeoSolutions Group > phone: +39 0584 962313 > > fax: +39 0584 1660272 > > mob: +39 339 8844549 > > https://www.geosolutionsgroup.com/ > > http://twitter.com/geosolutions_it > > ------------------------------------------------------- > > Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE > 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si > precisa che ogni circostanza inerente alla presente email (il suo > contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è > riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il > messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra > operazione è illecita. Le sarei comunque grato se potesse darmene notizia. > > This email is intended only for the person or entity to which it is > addressed and may contain information that is privileged, confidential or > otherwise protected from disclosure. We remind that - as provided by > European Regulation 2016/679 “GDPR” - copying, dissemination or use of this > e-mail or the information herein by anyone other than the intended > recipient is prohibited. If you have received this email by mistake, please > notify us immediately by telephone or e-mail > _______________________________________________ > Geoserver-devel mailing list > Geoserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-devel > -- Regards, Emanuele Tajariol == GeoServer Professional Services from the experts! Visit http://bit.ly/gs-services-us for more information. == Ing. Emanuele Tajariol Technical Lead GeoSolutions Group mobile: +39 347 7895230 office: +39 0584 962313 fax: +39 0584 1660272 https://www.geosolutionsgroup.com/ http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel